[FFmpeg-cvslog] lavc/vaapi_encode_av1: Set roi_quant_range

David Rosca git at videolan.org
Mon Apr 1 22:13:10 EEST 2024


ffmpeg | branch: master | David Rosca <nowrep at gmail.com> | Mon Apr  1 20:00:19 2024 +0200| [3f863f089c679be62827034d3645f152f9e4fa2f] | committer: Mark Thompson

lavc/vaapi_encode_av1: Set roi_quant_range

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3f863f089c679be62827034d3645f152f9e4fa2f
---

 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;
 }
 



More information about the ffmpeg-cvslog mailing list