aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/buffer_internal.h
diff options
context:
space:
mode:
authorZhong Li <zhong.li@intel.com>2018-05-21 17:58:52 +0800
committerZhong Li <zhong.li@intel.com>2018-10-11 13:26:59 +0800
commita5e1cb9e96bca091ed7103d8be72a99e7dc31582 (patch)
tree609539b41ae8560ac589236e9fb37ed0d1c5db4f /libavutil/buffer_internal.h
parent7a6d88ee6269666e5676a37a75bde231a6508e28 (diff)
downloadffmpeg-a5e1cb9e96bca091ed7103d8be72a99e7dc31582.tar.gz
lavu/hwcontext_qsv: Add support for AV_PIX_FMT_BGRA.
RGB32(AV_PIX_FMT_BGRA on intel platforms) format may be used as overlay with alpha blending. So add AV_PIX_FMT_BGRA format support. One example of alpha blending overlay: ffmpeg -hwaccel qsv -c:v h264_qsv -i BA1_Sony_D.jsv -filter_complex 'movie=lena-rgba.png,hwupload=extra_hw_frames=16[a];[0:v][a]overlay_qsv=x=10:y=10' -c:v h264_qsv -y out.mp4 Rename RGB32 to be BGRA to make it clearer as Mark Thompson's suggestion. V2: Add P010 format support else will introduce HEVC 10bit encoding regression. Thanks for LinJie's discovery. Signed-off-by: Zhong Li <zhong.li@intel.com> Verified-by: Fu, Linjie <linjie.fu@intel.com>
Diffstat (limited to 'libavutil/buffer_internal.h')
0 files changed, 0 insertions, 0 deletions