Hi All: We are using preview engine to RGB ==> YUV, CMOS Sensor is MT9T001,
The Pixel Color Pattern is: G R ... B G ... We capture the raw data is (full red bar): 00 00 FF 03 00 00 FF 03 ... 00 00 00 00 00 00 00 00... 00 00 FF 03 00 00 FF 03 ... 00 00 00 00 00 00 00 00... But the preview enginee output data is : 80 00 80 FE 80 00 80 FE ... // right color data: red 80 00 80 00 80 00 80 00 ... // error color data: green 80 00 80 FE 80 00 80 FE ... // right color data: red 80 00 80 00 80 00 80 00 ... // error color data: green Our init. previewer engine step is: 1, set AVE register: 0x14 2, set WB_DGAIN : 0x100 3, set WBGAIN : 0x20202020 4, set WBSEL : 0 5, set CSC0, CSC1, CSC2 value same as: preview_example.c in DVSDK 6, set contrast = 0x10; brightness = 0; 7, Set pixel width 10 bit, one shot mode, input source:SDRAM 8, set output format is :CbYCrY 9, set address for read and write, offset Do we miss some step? and How does the preview engine know the Pixel Color Pattern ? Thanks. Jack _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
