From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id BDE61434C0 for ; Sun, 11 Jun 2023 02:59:51 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1EAAA68C33F; Sun, 11 Jun 2023 05:59:49 +0300 (EEST) Received: from mail.overt.org (mail.overt.org [72.14.183.176]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C08A768C17A for ; Sun, 11 Jun 2023 05:59:42 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=overt.org; s=mail; t=1686452381; bh=w4Q4dC00kw+DKRnD6p/eBiVXS4Lpv46/gtvBynMPOn4=; h=From:To:Cc:Subject:Date:From; b=LA9LQM3Zg2ucpGVnEey7R3pNNvUM+1dpuReGC4ti9w/SmnCd9NAiXz8z3X6zUjPnb ad+JhjkffPuS8o2LHDMyWdxR3pV/yWnXYxOfXS5soYDb56wTFEIbXZLrO3HmwLJcSW PCvD2I2Olp6w2y28EnAnz1hrXBJqN3aX7YTza05s8iNrgU5LeNNMJPfeeDzXPKqCUu GbIpVl0jurlZmF8gLY9ncUJVAslK/6LXpCPPyByLpV16XY7+NF/FUXjLgayjT+IJxL soGFYO6A0uY5Oi3j1hs7kaypMEccOgD0ztqUg4TFWoviJ+k8Kdn8230oCf1izdy0KZ jGlAlR9HKet+g== Received: from authenticated-user (mail.overt.org [72.14.183.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.overt.org (Postfix) with ESMTPSA id 39D4F60A0F; Sat, 10 Jun 2023 21:59:41 -0500 (CDT) From: Philip Langdale To: ffmpeg-devel@ffmpeg.org Date: Sat, 10 Jun 2023 19:59:35 -0700 Message-Id: <20230611025935.21732-1-philipl@overt.org> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] lavu/hwcontext_cuda: declare support for argb/abgr/rgba/bgra X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Philip Langdale Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: These are physically compatible formats and are potentially useful. Signed-off-by: Philip Langdale --- libavutil/hwcontext_cuda.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavutil/hwcontext_cuda.c b/libavutil/hwcontext_cuda.c index 5ae7711c94..22eb9f5513 100644 --- a/libavutil/hwcontext_cuda.c +++ b/libavutil/hwcontext_cuda.c @@ -45,6 +45,10 @@ static const enum AVPixelFormat supported_formats[] = { AV_PIX_FMT_YUV444P16, AV_PIX_FMT_0RGB32, AV_PIX_FMT_0BGR32, + AV_PIX_FMT_ARGB, + AV_PIX_FMT_ABGR, + AV_PIX_FMT_RGBA, + AV_PIX_FMT_BGRA, #if CONFIG_VULKAN AV_PIX_FMT_VULKAN, #endif -- 2.39.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".