[FFmpeg-devel] [PATCH, v4] lavc/qsvdec: Add GPU-accelerated memory copy support
Li, Zhong
zhong.li at intel.com
Wed Oct 9 06:29:49 EEST 2019
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Linjie Fu
> Sent: Tuesday, October 8, 2019 9:41 PM
> To: ffmpeg-devel at ffmpeg.org
> Cc: ChaoX A Liu <chaox.a.liu at intel.com>; Fu, Linjie <linjie.fu at intel.com>
> Subject: [FFmpeg-devel] [PATCH, v4] lavc/qsvdec: Add GPU-accelerated memory
> copy support
>
> GPU copy enables or disables GPU accelerated copying between video and
> system memory. This may lead to a notable performance improvement.
> Memory must be sequent and aligned with 128x64.
>
> CMD:
> ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -c:v h264_qsv
> -gpu_copy on -i input.h264 -f null -
> or:
> ffmpeg -c:v h264_qsv -gpu_copy on -i input.h264 -f null -
>
> Signed-off-by: Linjie Fu <linjie.fu at intel.com>
> Signed-off-by: ChaoX A Liu <chaox.a.liu at intel.com>
> ---
> [v4]: add an assert check.
Applied, thanks.
More information about the ffmpeg-devel
mailing list