The only common option here is low_power - it was previously supported for H.264 only, that specific option is removed.
Showing the changes to libavcodec/vaapi_encode.h (1 of 6 files). Show all
Unified · Split
| @@ -298,4 +298,13 @@ int ff_vaapi_encode2(AVCodecContext *avctx, AVPacket *pkt, · 297 unmodified lines | ||
| 298 | 298 | int ff_vaapi_encode_init(AVCodecContext *avctx); |
| 299 | 299 | int ff_vaapi_encode_close(AVCodecContext *avctx); |
| 300 | 300 | |
| 301 | + | |
| 302 | +#define VAAPI_ENCODE_COMMON_OPTIONS \ | |
| 303 | + { "low_power", \ | |
| 304 | + "Use low-power encoding mode (only available on some platforms; " \ | |
| 305 | + "may not support all encoding features)", \ | |
| 306 | + OFFSET(common.low_power), AV_OPT_TYPE_BOOL, \ | |
| 307 | + { .i64 = 0 }, 0, 1, FLAGS } | |
| 308 | + | |
| 309 | + | |
| 301 | 310 | #endif /* AVCODEC_VAAPI_ENCODE_H */ |