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.

Support for YUV422SP capture in EDZSK VFCC on DM8168

Hi,

       As i understand the support for YUV422SP video capture is present in DM8168 processor and HDVPSS driver. I am listing down the versions of the components we are using .

SDK : ti-ezsdk_dm816x-evm_5_03_01_15

 HDVPSS : HDVPSS_01_00_01_33

OMX : omx-ti81xx-src_05_02_00_30
 
Can someone help me in adding this support in VFCC layer.
 
Regards,
Shantanu Bhaduri
  • Hi,

                 Waiting for a response.

    Regards,

    Shantanu Bhaduri

  • Can you be a bit more specific ? As in, what spcific issue is stopping you from adding the support? You can look at how the component supports YUV420SP. The main difference would be that the Chroma Buffer size would be the same size as the Luma versus 420Sp where its half the size of luma.

    Archith

  • Shantanu,

    I am assuming you have access to the OMX-VFCC source code to do this. Note that we have not tried this ourselves and it would take us a while to do that. However, I can point you to certain sections of the code you would need to look at to do this yourselves. Will that be okay?

    Regards,

    Anirban

  • Anirban,

                      It will be a good starting point if you can point us to the sections which needs  change to support YUV422SP.

    Regards,

    Shantanu Bhaduri

  • Shantanu,

    In general, this involves looking for handling of 420SP format (FVID2_DF_YUV420SP_UV) in the vfcc source code and making sure you handle 422SP (FVID2_DF_YUV422SP_UV) appropriately.

    Some examples are given below (not an exhaustive list):

    File omx_vfcc_drvif.c

    (a) Function _OMX_VFCCMapOmxSettingsToDrvCreateArgs

    - translate pVFCCComPvt->pPortdefs[0]->format.video.eColorFormat (OMX_COLOR_FormatYUV422SemiPlanar) to the appropriate colour format for the HDVPSS driver pOutInfo->dataFormat (FVID2_DF_YUV422SP_UV)

    - set 'isTilerMode' and 'pOutInfo->pitch' appropriately

    (b) Function _OMX_VFCCSetOmxBufHdrInfo: Set nChromaFormat, nCBufPtr and nFilledLen appropriately for sOutBufHeaderPtr

    (c) Function _OMX_VFCCDrvIfProcessFcn: Set chroma buffer pointer appropriately (pFrame->addr[0][1])

    Regards,

    Anirban

     

  • Anirban,

                          Thanks a lot for the inputs . We will try this out and let you know the outcome.

    Regards,

    Shantanu Bhaduri

  • Anirban,

                       Your inputs helped. We are able to capture YUV422SP format.

    Regards,

    Shantanu Bhaduri