[FFmpeg-devel] [PATCH 4/7] mpegvideo: use the AVVideoEncParams API for exporting QP tables

Anton Khirnov anton at khirnov.net
Tue Mar 31 12:06:27 EEST 2020


Quoting Michael Niedermayer (2020-03-30 23:55:25)
> On Mon, Mar 30, 2020 at 01:45:23PM +0200, Anton Khirnov wrote:
> > Do it only when requested with the AV_CODEC_EXPORT_DATA_VIDEO_ENC_PARAMS
> > flag.
> > 
> > Drop previous code using the long-deprecated AV_FRAME_DATA_QP_TABLE*
> > API.
> > ---
> >  libavcodec/h263dec.c         |  6 ++++--
> >  libavcodec/mpeg12dec.c       |  5 +++--
> >  libavcodec/mpegpicture.c     |  1 +
> >  libavcodec/mpegpicture.h     |  1 +
> >  libavcodec/mpegvideo.c       | 39 ++++++++++++++++++++++++++++--------
> >  libavcodec/mpegvideo.h       |  8 +++++++-
> >  libavcodec/rv10.c            |  5 +++--
> >  libavcodec/rv34.c            |  5 +++--
> >  libavutil/video_enc_params.h |  2 ++
> >  9 files changed, 55 insertions(+), 17 deletions(-)
> 
> This seems to break fate-filter-pp

Right, that is to be expected since I am not converting the filters yet.
That will be done in the next iteration if nobody has any further
substantial comments on the API.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list