Re: [FFmpeg-devel] [PATCH] Allow exporting of RGB and BGR images to CUDA.

2022-08-23 Thread dpeeters
> -Original Message- > From: ffmpeg-devel On Behalf Of > dpeeters@MRU.MEDICAL.CANON > Sent: Thursday, July 28, 2022 11:24 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [EXTERNAL] Re: [FFmpeg-devel] [PATCH] Allow exporting of RGB > and BGR images to CUDA. > &

Re: [FFmpeg-devel] [PATCH] Allow exporting of RGB and BGR images to CUDA.

2022-07-28 Thread dpeeters
> -Original Message- > From: ffmpeg-devel On Behalf Of > dpeeters@MRU.MEDICAL.CANON > Sent: Friday, July 8, 2022 4:51 PM > To: ffmpeg-devel@ffmpeg.org > Subject: [EXTERNAL] [FFmpeg-devel] [PATCH] Allow exporting of RGB and > BGR images to CUDA. > > Use the ste

[FFmpeg-devel] [PATCH] Allow exporting of RGB and BGR images to CUDA.

2022-07-08 Thread dpeeters
Use the step size when calculating the number of channels to allow for more than two channels per plane. This allows the use of AV_PIX_FMT_0BGR32 when using av_hwframe_transfer_data to transfer data from a Vulkan frame to a CUDA frame. Signed-off-by: David Peeters --- libavutil/hwcontext_vul