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.

AM5728: 720p59.94 H.264 Encode and Decode simultaneously

Part Number: AM5728

We are testing to encode and decode H.264 720p59.94 stream simultaneously without gstreamer.

On the old custom AM5728 board using PSDK Linux 02.00.00.00, there is no problem.

On our own AM5728 board using PSDK Linux 06.02.00.81, the performance of IVA-HD seems to be little bit poor (CODEC takes longer time to encode/decode than before).

All clock settings are same. Where should we check ?

  • Hi Aokie,

    Encoder and Decoder libraries have changed much between PSDK2.x to PSDK6.x release but the changes are only related to few bugfixes which should not cause any performance degradation.

    IPUMM software which encapsulates the codec libraries are built with different dependency tools (XDC, frameworkcomponent, bios etc) but these also will not add any overheads.

    Can you try one thing?

    Check the behavior of ipumm firmware from PSDK2.x in PSDK6.x, that means simply overwrite dra7-ipu2-fw.xem4 from PSDK2.x to PSDK6.x filesystem and test.

    Thanks

    RamPrasad

  • Hi Ram-san,

    Thank you for your prompt reply.

    We tried the PSDK2.x's IPUMM firmware and its result was same as new one.

    Is there any change around the IPUMM semaphore, DMA, or OMAP buffer?

    Regards,

    Eiji Aoki

  • Hi Ram-san,

    We found the performance issue seemed to be caused by frequent logging.

    It seems to work well without logging.

    Just to make sure, please teach me.

    Can AM5728 encode and decode 720p59.94 simultaneously, officially?

    Regards,

    Eiji Aoki

  • Hi Aoki,

    Glad to know your issue is resolved.  As mentioned earlier ipumm should not have any impact on performance compared to PSDK2.x

    yes, logging will add latency and makes the performance degrade.

    TI officially did not provide any numbers for 720@60fps encoding and decoding.

    If you refer these two data sheets from ipumm

    H264_Encoder_HDVICP2_DataSheet.pdf   and  H264_Decoder_HDVICP2_DataSheet.pdf,

    720p@30fps decoding  takes average 72MHz and 720@30fps encoding average is 82MHz(depends also on encoding paramters like CABAC, MV etc).

    So 7200@60fps should be possible without issue with IVAHD configured for 532MHz.

    Thanks

    RamPrasad

  • Hi Ram-san,

    Thank you for IVAHD's performance information.

    It's very helpful information for us.

    So please close this thread.

    Regards,

    Eiji Aoki