现在想用DM6437采集CMOS的RAW RGB格式图像,数据通路是Sensor->CCDC->Previewer,但目前遇到一个问题无法解决
if(status==0){
PSP_previewerChannelCreateMode prevChannel; prevChannel.chanSource.source = PSP_PREVIEWER_CHANNEL_SDRAM;
prevChannel.segId = 0;
prevHandle= GIO_create("/previewer",IOM_INOUT,NULL,&prevChannel,&gioAttrs);
status = (prevHandle == NULL ? -1 : 0);
}
if(status==0){
GetPreviewerParams(&PrevConfigParams);
if(IOM_COMPLETED!= GIO_control(prevHandle, PSP_PREVIEWER_IOCTL_SET_PARAMS, &PrevConfigParams))
{
status=-1;
}
}
当通过GIO_control对previewer进行配置时,一直无法成功,麻烦各位大牛分析分析到底是怎么回事儿
yu feng:
求教,求教