[FFmpeg-devel] [PATCH] lavc/vaapi_encode_av1: Set roi_quant_range

David Rosca nowrep at gmail.com
Mon Apr 1 21:00:19 EEST 2024


---
 libavcodec/vaapi_encode_av1.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/vaapi_encode_av1.c b/libavcodec/vaapi_encode_av1.c
index a46b882ab9..02a31b894d 100644
--- a/libavcodec/vaapi_encode_av1.c
+++ b/libavcodec/vaapi_encode_av1.c
@@ -155,6 +155,8 @@ static av_cold int vaapi_encode_av1_configure(AVCodecContext *avctx)
         priv->q_idx_idr = priv->q_idx_p = priv->q_idx_b = 128;
     }
 
+    ctx->roi_quant_range = AV1_MAX_QUANT;
+
     return 0;
 }
 
-- 
2.44.0



More information about the ffmpeg-devel mailing list