aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cbs_sei.h
diff options
context:
space:
mode:
authorWenbin Chen <wenbin.chen-at-intel.com@ffmpeg.org>2022-02-18 11:07:47 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2022-02-28 12:37:02 +0800
commitd165ce22a4a7cc4ed60238ce8f3d5dcbbad3e266 (patch)
tree5cfcf2b49cce0ec67d1838a00dd2c83c4c165aaf /libavcodec/cbs_sei.h
parente0ff86993052b49a64d434bac345e92fc149f446 (diff)
downloadffmpeg-d165ce22a4a7cc4ed60238ce8f3d5dcbbad3e266.tar.gz
libavcodec/vaapi_encode: Add async_depth to vaapi_encoder to increase performance
Fix: #7706. After commit 5fdcf85bbffe7451c2, vaapi encoder's performance decrease. The reason is that vaRenderPicture() and vaSyncBuffer() are called at the same time (vaRenderPicture() always followed by a vaSyncBuffer()). Now I changed them to be called in a asynchronous way, which will make better use of hardware. Async_depth is added to increase encoder's performance. The frames that are sent to hardware are stored in a fifo. Encoder will sync output after async fifo is full. Signed-off-by: Wenbin Chen <wenbin.chen@intel.com> Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'libavcodec/cbs_sei.h')
0 files changed, 0 insertions, 0 deletions