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.

In DM365, Can Video Encoder(VENC) convert YUV input to RGB888 for displaying?

Hi,

We are using TI tms320dm365 evm.

For our use case, we want to send RGB888 data to display.

But our  input to Video Encoder (VENC) will be in YUV format.

So, VENC is capable to convert the YUV format data to RGB888 and send it to display?

If yes then please suggest configurations and register settings that need to be done.

Thanks.

  • Hi,
    Video Encoder takes YUV as input and gives 264 bitstream. And if you enable recon YUV of encoder, it will give YUV only. converting YUV RGB is the display driver responsibilty.

    Thanks,
  • Hi,
    Thanks for your reply.

    But here Video Encoder (VENC) is in terms of module in Video Processing Back End (VPBE) which is responsible for displaying.
    It is having interface to output display.

    Not any encoder that converts raw data to encoded data.

    So, VENC in Video Processing Back End is capable to convert the YUV format data to RGB888 and send it to display?
  • Hi,

     Video Encoder uses HDVICP not VPBE. Can you please have look at eaxmples provided in DVSDK or RDK? There you can find which module is getting used encoding and displaying.

    Thanks,

    Veeranna

  • Hi Veeranna,

    We are not referring to h264, mjpeg codecs.

    Below is snippet form DM365 data sheet:

    --------------------------------------------------------------

    6.12.2 Video Processing Back-End (VPBE)
    The Video Processing Back-End of VPBE module is comprised of the On Screen Display (OSD) module
    and the Video Encoder / Digital LCD Controller (VENC/DLCD).

    ..

    6.12.2.2 Video Encoder / Digital LCD Controller (VENC/DLCD)

    ---------------------------------------------------------------

    We are referring to this VPBE-VENC or say VPBE-DLCD.

    We are going to connect an LCD(takes RGB888 input) to our Video Display port.

    Now say we want to display a video on the LCD.

    1. We will have .264 video. We will decode using h264 decoder.

    2. H264 decoder will give a yuv420 frame.

    3. Now we want to display this frame on LCD.

    In datasheet(section 6.12.2.2) it is mentioned that digtal LCD controller in VPBE  supports "Parallel RGB 16/18/24-bit" output.

    For our case we will configure it to Parallel RGB 24 bit.

    So question is does application need to convert from yuv420 to RGB888 format and then write to frame buffer ?

    Or since we have configured VPBE-DLCD to give RGB 24 bit output so it will do the conversion from yuv420 to RGB888 ?

    Regards,

    Pankil