From patchwork Mon Sep 25 11:01:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 19087 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 6EBE7C326B for ; Mon, 25 Sep 2023 11:01:12 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 24EDB62945; Mon, 25 Sep 2023 13:01:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1695639672; bh=qC9WI6j8h1//gz4S7zw+UeTIxjXlYSYK1y4ZzEV4J8k=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=iP6jZ8f58Nso1XBQ7ovtgdpPhyH3oap+ygycuDVvsk+xwOROCAIO+VsXeWrmT5cv7 bu9DjoGUqW0iCH6E3yBTGSSZU68iOO/i0MCuuPuKZiaxclsTZoH4Tbas9I14AolGl+ JNbveK6/9RugIqBBfziAkYnfmSZRQubucRfmD2xdVKr3Vp4TlAuTryEU2mGJfFw3Uu 0ZN84Dfb69/ifrfwyno2RuIzCcQiL6rwEnXTiTruWqmPZ/+t0VygI6buPJ7RcdkG9F VrBKVqiaSR4brt4ciTHTU/BhBQ1tcA8HQMY/dLum6EKgTkLDeM/izzXnZ5/GXDT1KT 5stgZpy1e+IXw== Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5A52362931 for ; Mon, 25 Sep 2023 13:01:11 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="O9v2L2iC"; dkim-atps=neutral Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-4053c6f0d55so56363245e9.0 for ; Mon, 25 Sep 2023 04:01:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1695639671; x=1696244471; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=x4X6WhqGZnmaidPqTfSMnqffsQSrvyXt5ZD5JCLOxwM=; b=O9v2L2iC2XDi2OFOcQUOK2DmX18mo6jnQOh0fHtOZHURXShckIvaTkukeX04pwgoBM wEC5K0F3x+eNqySjvOQNBwMN9OK01X+Z7LtZ674eVefAIzr7bMEIOYxS4c6Wu12euV1q 9jJSHwFWgjjrGIJB0I+UDtlScrw9W/3DGUlFGv4f9IoMQaq/GtBZ62wIh4Jia+cyxasm fZMjYjR8590HG9nklIyVOjXTecJd8iFhoJf50zqGNVcKHBJxF8160D3+hkKQv4XrviYd dkJtMrjp7MsUFR7vvz8nz/3gdWfQD4WFbD1aR0ol8nB5qULxVbMJQq6R5NbCtvWRSFhY mY1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695639671; x=1696244471; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=x4X6WhqGZnmaidPqTfSMnqffsQSrvyXt5ZD5JCLOxwM=; b=PmG8/qZT0JQzIMphWUZoc3xEqCxwqqEXd3zWqCYNt2EVg4iUU1YQKnqVNx13FFDT3I dgDrzgAMX7aAcPNaACuIqoIb3sb5RaSwuC6h12rQ03Go1gN9z88G6y9jv+QEjdPkiTj6 WvCE7Kne2DhtjnwXN79S+Hu5a2KGI8taRA7gBlk3XNs8x8YPQSoKgzNNV4LtHWuf6StC /hLUqCCHuyOlCIaG+2c9BS/sPgYvk5HAFj3a4UvI+oQFho/TOyG/cjXWORj9oVhiIiXy ohgoA8cfFVOpe0uOspYK+6qNsqIaZG5+T560MCMSs3RdXDWSCnA6wXoSLuoQ1XFuJl2m +CgA== X-Gm-Message-State: AOJu0Yy3CpvpqTAnd38GtcJ3OSQMg6fT3M7Pb6BXqLK3wsZoKJaYHdkv U38WmEY7/wMl9LDJJt5MlK//y1Jgy/i7oU2U7XyrkQ== X-Google-Smtp-Source: AGHT+IGirIozQyUCMixdXU2PXDVKra/t0jrdHtkcEalNsDFWaB/amxLQxgSuvpk0VIqRaU9ykwCT0Q== X-Received: by 2002:a7b:c8d0:0:b0:402:fec4:fddc with SMTP id f16-20020a7bc8d0000000b00402fec4fddcmr5776057wml.17.1695639670649; Mon, 25 Sep 2023 04:01:10 -0700 (PDT) Received: from localhost.localdomain ([93.93.133.154]) by smtp.gmail.com with ESMTPSA id e15-20020a05600c218f00b00402ff8d6086sm11893974wme.18.2023.09.25.04.01.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 04:01:10 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Mon, 25 Sep 2023 12:01:05 +0100 Message-Id: <20230925110105.13783-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: formats: Fix typo in YV444 V4L2PixelFormat listing X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Naushir Patuck via libcamera-devel From: Naushir Patuck Reply-To: Naushir Patuck Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This format was defined with the V4L2_PIX_FMT_YUV444M fourcc instead of the correct V4L2_PIX_FMT_YVU444M fourcc. Fixes: 3b9fe4ae996b ("libcamera: formats: Add YUV444 and YVU444 pixel formats") Signed-off-by: Naushir Patuck Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- src/libcamera/v4l2_pixelformat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcamera/v4l2_pixelformat.cpp b/src/libcamera/v4l2_pixelformat.cpp index a7ae69bb317d..5551c62eb39b 100644 --- a/src/libcamera/v4l2_pixelformat.cpp +++ b/src/libcamera/v4l2_pixelformat.cpp @@ -123,7 +123,7 @@ const std::map vpf2pf{ { formats::YVU422, "Planar YVU 4:2:2 (N-C)" } }, { V4L2PixelFormat(V4L2_PIX_FMT_YUV444M), { formats::YUV444, "Planar YUV 4:4:4 (N-C)" } }, - { V4L2PixelFormat(V4L2_PIX_FMT_YUV444M), + { V4L2PixelFormat(V4L2_PIX_FMT_YVU444M), { formats::YVU444, "Planar YVU 4:4:4 (N-C)" } }, /* Greyscale formats. */