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 ESMTPS id 277114B835 for ; Thu, 30 Jan 2025 19:41:59 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 698C368C0E9; Thu, 30 Jan 2025 21:41:45 +0200 (EET) Received: from btbn.de (btbn.de [144.76.60.213]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9AE9A68BFD1 for ; Thu, 30 Jan 2025 21:41:36 +0200 (EET) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id C172127FD27D4; Thu, 30 Jan 2025 20:41:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1738266095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QXEClGRq9c7upB2imP0dScqjTWQWll3y0tcK7KFSaPI=; b=GfB3SQj78NBRj5/gZO2QadwGfgnyg4R27QgcwcSXIqCk81WQ6SZ7FBpSty75dlucwXVQzL /miMYnRMsM3fsp1bnDlnpnw6TlFTYMxKw+9ecespgfsgA2MWnCKbPKBYwLG1OqwiYoMk1b 6S9tPQmWG/zmLmaQ10pSGsY1AjX3r2pa2x6LqpI2QJfn8cJBYYjnJxxGU7J2whdG2TltQi V8SdKnJBEmsB1L33/cCi9E+ouAx9ZoCX0YfAlScsWY6ayWAkPzXST/qpOsOaCHF66aBETv qh+f/Qh1lEs9sgbel1ArMQvtFHFkC++HbIc7yzr+BKqa4TxP47VW+1Ndm2T/Gw== From: Timo Rothenpieler To: ffmpeg-devel@ffmpeg.org Date: Thu, 30 Jan 2025 20:40:38 +0100 Message-ID: <20250130194124.21836-2-timo@rothenpieler.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20250130194124.21836-1-timo@rothenpieler.org> References: <20250130194124.21836-1-timo@rothenpieler.org> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/9] avutil/hwcontext_cuda: add 4:2:2 pixel format support 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: Diego de Souza 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: From: Diego de Souza This commit adds support for 4:2:2 pixel formats, namely NV16 and P216 for NVIDIA GPUs. Signed-off-by: Diego de Souza --- libavutil/hwcontext_cuda.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavutil/hwcontext_cuda.c b/libavutil/hwcontext_cuda.c index 3de3847399..5721612225 100644 --- a/libavutil/hwcontext_cuda.c +++ b/libavutil/hwcontext_cuda.c @@ -42,11 +42,13 @@ typedef struct CUDADeviceContext { static const enum AVPixelFormat supported_formats[] = { AV_PIX_FMT_NV12, + AV_PIX_FMT_NV16, AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUVA420P, AV_PIX_FMT_YUV444P, AV_PIX_FMT_P010, AV_PIX_FMT_P016, + AV_PIX_FMT_P216LE, AV_PIX_FMT_YUV444P16, AV_PIX_FMT_0RGB32, AV_PIX_FMT_0BGR32, -- 2.45.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".