vaapi_encode: Add ROI support

This commit is contained in:
Mark Thompson 2019-07-07 20:26:49 +01:00
parent 62e6b634a8
commit 3387147860
7 changed files with 144 additions and 0 deletions

View file

@ -1130,6 +1130,8 @@ static av_cold int vaapi_encode_h264_configure(AVCodecContext *avctx)
}
}
ctx->roi_quant_range = 51 + 6 * (ctx->profile->depth - 8);
return 0;
}