I.MX8QXP ISI input source

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I.MX8QXP ISI input source

943 Views
xu_ji1
Contributor V

Dears,

I have a question,If the camera sensor output image format is RAW,does I.MX8QXP ISI support the RAW image and processing it to YUV image?

Thanks

0 Kudos
3 Replies

584 Views
PLIU168
Contributor II

@joanxie 

The IMX8MPRM  ISI about P5267 says:

"• Input source will be converted to and processed by the processing pipeline
as YUV444 or RGB."   

So what Input source are supported?   Does  the camera sensor input  over MIPI have to be certain formats?

I saw the CAPTURE driver queries Sensor driver and convert the format by the following code:

/*
* Pixel link input format
*/
struct mxc_isi_fmt mxc_isi_src_formats[] = {
{
.name = "RGB32",
.fourcc = V4L2_PIX_FMT_RGB32,
.depth = { 32 },
.memplanes = 1,
.colplanes = 1,
}, {
.name = "YUV32 (X-Y-U-V)",
.fourcc = V4L2_PIX_FMT_YUV32,
.depth = { 32 },
.memplanes = 1,
.colplanes = 1,
}
};

 

 

struct mxc_isi_fmt *mxc_isi_get_src_fmt(struct v4l2_subdev_format *sd_fmt)
{
u32 index;

/* two fmt RGB32 and YUV444 from pixellink */
if (sd_fmt->format.code == MEDIA_BUS_FMT_YUYV8_1X16 ||
sd_fmt->format.code == MEDIA_BUS_FMT_YVYU8_2X8 ||
sd_fmt->format.code == MEDIA_BUS_FMT_AYUV8_1X32 ||
sd_fmt->format.code == MEDIA_BUS_FMT_UYVY8_2X8 ||
sd_fmt->format.code == MEDIA_BUS_FMT_YUYV8_2X8)
index = 1;
else
index = 0;
return &mxc_isi_src_formats[index];
}

 But our AR0234 uses MEDIA_BUS_FMT_SBGGR8_1X8,  the output image is duplicated and half height as the attached picture. And the width and height were set correctly in the register,  Any suggestion?

We can provide more information and trace upon request.

test31A.jpg

Thanks,

Tony

 

Tags (1)
0 Kudos

770 Views
joanxie
NXP TechSupport
NXP TechSupport

refer to the imx8x reference manual:

tream Manipulation Features
• Supported Pixel Formats when storing image into memory
• RAW8, RAW10, RAW12, RAW16
• RGB888, BGR888, RGB565, RGB 10-bit, BGR 10-bit
• YUV444, YUV422, YUV420 (8-bit, 10-bit, 12-bit)
• Plus more formats listed in the description of FORMAT field in the
channel's IMG_CTRL register

0 Kudos

770 Views
xu_ji1
Contributor V

Hello,

This means • Supported Pixel Formats when storing image into memory

below image format is only output format or both output and input format?

Pls give detail reply.

Thanks

0 Kudos