Hi,
I have a question about i.MX7 MIPI - CSI.
In the reference manual (i.MX 7 Dual Applications Processor Reference Manual Rev 1)
13.3 CMOS Sensor Interface (CSI)
"· Full control of 8-bit / pixel, 10-bit / pixel or 16-bit / pixel data format to 64-bit receive FIFO packing."
Although it is described, since RGB888 is 24-bit / pixel, does not it correspond?
The functions I use are as follows
V4L2
↓
CSI
↓
MIPI-CSI 2
When I looked at the CSI driver of IMX 7, there was no implementation of RGB 888.
/drivers/media/platform/mxc/subdev/mx6s_capture.c
static struct mx6s_fmt formats[] = {
{
.name = "UYVY-16",
.fourcc = V4L2_PIX_FMT_UYVY,
.pixelformat = V4L2_PIX_FMT_UYVY,
.mbus_code = MEDIA_BUS_FMT_UYVY8_2X8,
.bpp = 2,
}, {
.name = "YUYV-16",
.fourcc = V4L2_PIX_FMT_YUYV,
.pixelformat = V4L2_PIX_FMT_YUYV,
.mbus_code = MEDIA_BUS_FMT_YUYV8_2X8,
.bpp = 2,
}, {
.name = "YUV32 (X-Y-U-V)",
.fourcc = V4L2_PIX_FMT_YUV32,
.pixelformat = V4L2_PIX_FMT_YUV32,
.mbus_code = MEDIA_BUS_FMT_AYUV8_1X32,
.bpp = 4,
}, {
.name = "RAWRGB8 (SBGGR8)",
.fourcc = V4L2_PIX_FMT_SBGGR8,
.pixelformat = V4L2_PIX_FMT_SBGGR8,
.mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8,
.bpp = 1,
}
};
I tried to implement whether RGB888 can be used for testing.
It seemed that the data that can be acquired was aligned to 32 bits. (0 is packed in RGB888)
I hope 0 can capture unpacked data, but I want to know if that is possible.
Thank you.
已解决! 转到解答。
Hi ko-za
additionally packing can be performed in pxp, as described in
sect.13.7.9.3.3 Data Packing i.MX7D Reference Manual, tests are in
/pxp_v4l2_test:
pxp_v4l2_test\test - imx-test - i.MX Driver Test Application Software
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi ko-za
additionally packing can be performed in pxp, as described in
sect.13.7.9.3.3 Data Packing i.MX7D Reference Manual, tests are in
/pxp_v4l2_test:
pxp_v4l2_test\test - imx-test - i.MX Driver Test Application Software
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------