summaryrefslogtreecommitdiff
path: root/libavcodec/vaapi_encode_vp8.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2019-07-07 20:26:49 +0100
committerMark Thompson <sw@jkqxz.net>2019-07-28 22:34:26 +0100
commit33871478605812a94502e33a6d1b965f71e6818a (patch)
tree0ab852ce17cf378ecdda0c74283e5d4852d080a7 /libavcodec/vaapi_encode_vp8.c
parent62e6b634a8022c24d53d9c3c3ce958b20f55a5fe (diff)
downloadffmpeg-33871478605812a94502e33a6d1b965f71e6818a.tar.gz
vaapi_encode: Add ROI support
Diffstat (limited to 'libavcodec/vaapi_encode_vp8.c')
-rw-r--r--libavcodec/vaapi_encode_vp8.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vaapi_encode_vp8.c b/libavcodec/vaapi_encode_vp8.c
index ddbe4c9075..6e7bf9d106 100644
--- a/libavcodec/vaapi_encode_vp8.c
+++ b/libavcodec/vaapi_encode_vp8.c
@@ -173,6 +173,8 @@ static av_cold int vaapi_encode_vp8_configure(AVCodecContext *avctx)
else
priv->q_index_i = priv->q_index_p;
+ ctx->roi_quant_range = VP8_MAX_QUANT;
+
return 0;
}