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