> +static int ff_qsv_get_continuous_buffer(AVCodecContext *avctx, AVFrame
> +*frame, AVBufferPool *pool) {
> +int ret = 0;
> +
> +ff_decode_frame_props(avctx, frame);
> +
> +frame->width = avctx->width;
> +frame->height = avctx->height;
> +frame->linesize[0] = FFALIGN
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.