Other Parts Discussed in Thread: OMAP3530, TVP5146
Hello,
I'm using the http://processors.wiki.ti.com/index.php/UserGuideOmap35xCaptureDriver_PSP_03.00.00.04 web page to guide me on using the capture driver with my omap3530 and it says there that there are currently two formats available:
"The driver supports only two pixel form at -8-bit UYVY interleaved and 8-bit YUYV interleaved. "
There is even a code for using the YUYV format:
struct v4l2_fmtdesc fmt;
i = 0;
while(1) {
fmt.index = i;
ret = ioctl(fd, VIDIOC_ENUM_FMT, &fmt);
if (ret < 0)
break;
printf("description = %s\n",fmt.description);
if (fmt.type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
printf("Video capture type\n");
if (fmt.pixelformat == V4L2_PIX_FMT_YUYV)
printf("V4L2_PIX_FMT_YUYV\n");
i++;
}
/* List of image formats supported by TVP5146/47 decoder
* Currently we are using 8 bit mode only, but can be
* extended to 10/20 bit mode.
*/
static const struct v4l2_fmtdesc tvp514x_fmt_list[] = {
{
.index = 0,
.type = V4L2_BUF_TYPE_VIDEO_CAPTURE,
.flags = 0,
.description = "8-bit UYVY 4:2:2 Format",
.pixelformat = V4L2_PIX_FMT_UYVY,
},
};
I am using the OMAP35x-PSP-SDK-02.01.03.11 kernel.
My problem is that I use a software that currently only supports YUYV format. Is there any other tvp514x.c that supports YUYV?
Thank you,
Carlos Castro