summaryrefslogtreecommitdiff
path: root/libavutil/video_enc_params.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-03-10 18:26:00 +0100
committerAnton Khirnov <anton@khirnov.net>2020-05-25 11:59:42 +0200
commit064b875e894f45ea9e0426696559645d87af0bc3 (patch)
tree05d5fbe353f5f60f46f6d4eefb242dacb5acbc17 /libavutil/video_enc_params.h
parent37140ebd87f549eae86a5b548d717a1e97203dd6 (diff)
h264dec: support exporting QP tables through the AVVideoEncParams API
Diffstat (limited to 'libavutil/video_enc_params.h')
-rw-r--r--libavutil/video_enc_params.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libavutil/video_enc_params.h b/libavutil/video_enc_params.h
index 0cf79c435c..43fa443154 100644
--- a/libavutil/video_enc_params.h
+++ b/libavutil/video_enc_params.h
@@ -42,6 +42,19 @@ enum AVVideoEncParamsType {
* unsigned 8-bit.
*/
AV_VIDEO_ENC_PARAMS_VP9,
+
+ /**
+ * H.264 stores:
+ * - in PPS (per-picture):
+ * * initial QP_Y (luma) value, exported as AVVideoEncParams.qp
+ * * delta(s) for chroma QP values (same for both, or each separately),
+ * exported as in the corresponding entries in AVVideoEncParams.delta_qp
+ * - per-slice QP delta, not exported directly, added to the per-MB value
+ * - per-MB delta; not exported directly; the final per-MB quantizer
+ * parameter - QP_Y - minus the value in AVVideoEncParams.qp is exported
+ * as AVVideoBlockParams.qp_delta.
+ */
+ AV_VIDEO_ENC_PARAMS_H264,
};
/**