1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-28 12:32:17 +02:00
Wenbin Chen 52ad617af5 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>
2022-07-20 12:35:23 +08:00
..
2019-02-11 10:13:31 +05:30
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2022-07-14 15:48:24 +05:30
2022-06-13 22:42:55 +02:00
2022-07-19 12:27:18 +02:00
2018-01-06 18:31:37 +00:00
2017-02-03 15:03:44 +01:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2018-01-06 18:31:37 +00:00
2019-02-10 16:46:56 +01:00
2020-09-08 14:29:19 +02:00
2021-06-18 18:58:25 +02:00