This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

dm6446 VPFE图像格式改变



DM6446 VPFE能支持cmos四种格式:CIF,VGA,HD720,HD1080,但动态改变图像格式会导致驱动报错。

比如, 当前正在捕获VGA,通过ioctl:VIDIOC_STREAMOFF停止视频,然后,配置FMT为HD720,通过

ioctl:VIDIOC_STREAMON打开视频,驱动会报错:StartStreaming:ioctl:VIDIOC_STREAMON:: Input/output error;

如果关闭capture device,再打开,驱动会报权限错误。图像帧存3帧,1920x1080X2;

应该如何配置驱动,才能完成动态改变图像格式的功能?那有这种例程?