Hi,
I'm trying to decode H.264 stream frame-by-frame, unfortunately in the Qualcomm sample (v 1.3.1) there is only whole file decode example.
The question is: does decoder buffer the frames before it calls the callback function with decoded data?
Is there any setConfig or setParam for making the decoder output the decoded frame right away after decoding is finished?
From my experience decoder buffers now 2 frames, and only by submitting the 3-d frame decoder will output the first one.
My stream is only I-frames.
Thanks in advance!
Are you using DECODE_ORDER or DISPLAY_ORDER? See method setPictureOrder(int pictureOrder) in QcomOmxDecoder.cpp.
Try using QOMX_VIDEO_DECODE_ORDER for more efficient results, this might help your buffer problem