summaryrefslogtreecommitdiff
path: root/libavutil/video_enc_params.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-03-10 11:45:55 +0100
committerAnton Khirnov <anton@khirnov.net>2021-01-01 14:23:19 +0100
commitbaecaa16c16dc2bca7ca15ed3c379d7343955adb (patch)
tree1f6f2269e0c05c25857d7d72b27d1691ea9ec67d /libavutil/video_enc_params.h
parente15371061d23457554d241a80dc471515ac13ad4 (diff)
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/video_enc_params.h')
-rw-r--r--libavutil/video_enc_params.h8
1 files changed, 8 insertions, 0 deletions
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,
};
/**