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.

Iva Decoder IVIDDEC3_Status not being updated with change of elementary stream data with same codec

Hi

I am using Iva Decoder on dra7xx (Jacinto-6) EVM using GLSDK 7.03 (linux 3.14.57).

My application initializes Iva Decoder once and sends data belonging to different elementary stream with same codec but parameters changed like frame rate or resolution etc.

when i pass elementary stream A followed by elementary stream B, IVIDDEC3_Status params for frame rate especially seems not being updated.

What is the way to ask Iva Decoder to update these params with each process call? 

  • Hi Srinivas,
    Decoder will detect resolution change and sets one particular bit in extendedError for application to know.
    The new resolution info will be always available from Status->outputWidth Status->outputHeight.
    Application can re-allocate buffers with new resolution and continue processing.

    You can check the bit IH264VDEC_ERR_PICSIZECHANGE in case of H264 streams.

    frameRate information will be updated only if VUI parameter is available which indicate new frameRate otherwise it will be 0 always.