Hi,
I am working on UYUY pixcel format, Does the UYVY pixcel format is supported in IMX8MM ?
Regards
Santhosh Kumar S
imx8mm csi, vpu and GPU can support this
I dont' know how did you add this, don't forget add this format in the #define, and mx6s_capture.c already have this:
{ .name = "UYVY-16", .fourcc = V4L2_PIX_FMT_UYVY, .pixelformat = V4L2_PIX_FMT_UYVY, .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8, .bpp = 2, },
maybe you need add in the "mx6s_configure_csi"
{ .name = "UYVY-16", .fourcc = V4L2_PIX_FMT_UYVY, .pixelformat = V4L2_PIX_FMT_UYVY, .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8, .bpp = 2, },
This is already in the mx6s_capture.c code
Since the MIPI bridge IC that I am using support only UYVY8_1X16 and RGB888_1X24
{
.name = "YUV 4:2:2 packed, CbYCrY", /*Added by santhosh */
.fourcc = V4L2_PIX_FMT_UYVY,
.pixelformat = V4L2_PIX_FMT_UYVY,
.mbus_code = MEDIA_BUS_FMT_UYVY8_1X16,
.bpp = 2, /*4,*/ /*8x2=16bpp*/
}
{
.name = "RGB888 (R-G-B-3)", /*"xBGR32",*/ /*Added by santhosh*/ /*Note: Ref TC9590XBG datasheet page 33*/
.fourcc = V4L2_PIX_FMT_RGB24, /*V4L2_PIX_FMT_XBGR32,*/ /*https://community.nxp.com/message/1336744*/
.pixelformat = V4L2_PIX_FMT_RGB24, /*V4L2_PIX_FMT_XBGR32,*/
.mbus_code = MEDIA_BUS_FMT_RGB888_1X24,
.bpp = 4,//3, /*Added by santhosh bpp=3 is tested and not to be changed for RGB888_1X24*/
}
But i am not able to determine why the video is multiple times produced on the screen (Screen shot attached)
how about using the command "v4l2-ctl --list-format"? I found we have imx8mm issue on UYVY and I found patch for this, maybe you can refer to them:
https://source.codeaurora.org/external/imx/linux-imx/commit/?h=imx_4.19.35_1.0.0&id=6de690dd4e78b1bf...