PR #23763 opened by philipl
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23763
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23763.patch

This is now trivial, as we fixed the channel calculation bug in a previous
commit.



>From 4b317b3cf40dc6096c19b97e51537bd5c4bb028d Mon Sep 17 00:00:00 2001
From: Philip Langdale <[email protected]>
Date: Fri, 10 Jul 2026 09:38:43 -0700
Subject: [PATCH] avutil/hwcontext_cuda: support RGBA64 and BGRA64 formats

This is now trivial, as we fixed the channel calculation bug in a previous
commit.
---
 libavutil/hwcontext_cuda.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavutil/hwcontext_cuda.c b/libavutil/hwcontext_cuda.c
index f93bdcab9c..acaee9460d 100644
--- a/libavutil/hwcontext_cuda.c
+++ b/libavutil/hwcontext_cuda.c
@@ -63,6 +63,8 @@ static const enum AVPixelFormat supported_formats[] = {
     AV_PIX_FMT_0BGR32,
     AV_PIX_FMT_RGB32,
     AV_PIX_FMT_BGR32,
+    AV_PIX_FMT_RGBA64,
+    AV_PIX_FMT_BGRA64,
 #if CONFIG_VULKAN
     AV_PIX_FMT_VULKAN,
 #endif
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to