-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH 2/6] avcodec/nvdec: avoid needless copy of
output frame
applied
follow-up CUstream patches also applied
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg
Am 10.05.2018 um 04:51 schrieb Wang Bin:
-offset += cpy.Height;
+frame->buf[1] = av_buffer_create((uint8_t *)unmap_data,
sizeof(*unmap_data),
+ nvdec_unmap_mapped_frame,
(void*)devptr,
+ AV_BUFFER_FLAG_READONLY
>
>
>
> -offset += cpy.Height;
> +frame->buf[1] = av_buffer_create((uint8_t *)unmap_data,
> sizeof(*unmap_data),
> + nvdec_unmap_mapped_frame,
> (void*)devptr,
> + AV_BUFFER_FLAG_READONLY);
> +if (!frame->buf[1]
applied
follow-up CUstream patches also applied
smime.p7s
Description: S/MIME Cryptographic Signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Am 08.05.2018 um 17:25 schrieb wm4:
On Tue, 8 May 2018 15:31:28 +0200
Timo Rothenpieler wrote:
Replaces the data pointers with the mapped cuvid ones.
Adds buffer_refs to the frame to ensure the needed contexts stay alive
and the cuvid idx stays allocated.
Adds another buffer_ref to unmap the
On Tue, 8 May 2018 15:31:28 +0200
Timo Rothenpieler wrote:
> Replaces the data pointers with the mapped cuvid ones.
> Adds buffer_refs to the frame to ensure the needed contexts stay alive
> and the cuvid idx stays allocated.
> Adds another buffer_ref to unmap the frame when it's unreferenced it
Replaces the data pointers with the mapped cuvid ones.
Adds buffer_refs to the frame to ensure the needed contexts stay alive
and the cuvid idx stays allocated.
Adds another buffer_ref to unmap the frame when it's unreferenced itself.
---
libavcodec/nvdec.c | 83 +--