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.

HDVICP supported input formats

Other Parts Discussed in Thread: TVP7002

Hello,

It is stated in DM814x data sheet that the HDVPSS is able to capture 16/24-bit (YCbCr/RGB) video inputs. But, HDVICP2 only supports YUV422/420 for video encoding. However, the TI gstreamer and OpenMax libraries have some parameters for H.264 encoding in high-profile (YUV 4:4:4). I wonder if we can capture and encode in 24-bit RGB/YUV formats using the current SDK or it will be supported in the future release of SDK.

Thanks,

Mohammad

  • Hi,

    Its not possible to capture in YUV444 mode. Further its possible to encode in RGB888 mode. Any specific requirement to encode in RGB888 or YUV444 mode?

    Regards,

    Hardik Shah

  • Hello Hardik,

    Thanks a lot for your response. Our main requirement is to capture and encode 1080p-60fps, without downsampling, i.e., either YUV444 or RGB888 formats. Is DM814x able to do this?

    Regards,

    Mohammad

  • Please do tell us about encoding RGB888. I would be smiling...

    -Herb

  • No,

    Its not possible to capture RGB444 with HDVPSS. And RGB888 encoding is not possible.

    Regards,

    Hardik Shah

  • Hi Hardik

    I checked the library of Openmax inside EZSDK, and in the omx_vfcc.h file I found this:

    typedef enum OMX_VIDEO_CAPTURE_HWPORT_VIF_MODE
    {
      OMX_VIDEO_CaptureVifModeUnused = 0x00000000,
      OMX_VIDEO_CaptureVifMode_08BIT,
      OMX_VIDEO_CaptureVifMode_16BIT,
      OMX_VIDEO_CaptureVifMode_24BIT,
      OMX_VIDEO_CaptureVifModeTIExtensions = 0x6F000000,
      OMX_VIDEO_CaptureVifModeVendorStartUnused = 0x7F000000,
      OMX_VIDEO_CaptureVifModeMax = 0x7FFFFFFF
    } OMX_VIDEO_CAPTURE_HWPORT_VIF_MODE;

     OMX_VIDEO_CaptureVifMode_24BIT, should mean that RGB888 video capture mode should be support, righrt?

    Also, in the gstreamer of EZSDK, If I run gst-inspect omx_h264enc on the board evm8148, I found this:

      profile             : H.264 Profile                                           
                            flags: readable, writable                               
                            Enum "GstOmxVideoAVCProfile" Default: 8, "high" Current"
                               (1): base             - Base Profile                 
                               (2): main             - Main Profile                 
                               (4): extended         - Extended Profile             
                               (8): high             - High Profile                 
                               (16): high-10          - High 10 Profile             
                               (32): high-422         - High 4:2:2 Profile          
                               (64): high-444         - High 4:4:4 Profile 

    So, the rgb888 h.264 encoding should also be supported.

    Is this limition from software/fireware or hardware?

    Could you please clarify these for us? Will this DM814x chip support RGB888 video capture-encoding/processing in the future? When?

    Thanks,

    Jun

  • Hi Hardik,

    Also, in this link http://processors.wiki.ti.com/index.php/DM81xx_AM38xx_Video_Capture_Driver_User_Guide, it says RGB color format  is supported for v4l2 video capture.

    Features

    V4L2 capture driver supports following features.

    • Supports VIP0 instance of the VPSS.
    • Supports TVP7002 standard Linux sub device driver.
    • Supports YUV422 interleaved, YUV422 semiplanar, YUV420 semiplanar and RGB888 color formats to memory.
    • Supports scaling and cropping for YUV formats (downscaling only)
    • Supports 1080P60, 1080P30, 1080I60 and 720P60 input resolutions.
    • Supports user pointer buffer mechanism of the V4L2 driver interface.
  • Yes, we can support RGB888 capture, but as for encoding, I do not think it supports RGB888 format. I am checking with our Codec team and will get back to you.

    Regards,

    yihe

  • The responses seem contradicting. Could you please clarify?

    1. Is DM814x able to capture 24-bit frames, i.e., YUV 444 or RGB 888?

    2. Is DM814x able to apply H.264 encoding on 1080p-60 frames in 24-bit formats without downsampling?

    Thanks,

    Mohammad

  • Mohammad,

    Capture and encode are two different processings handled by different HW IP. DM814XX support 24 bit capture, but it does not mean IVHAD can support RGB888 format. I am checking with our codec team now.

    Regards,

    yihe

  • hi,

    You can capture on RGB888 interface and then get it converted into YUV420 in the capture path. You can use YUV420 for encoder.

    Thanks,

    Brijesh Jadav

  • In short 24 bit capture is possible for only RGB888 via VIP capture port. While Encoding in RGB888 format is not possible. Capture in YUV444 format is not possible. So effectively 24-bit capture+encode is not possible. You have to down sample to doing capture+encoding.

    Regards,

    Hardik Shah

  • Then, could you please say why there is an option in TI-Gstreamer omx_h264enc pipeline for encoding in H.264 high-444 profile?!

  • Mohammad Kiaei said:

    Then, could you please say why there is an option in TI-Gstreamer omx_h264enc pipeline for encoding in H.264 high-444 profile?!

     
    Mohammad,
     
    Did TI ever respond or is 4:4:4 not posible as previous thread?
     
    Patrick
  • Hi,

    Please note H.264 in the EZSDK does not support other than 420SP (NV12) encoding.

    Regards

    Vimal