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.

OMAP35x Evaluation Module 平台使用V4L2能否实现scaling功能?

目前我按照以下文档的方法,在OMAP35x Evaluation Module平台,使用V4L2驱动想实现RGB格式的scaling功能,但测试下来,发现无法放大,只有剪切的功能。并且运行PSP中的例子程序 saScalingDisplay也没能够Scale。

processors.wiki.ti.com/.../UserGuideDisplayDrivers_PSP_03.00.00.05


struct v4l2_format fmt; struct v4l2_crop crop; /* Changing display window size to 200x200 */ fmt.type = V4L2_BUF_TYPE_VIDEO_OVERLAY; fmt.fmt.win.w.left = 0; fmt.fmt.win.w.top = 0; fmt.fmt.win.w.width = 200; fmt.fmt.win.w.height = 200; ret = ioctl(fd, VIDIOC_S_FMT, &fmt); if (ret < 0) { perror("VIDIOC_S_FMT\n"); close(fd); exit(0); } /* Changing crop window size to 400x400 */ crop.type = V4L2_BUF_TYPE_VIDEO_OUTPUT; crop.c.left = 0; crop.c.top = 0; crop.c.width = 400; crop.c.height = 400; ret = ioctl(fd, VIDIOC_S_CROP, &crop); if (ret < 0) { perror("VIDIOC_S_CROP\n"); close(fd); exit(0); } /* Image should be now scaled by factor 2 */


请问此平台通过V4L2能否实现RGB格式的Scale功能?谢谢!