From: Dmitry Ilyin <[email protected]>

---
 doc/APIchanges               |  3 +++
 libavutil/version.h          |  2 +-
 libavutil/video_enc_params.h | 12 ++++++++++++
 3 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/doc/APIchanges b/doc/APIchanges
index 36f95c8..599308f 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2026-06-23.
 
 API changes, most recent first:
 
+2026-11-xx - xxxxxxxxxx - lavu 61.21.100 - video_enc_params.h
+  Add AV_VIDEO_ENC_PARAMS_HEVC.
+
 2026-11-xx - xxxxxxxxxx - lavc 63.26.100 - defs.h
   Add AV_PROFILE_CAVS_JIZHUN and AV_PROFILE_CAVS_BROADCASTING.
 
diff --git a/libavutil/version.h b/libavutil/version.h
index cbdd0ad..3a39a0b 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -79,7 +79,7 @@
  */
 
 #define LIBAVUTIL_VERSION_MAJOR  61
-#define LIBAVUTIL_VERSION_MINOR  20
+#define LIBAVUTIL_VERSION_MINOR  21
 #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 62265a5..d95c591 100644
--- a/libavutil/video_enc_params.h
+++ b/libavutil/video_enc_params.h
@@ -63,6 +63,18 @@ enum AVVideoEncParamsType {
      * resulting quantizer for the block.
      */
     AV_VIDEO_ENC_PARAMS_MPEG2,
+
+    /**
+     * HEVC stream. Exported values:
+     * - qp is the PPS-level initial luma quantizer, 26 + init_qp_minus26
+     * - delta_qp[1] and delta_qp[2] hold the PPS-level Cb and Cr offsets
+     *   (pps_cb_qp_offset and pps_cr_qp_offset); slice-level offsets are not
+     *   exported
+     * - one block per minimum coding block; the final luma quantizer QP_Y of
+     *   the coding unit covering it, minus qp, is exported as
+     *   AVVideoBlockParams.delta_qp
+     */
+    AV_VIDEO_ENC_PARAMS_HEVC,
 };
 
 /**
-- 
2.54.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to