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.

DM8148 H264 Encoder sub frame processing



Hi,

I would like to know how to add support for sub frame processing. Is this configuration setting available via OMX call or should I be doing any more thing to enable it.

I had gone through the HDVICP2 user guide, however there is no information on the blocks in software that needs to be modified in order to support it.

Regards,

Vijay

  • Hi Vijay,

    Sub frame processing feature is supported by the encoder, so just need to configure h.264 encoder correctly from the application/omx layer. H.264 Encoder user guide will elaborate the APIs and the settings required to be handled by user.

    Thanks.

  • Thanks Santosh for the quick response.

    The reason for asking that question is :

    In function "__init vps_fvid2_capt_ctrl_init() " under " $EZSDK \ board-support \ linux-2.6.37-psp04.04.00.01 \ drivers \ video \ ti81XX \ vpss \" in file "capt.c ", the subframeModeEnable is set to zero and also there is a comment which says "Don't care as sub-frame mode is not enabled".

    So I was bit confused as to whether the driver support is missing for the sub frame capture and hence the sub frame processing.

    Please feel free to correct me If my interpretation is wrong.

    Regards,

    Vijay

  • Vijay, 

    I am from codec team and I am not much aware of this application/driver part much, so wouldn't comment here.

    [This is an external forum thread, so assure to post only general information here]

    Thanks.

  • Thanks for the info.

    Sure. From next time onwards, will make sure that I post general information here

    Regards,

    Vijay

  • Santosh one quick last question.

    Whether we need to request for a separate compressed archive in order to  start using HDVICP2 for H264 video encoding (Codec component) OR is it enabled by default by EZSDK? The reason being that the user guide says "codec component compressed archive" will create a directory "XXXXX_XXX", but when i grep EZSDK files, I am unable to see any folder by that name.

    Regards,

    Vijay

  • Dear Santosh,

    Can you please let me know, where I can get more info on the information related to enabling H264 sub-frame encoding.

    Regards,

    Vijay

  • Hi Vijay,

    subframeModeEnable you are referring in capt.c is for enabling slice based capture and this has nothing to do with Encoding.

    H264 encoder and capture driver both support subframe based processing, but OMX component and Frameworks are developed yet to handle the subframes.

    i,e encoder/capture driver can send slice data to application framework through a call back function registered during creation, but framework is not developed on how to use the slice data received from callback function.

    Ram

  • Thanks a ton for the response. It did clarify my basic doubt.

    Small Typo is - I think we have to read the line "but OMX component and Frameworks are developed yet to handle the subframes" as "but OMX component and Frameworks are not developed yet to handle the subframes". "not is missing".

    Regards,

    Vijay