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.

AM62A3: Can I use YUV422 video input over CSI?

Part Number: AM62A3

We want to bring YUV422 video into the AM62A through the CSI-2 port.  In this case the TRM states the following:

 

So, normally the VISS would convert non-YUV data into YUV420 into a YUV type format for the rest of the system, but it cannot ingest YUV data itself.  Our data will come in as YUV422 and be written directly to memory as YUV422.

 

However, the TI FAQ page about encoder formats: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1222753/faq-am62a7-video-encode-decode-formats-and-use-cases, lists the following encoder compatible video formats, which does not include YUV422:

Input formats that Encoders support are:

  • V4L2_PIX_FMT_YUV420
  • V4L2_PIX_FMT_NV12
  • V4L2_PIX_FMT_NV21
  • V4L2_PIX_FMT_YUV420M
  • V4L2_PIX_FMT_NV12M
  • V4L2_PIX_FMT_NV21M

If the VISS cannot ingest YUV data, then that includes our YUV422 data and we can’t convert it from YUV422, to YUV420.  Without converting it to YUV420, the encoders can’t accept it.

 

Maybe I’m missing something here, but it seems that there isn’t a path to input YUV422 data in and encode it?  Please tell me I’m wrong.

  • Hi Brad,

    Encoder would expect the data to be in the formats provided in the FAQ.

    If customer is trying to pass YUV422 then they can try to use tiovxldc or tiovxdlcolorconvert in order to convert the data to YUV420/NV12 so encoder can encode the data.

    Also the LDC component in the VPAC supports conversion from YUV422 8-bit to YUV420 8-bit as mentioned in the TRM

    Furthermore, I found this in our TRM:

    Please refer: https://github.com/TexasInstruments/edgeai-gst-plugins 

    Hope this helps.

    Best Regards,

    Suren