Hi:
哪位仁兄能指点在下,我们项目使用DM6467芯片,通过2片TVP5147进行图像采集,linux内核是2.6.32,使用TI的SDK进行图像采集。
1片TVP5147地址为0X5D,为ch0通道,接低8位VPIF口;另一片TVP5147地址为0X5C,为ch1通道,接高8位VPIF。
ch0通道采集视频采集视频,TS流播放后是正确的。但ch1通道采集视频采集视频,TS流播放后是不正确的,而且发现空采集就有大量的数据。
感觉配置驱动有问题,希望哪位帮我看看。我配置的驱动如下:
static struct vpif_subdev_info vpif_capture_sdev_info[] = {
{
.name = TVP5147_CH0,
.board_info = {
I2C_BOARD_INFO("tvp5146", 0x5d),
.platform_data = &tvp5146_pdata,
},
//.input = INPUT_CVBS_VI2B,
//.output = OUTPUT_10BIT_422_EMBEDDED_SYNC,
//.can_route = 1,
.vpif_if = {
//.if_type = VPIF_IF_BT656,
.if_type = VPIF_IF_BT1120,
.hd_pol = 1,
.vd_pol = 1,
.fid_pol = 0,
},
},
{
.name = TVP5147_CH1,
.board_info = {
I2C_BOARD_INFO("tvp5146", 0x5c),
.platform_data = &tvp5146_pdata,
},
//.input = INPUT_CVBS_VI2B,
//.output = OUTPUT_10BIT_422_EMBEDDED_SYNC,
//.can_route = 1,
.vpif_if = {
//.if_type = VPIF_IF_BT656,
.if_type = VPIF_IF_BT1120,
.hd_pol = 1,
.vd_pol = 1,
.fid_pol = 0,
},
},
};
是不是哪里设置有错误呀??????