This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to using preview_example in DVSDK ?

Hi All:

I want to do a RGB ==> YUV with preview engine, in DVSDK, there is a example for preview,

the input raw data is: bayerimage.h, I change the raw data as:

255, 0 , 255, 0...

0,    0 ,  0   ,  0...

255, 0 , 255, 0...

0,    0 ,  0   ,  0...

The color pattern is:

R,  G,  R,  G ...

G,  B,  G,  B ...

So the input color is RED for this pattern.

 

But after run preview_example, I using a tools to view the output file: out.YUV,

Its not a RED picture!

 

Does anyone can tell me how to using the preview_example ?

and how to get a correct result ?

 

Thanks.

 

Jack