Hi,
I have one question about the usage of av_frame_ref() and av_frame_unref().
For avcodec_decode_video2(), the following url is its description:
http://ffmpeg.org/doxygen/3.1/group__lavc__decoding.html#ga3ac51525b7ad8bca4ced9f3446e96532
When AVCodecContext.refcounted_frames is set to 1, the
Hi, we are adding a custom decoder for qualcomm chipset into ffmpeg. We have
made a linux application which decodes the *h264* file into *nv12 tiled* yuv
raw data file successfully.
Our aim is to patch ffmpeg with the custom decoder and to upstream the same,
so that anyone on qualcomm chipset
The problem is with init function of decoder, its declaration is as follow,
*int qhw_decode_init (AVCodecContext *avctx);*
am getting avctx->width as zero (0) and avctx->heigth as zero(0).
So I initialize my decoder with constant values, as decoder->width=1920 and
decoder->height=1080. After