aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate/mpc.mak
diff options
context:
space:
mode:
authorWenbin Chen <wenbin.chen-at-intel.com@ffmpeg.org>2022-07-14 16:43:25 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2022-07-20 12:35:23 +0800
commit52ad617af56e5bd009f488a26ceb4f73595b2477 (patch)
tree99eed9076f93012fb281ed5ecb3f4042f256c114 /tests/fate/mpc.mak
parent8b82c9cdc74fd227726b81a7c1768b11536c4471 (diff)
downloadffmpeg-52ad617af56e5bd009f488a26ceb4f73595b2477.tar.gz
libavcodec/qsvenc: Use parameter from AVCodecContext to reset qsv codec
Using parameter from AVCodecContext to reset qsv codec is more suitable for MFXVideoENCODE_Reset()'s usage. Per-frame metadata is more suitable for the usage of mfxEncodeCtrl being passed to MFXVideoENCODE_EncodeFrameAsync(). Now change it to use the value from AVCodecContext. Because q->param is passed to both "in" and "out" parameters when call MFXVideoENCODE_Query(), the value in q->param may be changed. New variables are added to store old configuration, so that we can detect real parameter change. Signed-off-by: Wenbin Chen <wenbin.chen@intel.com> Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'tests/fate/mpc.mak')
0 files changed, 0 insertions, 0 deletions