diff options
author | Wenbin Chen <wenbin.chen-at-intel.com@ffmpeg.org> | 2022-09-06 12:22:56 +0300 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2022-09-09 04:39:44 +0300 |
commit | 9155ec096b0076bf5090c22c8c2f0f67bd8ee086 (patch) | |
tree | 49c5f1f97b2cac12bec8a944485b606ccace0b42 /libavcodec/qsvenc.h | |
parent | f3ba1458b6787484978e9a8f1560dcabfefba92d (diff) |
libavcodec/qsvenc: Add intra refresh reset support to qsvenc
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Diffstat (limited to 'libavcodec/qsvenc.h')
-rw-r--r-- | libavcodec/qsvenc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h index ead790fd2c..3ec8608e67 100644 --- a/libavcodec/qsvenc.h +++ b/libavcodec/qsvenc.h @@ -255,6 +255,11 @@ typedef struct QSVEncContext { int old_max_frame_size; // This is used for gop reset int old_gop_size; + // These are used for intra refresh reset + int old_int_ref_type; + int old_int_ref_cycle_size; + int old_int_ref_qp_delta; + int old_int_ref_cycle_dist; } QSVEncContext; int ff_qsv_enc_init(AVCodecContext *avctx, QSVEncContext *q); |