X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fqsvenc.h;h=2d7bd326f33ad141bdcb5e40a759e17849dbd9b4;hb=b098e1a4697573d5c501aceb863d89ebf1fcd5fd;hp=8627570f13e1459ea640826ac5dc619391ad6dc1;hpb=257766a838c5359558a7745d39d570d78eeecd76;p=ffmpeg diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h index 8627570f13e..2d7bd326f33 100644 --- a/libavcodec/qsvenc.h +++ b/libavcodec/qsvenc.h @@ -68,6 +68,8 @@ { "extbrc", "Extended bitrate control", OFFSET(qsv.extbrc), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 1, VE }, \ { "adaptive_i", "Adaptive I-frame placement", OFFSET(qsv.adaptive_i), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 1, VE }, \ { "adaptive_b", "Adaptive B-frame placement", OFFSET(qsv.adaptive_b), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 1, VE }, \ +{ "b_strategy", "Strategy to choose between I/P/B-frames", OFFSET(qsv.b_strategy), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 1, VE }, \ +{ "cavlc", "Enable CAVLC", OFFSET(qsv.cavlc), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, VE }, \ typedef int SetEncodeCtrlCB (AVCodecContext *avctx, const AVFrame *frame, mfxEncodeCtrl* enc_ctrl); @@ -127,6 +129,8 @@ typedef struct QSVEncContext { int extbrc; int adaptive_i; int adaptive_b; + int b_strategy; + int cavlc; int int_ref_type; int int_ref_cycle_size;