diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-03-10 11:45:55 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-01-01 14:23:19 +0100 |
commit | baecaa16c16dc2bca7ca15ed3c379d7343955adb (patch) | |
tree | 1f6f2269e0c05c25857d7d72b27d1691ea9ec67d /libavutil | |
parent | e15371061d23457554d241a80dc471515ac13ad4 (diff) | |
download | ffmpeg-baecaa16c16dc2bca7ca15ed3c379d7343955adb.tar.gz |
mpegvideo: use the AVVideoEncParams API for exporting QP tables
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. Temporarily disable fate-filter-pp, fate-filter-pp7,
fate-filter-spp. They will be reenabled once these filters are converted
in following commits.
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/version.h | 2 | ||||
-rw-r--r-- | libavutil/video_enc_params.h | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/libavutil/version.h b/libavutil/version.h index 085c4e30f9..5e6fe02d88 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -79,7 +79,7 @@ */ #define LIBAVUTIL_VERSION_MAJOR 56 -#define LIBAVUTIL_VERSION_MINOR 62 +#define LIBAVUTIL_VERSION_MINOR 63 #define LIBAVUTIL_VERSION_MICRO 100 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ diff --git a/libavutil/video_enc_params.h b/libavutil/video_enc_params.h index e3b422d6f3..fc0c3bc1a5 100644 --- a/libavutil/video_enc_params.h +++ b/libavutil/video_enc_params.h @@ -55,6 +55,14 @@ enum AVVideoEncParamsType { * as AVVideoBlockParams.qp_delta. */ AV_VIDEO_ENC_PARAMS_H264, + + /* + * MPEG-2-compatible quantizer. + * + * Summing the frame-level qp with the per-block delta_qp gives the + * resulting quantizer for the block. + */ + AV_VIDEO_ENC_PARAMS_MPEG2, }; /** |