libavutil: add API for exporting video frame quantizers

Multimedia / FFmpeg - Juan De León [ffmpeg.org] - 12 May 2020 07:37 EDT

This is intended to replace the deprecated the AV_FRAME_DATA_QP_TABLE* API and extend it to a wider range of codecs.

In the future, it may also be extended to support other encoding parameters such as motion vectors.

Additional changes by Anton Khirnov with suggestions by Lynne.

991d417692 libavutil: add API for exporting video frame quantizers
doc/APIchanges | 4 ++
libavutil/Makefile | 5 +-
libavutil/frame.c | 1 +
libavutil/frame.h | 5 ++
libavutil/version.h | 2 +-
libavutil/video_enc_params.c | 79 +++++++++++++++++++++++++
libavutil/video_enc_params.h | 135 +++++++++++++++++++++++++++++++++++++++++++
7 files changed, 229 insertions(+), 2 deletions(-)

  • Share