mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
vaapi_encode: Add ROI support
This commit is contained in:
parent
62e6b634a8
commit
3387147860
7 changed files with 144 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue