Part Number: AM62A3
Tool/software:
Hi,
I have a sensor with in-built ISP which can give out YUV422 (by default) and YUV420.
Now my question is, does CSI2RX accepts YUV420?
If so, what is the media bus format i should define in my sensor driver?
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.
Part Number: AM62A3
Tool/software:
Hi,
I have a sensor with in-built ISP which can give out YUV422 (by default) and YUV420.
Now my question is, does CSI2RX accepts YUV420?
If so, what is the media bus format i should define in my sensor driver?
Hello Sathiya,
The CSI-2 RX HW IP accepts YUV420 (8-bit or 10-bit), but the SW driver in current SDK does not support this format. Please refer to the driver code here: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c?h=ti-linux-6.1.y#n138.
Regards,
Jianzhong
I don't have at this moment. Which sensor are you using, if you don't mind sharing?
Hi Jianzhang Xu,
I am using AR051 sensor with in-built ISP AP-1302. So, the in-built ISP is capable of giving YUV420.
The main reason i need YUV420 is because of the h264 encoder, which accepts only YUV420. And also i don't need to use tiovxldc to convert YUV422 to YUV420 as it affect the deep sleep and wakeup.
e2e.ti.com/.../am62a3-deep-sleep-is-giving-error-in-sdk-9-2
Thanks for the background.
It is not a trivial thing to add YUV420 support in the CSI2 Rx driver. There is a GStreamer plugin, ticolorconvert, which can convert YUV422 to YUV420.
You may want to consider that.