硬件平台:S5PV210 + 800*480的LCD
软件平台:WinCE6.0
问题描述:
tvp5150一边接模拟摄像头,另一边接到S5PV210 Camera A控制器;用三星提供的Camera_App.exe来测试;
#define TVP5150A_MODULE_ITUXXX CAM_ITU656 #define TVP5150A_MODULE_INTERLACE 0 #define TVP5150A_MODULE_MIPI (FALSE) #define TVP5150A_MODULE_YUVORDER CAM_ORDER_CBYCRY #define TVP5150A_MODULE_HSIZE 720 #define TVP5150A_MODULE_VSIZE 288 #define TVP5150A_MODULE_HOFFSET 0//100 #define TVP5150A_MODULE_VOFFSET 0//50 #define TVP5150A_MODULE_UVOFFSET CAM_UVOFFSET_0 #define TVP5150A_MODULE_CLOCK 27000000 #define TVP5150A_MODULE_CODEC CAM_FORMAT_YCBYCR422_1PLANE//CAM_FORMAT_CBYCRY422_1PLANE #define TVP5150A_MODULE_HIGHRST 1 // This is affected by Electic circuit for reset or power control PIN, BB37->0, SMDK->1 #define TVP5150A_MODULE_INVPCLK 1 #define TVP5150A_MODULE_INVVSYNC 0 #define TVP5150A_MODULE_INVHREF 0
题搞定,确实是因为制式的问题,改成NTSC制式就可以了
附上tvp5150的配置:嵌入式LED显示屏控制系统应用研究
#define TVP5150A_MODULE_ITUXXX CAM_ITU656 #define TVP5150A_MODULE_INTERLACE 0 #define TVP5150A_MODULE_MIPI (FALSE) #define TVP5150A_MODULE_YUVORDER CAM_ORDER_CBYCRY #define TVP5150A_MODULE_HSIZE 720 #define TVP5150A_MODULE_VSIZE 240//288 #define TVP5150A_MODULE_HOFFSET 0//100 #define TVP5150A_MODULE_VOFFSET 0//50 #define TVP5150A_MODULE_UVOFFSET CAM_UVOFFSET_0 #define TVP5150A_MODULE_CLOCK 27000000 #define TVP5150A_MODULE_CODEC CAM_FORMAT_CBYCRY422_1PLANE #define TVP5150A_MODULE_HIGHRST 0 // This is affected by Electic circuit for reset or power control PIN, BB37->0, SMDK->1 #define TVP5150A_MODULE_INVPCLK 1 #define TVP5150A_MODULE_INVVSYNC 0 #define TVP5150A_MODULE_INVHREF 0