diff options
author | Sven Dueking <sven@nablet.com> | 2015-08-21 09:17:35 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-30 16:00:05 +0200 |
commit | 67e87f8050cb8cc61e016cb77be137c18653cbfe (patch) | |
tree | 4ede49b83737a56f4cdf9755f54a67e47e279016 /libavcodec/qsvenc.h | |
parent | dead1964ea8c4a87adb098c2c1abb2778b01831f (diff) |
avcodec/qsv : Added look ahead rate control mode
Reviewed-by: Ivan Uskov <ivan.uskov@nablet.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/qsvenc.h')
-rw-r--r-- | libavcodec/qsvenc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h index 231648821f..2a21f8217d 100644 --- a/libavcodec/qsvenc.h +++ b/libavcodec/qsvenc.h @@ -50,7 +50,12 @@ typedef struct QSVEncContext { mfxFrameAllocRequest req; mfxExtCodingOption extco; +#if QSV_VERSION_ATLEAST(1,6) + mfxExtCodingOption2 extco2; + mfxExtBuffer *extparam[2]; +#else mfxExtBuffer *extparam[1]; +#endif AVFifoBuffer *async_fifo; @@ -62,6 +67,9 @@ typedef struct QSVEncContext { int avbr_accuracy; int avbr_convergence; int pic_timing_sei; + int look_ahead; + int look_ahead_depth; + int look_ahead_downsampling; char *load_plugins; } QSVEncContext; |