mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
vaapi_encode: Add common options between all encoders
The only common option here is low_power - it was previously supported for H.264 only, that specific option is removed.
This commit is contained in:
parent
3b188666f1
commit
aa2563aecc
6 changed files with 27 additions and 8 deletions
|
|
@ -251,6 +251,7 @@ static av_cold int vaapi_encode_vp9_init(AVCodecContext *avctx)
|
|||
#define OFFSET(x) offsetof(VAAPIEncodeVP9Context, x)
|
||||
#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM)
|
||||
static const AVOption vaapi_encode_vp9_options[] = {
|
||||
VAAPI_ENCODE_COMMON_OPTIONS,
|
||||
{ "loop_filter_level", "Loop filter level",
|
||||
OFFSET(loop_filter_level), AV_OPT_TYPE_INT, { .i64 = 16 }, 0, 63, FLAGS },
|
||||
{ "loop_filter_sharpness", "Loop filter sharpness",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue