{"id":27058,"url":"https://patchwork.libcamera.org/api/patches/27058/?format=json","web_url":"https://patchwork.libcamera.org/patch/27058/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260626120041.627376-3-naush@raspberrypi.com>","date":"2026-06-26T11:54:02","name":"[2/3] include: linux: videodev2: Add NV12MT_COL128 8/10-bit pixel formats","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"02a06ba8611dec4feeeee9faa13dc180cb916198","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/27058/mbox/","series":[{"id":6021,"url":"https://patchwork.libcamera.org/api/series/6021/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=6021","date":"2026-06-26T11:54:00","name":"Add NV12MT_COL128 8/10-bit pixel formats","version":1,"mbox":"https://patchwork.libcamera.org/series/6021/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/27058/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/27058/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 35BEEC3302\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 26 Jun 2026 12:00:54 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7A54565EDB;\n\tFri, 26 Jun 2026 14:00:52 +0200 (CEST)","from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com\n\t[IPv6:2a00:1450:4864:20::32c])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A1736658FA\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 26 Jun 2026 14:00:48 +0200 (CEST)","by mail-wm1-x32c.google.com with SMTP id\n\t5b1f17b1804b1-490d6730461so872195e9.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 26 Jun 2026 05:00:48 -0700 (PDT)","from naush-dell.pitowers.org\n\t([2a00:1098:3142:1f:9337:c770:257e:d321])\n\tby smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-4926c02088dsm39163015e9.0.2026.06.26.05.00.47\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 26 Jun 2026 05:00:47 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"MZz6a6oR\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1782475248; x=1783080048;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to:content-type;\n\tbh=jjn/Cv38r0CBDn6xvS/obDVXTgG4SR205+YKmG/PUv0=;\n\tb=MZz6a6oRSMrwSBwRG0Il87Bfk73xIThDVbbeFwKU0lE1R7wtaM6GaDxdbsVnPHy3QF\n\teuUSYSFB0iMujOqrrTwEt0YW6AGRzDZ4xCeKI20EiSX2HVYNLiduebvuo8f4ID0uysZa\n\tiFlXcJ96GywX6XcQZHci3OVK/r1QeWtXUaEDoE0M+DpbJTUOq+HMz5EfTE3U7mjDevkT\n\tUQNmlSyFbFSE0gLVTavzkMrmEHN/8GNNXavoTmKqap03dvmZRNUKns+Olcxg8elP7Us6\n\t57QKX5cYzpT06t2d+zmas1OTaAyPNGGj03XyKjx/AouaHNzkUr6vfm9cNq8SUKAQUKHP\n\tpGgw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20251104; t=1782475248; x=1783080048;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n\t:to:cc:subject:date:message-id:reply-to:content-type;\n\tbh=jjn/Cv38r0CBDn6xvS/obDVXTgG4SR205+YKmG/PUv0=;\n\tb=amb9OoUi/2MU1D8nCAVd+2Ahz7qn7b3z/YIT73KFzYyXjWe5hWFkzV1n7ZOIWagebF\n\teYewkFeC60KTDkGxWgd0Xv6U7VsNW6Rm0yG3mU0XmDizJASoxF5YQ8XQTb6FZ07sgVBs\n\tx9FdiBp6xLy5L1bl5j/VpBq093ibTDytjesIPp6tIvDGQJcHRmxFF2zPs0rKnITndTpY\n\too2gJFyFI6KMQeOAiMJdxL2MW8XBBd+mdv2ax0jcTwyazDVHjIbrLRGxR6VnMrkjEdT8\n\tdxB56kOUYUgOQmTGuvNGlwIw/h1uKY0kzGtP/PXh+lWEOpP7e17O/V0V6uTHZ3ZLQ6qS\n\tv5PQ==","X-Gm-Message-State":"AOJu0YxUNmQ3E3LSEacj2i9Xv3JsBK5MsmbNKJeD3/Q6P8ftPoa0t5IO\n\t6Dl5yZx68Fd6QQ5JVvO8IOuY0Pr9HM3w/a3aKtH3j63aRx85YAQT3Qa1417KtlOidyecxbVbpJ2\n\tuGO7nUBc=","X-Gm-Gg":"AfdE7ckOvEV6CYXz56tDzG14wfo/jRvGl18nqXA86PuSXi9jWYA6HhGJCAuRDUpQERZ\n\tiIIwRoG6Yzxq/kF2PQvxKsvU4wGcU3/sZf1+EVgnvRWQFzG+EgsroKNPVMtPwAOAYSPWcwmmH4O\n\to7FxTM/w8+LXBjcI7yss1X6qExdW+Ml3kIhTj7n57PSpGjZko+Xjul7GVW2W/ELRSKCwSubBR92\n\t25rDvEm3eEl8l8WinwWMHQMILexelhwlOBXbFsPR7s0n/CVy3oXlq4iNw41IfyZ1fFwO80Fj8F/\n\ttWmkR2SjMV2qthvbjJayOaoRKHzZCnqvlLJZaXEB4wdeOYelHSZGf2CuR+H1z9rGG7C0CJNgHFo\n\tsQSLDx3m3P+MQbuB/zvLVljWW8+AcxSZ+Jn8hoHvbfIK9qOz9TDGOgTfx6jYVs6hNalMTn4W02c\n\tNhfjpCzzW/+zf/dALyfXQAa3LLh/vnhTPk/LZ/Ep7HHRZswPaVl/oqaz3aIdiZTsHBm93QxqrpT\n\tEJNQi67RDMQPwcounO3qlLPwh1yUg2Bi6lfr04PNgjIrd0o5+3mW4sBxVIPsHh0k5PXCc2v2wXL\n\tYSEK5fFC5sZ6fGlZ72Yr","X-Received":"by 2002:a05:600c:e547:20b0:492:2ea0:c1cd with SMTP id\n\t5b1f17b1804b1-492668934admr35266995e9.5.1782475248156; \n\tFri, 26 Jun 2026 05:00:48 -0700 (PDT)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Naushir Patuck <naush@raspberrypi.com>","Subject":"[PATCH 2/3] include: linux: videodev2: Add NV12MT_COL128 8/10-bit\n\tpixel formats","Date":"Fri, 26 Jun 2026 12:54:02 +0100","Message-ID":"<20260626120041.627376-3-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.53.0","In-Reply-To":"<20260626120041.627376-1-naush@raspberrypi.com>","References":"<20260626120041.627376-1-naush@raspberrypi.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Add the V4L2_PIX_FMT_NV12MT_COL128 and V4L2_PIX_FMT_NV12MT_10_COL128\n4CCs. These formats are available from the PiSP Backend hardware.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\n---\n include/linux/videodev2.h | 3 +++\n 1 file changed, 3 insertions(+)","diff":"diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h\nindex 8bccad84ff83..0c6c4c6831d9 100644\n--- a/include/linux/videodev2.h\n+++ b/include/linux/videodev2.h\n@@ -670,6 +670,9 @@ struct v4l2_pix_format {\n #define V4L2_PIX_FMT_NV12MT_16X16 v4l2_fourcc('V', 'M', '1', '2') /* 12  Y/CbCr 4:2:0 16x16 tiles */\n #define V4L2_PIX_FMT_NV12M_8L128      v4l2_fourcc('N', 'A', '1', '2') /* Y/CbCr 4:2:0 8x128 tiles */\n #define V4L2_PIX_FMT_NV12M_10BE_8L128 v4l2_fourcc_be('N', 'T', '1', '2') /* Y/CbCr 4:2:0 10-bit 8x128 tiles */\n+#define V4L2_PIX_FMT_NV12MT_COL128 v4l2_fourcc('N', 'c', '1', '2') /* 12  Y/CbCr 4:2:0 128 pixel wide column */\n+#define V4L2_PIX_FMT_NV12MT_10_COL128 v4l2_fourcc('N', 'c', '3', '0')\n+\t\t\t/* Y/CbCr 4:2:0 10bpc, 3x10 packed as 4 bytes in a 128 bytes / 96 pixel wide column */\n \n /* Bayer formats - see http://www.siliconimaging.com/RGB%20Bayer.htm */\n #define V4L2_PIX_FMT_SBGGR8  v4l2_fourcc('B', 'A', '8', '1') /*  8  BGBG.. GRGR.. */\n","prefixes":["2/3"]}