[FFmpeg-devel] [PATCH] lavc/vaapi_encode_av1: Set roi_quant_range
Mark Thompson
sw at jkqxz.net
Mon Apr 1 22:12:21 EEST 2024
On 01/04/2024 19:00, David Rosca wrote:
> ---
> 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;
> }
>
Huh, that was missed in the original AV1 encode patch. Will apply.
Thanks,
- Mark
More information about the ffmpeg-devel
mailing list