Patch Detail
Show a patch.
GET /api/1.1/patches/21116/?format=api
{ "id": 21116, "url": "https://patchwork.libcamera.org/api/1.1/patches/21116/?format=api", "web_url": "https://patchwork.libcamera.org/patch/21116/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20240830152721.1420313-13-mzamazal@redhat.com>", "date": "2024-08-30T15:27:09", "name": "[v2,12/20] libcamera: v4l2_subdevice: Formatting improvements", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": false, "hash": "8f6bcf29862ee6e73fc7f4eceabf5cf621f06783", "submitter": { "id": 177, "url": "https://patchwork.libcamera.org/api/1.1/people/177/?format=api", "name": "Milan Zamazal", "email": "mzamazal@redhat.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/21116/mbox/", "series": [ { "id": 4552, "url": "https://patchwork.libcamera.org/api/1.1/series/4552/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4552", "date": "2024-08-30T15:26:57", "name": "Remove unused includes", "version": 2, "mbox": "https://patchwork.libcamera.org/series/4552/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/21116/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/21116/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 1604AC32D9\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 30 Aug 2024 15:28:08 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 30AF9634ED;\n\tFri, 30 Aug 2024 17:28:07 +0200 (CEST)", "from us-smtp-delivery-124.mimecast.com\n\t(us-smtp-delivery-124.mimecast.com [170.10.129.124])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id C483D63471\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 30 Aug 2024 17:27:53 +0200 (CEST)", "from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com\n\t(ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63])\n\tby relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n\tcipher=TLS_AES_256_GCM_SHA384) id us-mta-335-iPTWJ3O0PeeDtTVbGbL4SA-1;\n\tFri, 30 Aug 2024 11:27:49 -0400", "from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com\n\t(mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com\n\t[10.30.177.17])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\tkey-exchange X25519 server-signature RSA-PSS (2048 bits)\n\tserver-digest SHA256) (No client certificate requested)\n\tby mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix)\n\twith ESMTPS\n\tid 827611955D4F for <libcamera-devel@lists.libcamera.org>;\n\tFri, 30 Aug 2024 15:27:48 +0000 (UTC)", "from nuthatch.redhat.com (unknown [10.45.225.65])\n\tby mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix)\n\twith ESMTP id C4E011956048; Fri, 30 Aug 2024 15:27:46 +0000 (UTC)" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=redhat.com header.i=@redhat.com\n\theader.b=\"hsc8W9ef\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1725031672;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\tto:to:cc:cc:mime-version:mime-version:content-type:content-type:\n\tcontent-transfer-encoding:content-transfer-encoding:\n\tin-reply-to:in-reply-to:references:references;\n\tbh=Oamet7IwBoNlXGKxprtbvcgZm97rhUZjtxLNc/Ss54U=;\n\tb=hsc8W9effnyhB7zHzGhhOFpSVDICLbjGLpvzdVzeeJlz2ztqvO0dXUKuRIfoLX6v1mGPSB\n\t6jo9WH9uAA+3bQFH9pShCHuJoUhYXsFvInZKWKPmqnMBA3ERtSe4krPu5z/d6AGVa6E/5c\n\tBhDy5XrvUZo3c4GTvDcQe+wCwFR6wOU=", "X-MC-Unique": "iPTWJ3O0PeeDtTVbGbL4SA-1", "From": "Milan Zamazal <mzamazal@redhat.com>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "Milan Zamazal <mzamazal@redhat.com>", "Subject": "[PATCH v2 12/20] libcamera: v4l2_subdevice: Formatting improvements", "Date": "Fri, 30 Aug 2024 17:27:09 +0200", "Message-ID": "<20240830152721.1420313-13-mzamazal@redhat.com>", "In-Reply-To": "<20240830152721.1420313-1-mzamazal@redhat.com>", "References": "<20240830152721.1420313-1-mzamazal@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 3.0 on 10.30.177.17", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true", "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": "The LSP autoformatter doesn't like some of the current formatting, let's\nmake it happy. In v4l2_subdevice.cpp, this causes larger changes,\nextracted to a separate patch.\n\nSigned-off-by: Milan Zamazal <mzamazal@redhat.com>\n---\n src/libcamera/v4l2_subdevice.cpp | 1306 ++++++++++++++++--------------\n 1 file changed, 693 insertions(+), 613 deletions(-)", "diff": "diff --git a/src/libcamera/v4l2_subdevice.cpp b/src/libcamera/v4l2_subdevice.cpp\nindex 9f2ec479..38b448dc 100644\n--- a/src/libcamera/v4l2_subdevice.cpp\n+++ b/src/libcamera/v4l2_subdevice.cpp\n@@ -90,616 +90,695 @@ namespace {\n \n const std::map<uint32_t, MediaBusFormatInfo> mediaBusFormatInfo{\n \t/* This table is sorted to match the order in linux/media-bus-format.h */\n-\t{ MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE, {\n-\t\t.name = \"RGB444_2X8_PADHI_BE\",\n-\t\t.code = MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n-\t} },\n-\t{ MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE, {\n-\t\t.name = \"RGB444_2X8_PADHI_LE\",\n-\t\t.code = MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n-\t} },\n-\t{ MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE, {\n-\t\t.name = \"RGB555_2X8_PADHI_BE\",\n-\t\t.code = MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n-\t} },\n-\t{ MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE, {\n-\t\t.name = \"RGB555_2X8_PADHI_LE\",\n-\t\t.code = MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n-\t} },\n-\t{ MEDIA_BUS_FMT_RGB565_1X16, {\n-\t\t.name = \"RGB565_1X16\",\n-\t\t.code = MEDIA_BUS_FMT_RGB565_1X16,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n-\t} },\n-\t{ MEDIA_BUS_FMT_BGR565_2X8_BE, {\n-\t\t.name = \"BGR565_2X8_BE\",\n-\t\t.code = MEDIA_BUS_FMT_BGR565_2X8_BE,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n-\t} },\n-\t{ MEDIA_BUS_FMT_BGR565_2X8_LE, {\n-\t\t.name = \"BGR565_2X8_LE\",\n-\t\t.code = MEDIA_BUS_FMT_BGR565_2X8_LE,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n-\t} },\n-\t{ MEDIA_BUS_FMT_RGB565_2X8_BE, {\n-\t\t.name = \"RGB565_2X8_BE\",\n-\t\t.code = MEDIA_BUS_FMT_RGB565_2X8_BE,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n-\t} },\n-\t{ MEDIA_BUS_FMT_RGB565_2X8_LE, {\n-\t\t.name = \"RGB565_2X8_LE\",\n-\t\t.code = MEDIA_BUS_FMT_RGB565_2X8_LE,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n-\t} },\n-\t{ MEDIA_BUS_FMT_RGB666_1X18, {\n-\t\t.name = \"RGB666_1X18\",\n-\t\t.code = MEDIA_BUS_FMT_RGB666_1X18,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 18,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n-\t} },\n-\t{ MEDIA_BUS_FMT_BGR888_1X24, {\n-\t\t.name = \"BGR888_1X24\",\n-\t\t.code = MEDIA_BUS_FMT_BGR888_1X24,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 24,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n-\t} },\n-\t{ MEDIA_BUS_FMT_RGB888_1X24, {\n-\t\t.name = \"RGB888_1X24\",\n-\t\t.code = MEDIA_BUS_FMT_RGB888_1X24,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 24,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n-\t} },\n-\t{ MEDIA_BUS_FMT_RGB888_2X12_BE, {\n-\t\t.name = \"RGB888_2X12_BE\",\n-\t\t.code = MEDIA_BUS_FMT_RGB888_2X12_BE,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 24,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n-\t} },\n-\t{ MEDIA_BUS_FMT_RGB888_2X12_LE, {\n-\t\t.name = \"RGB888_2X12_LE\",\n-\t\t.code = MEDIA_BUS_FMT_RGB888_2X12_LE,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 24,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n-\t} },\n-\t{ MEDIA_BUS_FMT_ARGB8888_1X32, {\n-\t\t.name = \"ARGB8888_1X32\",\n-\t\t.code = MEDIA_BUS_FMT_ARGB8888_1X32,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 32,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n-\t} },\n-\t{ MEDIA_BUS_FMT_Y8_1X8, {\n-\t\t.name = \"Y8_1X8\",\n-\t\t.code = MEDIA_BUS_FMT_Y8_1X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 8,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_UV8_1X8, {\n-\t\t.name = \"UV8_1X8\",\n-\t\t.code = MEDIA_BUS_FMT_UV8_1X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 8,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_UYVY8_1_5X8, {\n-\t\t.name = \"UYVY8_1_5X8\",\n-\t\t.code = MEDIA_BUS_FMT_UYVY8_1_5X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 12,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_VYUY8_1_5X8, {\n-\t\t.name = \"VYUY8_1_5X8\",\n-\t\t.code = MEDIA_BUS_FMT_VYUY8_1_5X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 12,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YUYV8_1_5X8, {\n-\t\t.name = \"YUYV8_1_5X8\",\n-\t\t.code = MEDIA_BUS_FMT_YUYV8_1_5X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 12,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YVYU8_1_5X8, {\n-\t\t.name = \"YVYU8_1_5X8\",\n-\t\t.code = MEDIA_BUS_FMT_YVYU8_1_5X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 12,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_UYVY8_2X8, {\n-\t\t.name = \"UYVY8_2X8\",\n-\t\t.code = MEDIA_BUS_FMT_UYVY8_2X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_VYUY8_2X8, {\n-\t\t.name = \"VYUY8_2X8\",\n-\t\t.code = MEDIA_BUS_FMT_VYUY8_2X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YUYV8_2X8, {\n-\t\t.name = \"YUYV8_2X8\",\n-\t\t.code = MEDIA_BUS_FMT_YUYV8_2X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YVYU8_2X8, {\n-\t\t.name = \"YVYU8_2X8\",\n-\t\t.code = MEDIA_BUS_FMT_YVYU8_2X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_Y10_1X10, {\n-\t\t.name = \"Y10_1X10\",\n-\t\t.code = MEDIA_BUS_FMT_Y10_1X10,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 10,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_UYVY10_2X10, {\n-\t\t.name = \"UYVY10_2X10\",\n-\t\t.code = MEDIA_BUS_FMT_UYVY10_2X10,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 20,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_VYUY10_2X10, {\n-\t\t.name = \"VYUY10_2X10\",\n-\t\t.code = MEDIA_BUS_FMT_VYUY10_2X10,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 20,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YUYV10_2X10, {\n-\t\t.name = \"YUYV10_2X10\",\n-\t\t.code = MEDIA_BUS_FMT_YUYV10_2X10,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 20,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YVYU10_2X10, {\n-\t\t.name = \"YVYU10_2X10\",\n-\t\t.code = MEDIA_BUS_FMT_YVYU10_2X10,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 20,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_Y12_1X12, {\n-\t\t.name = \"Y12_1X12\",\n-\t\t.code = MEDIA_BUS_FMT_Y12_1X12,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 12,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_Y16_1X16, {\n-\t\t.name = \"Y16_1X16\",\n-\t\t.code = MEDIA_BUS_FMT_Y16_1X16,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_UYVY8_1X16, {\n-\t\t.name = \"UYVY8_1X16\",\n-\t\t.code = MEDIA_BUS_FMT_UYVY8_1X16,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_VYUY8_1X16, {\n-\t\t.name = \"VYUY8_1X16\",\n-\t\t.code = MEDIA_BUS_FMT_VYUY8_1X16,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YUYV8_1X16, {\n-\t\t.name = \"YUYV8_1X16\",\n-\t\t.code = MEDIA_BUS_FMT_YUYV8_1X16,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YVYU8_1X16, {\n-\t\t.name = \"YVYU8_1X16\",\n-\t\t.code = MEDIA_BUS_FMT_YVYU8_1X16,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YDYUYDYV8_1X16, {\n-\t\t.name = \"YDYUYDYV8_1X16\",\n-\t\t.code = MEDIA_BUS_FMT_YDYUYDYV8_1X16,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_UYVY10_1X20, {\n-\t\t.name = \"UYVY10_1X20\",\n-\t\t.code = MEDIA_BUS_FMT_UYVY10_1X20,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 20,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_VYUY10_1X20, {\n-\t\t.name = \"VYUY10_1X20\",\n-\t\t.code = MEDIA_BUS_FMT_VYUY10_1X20,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 20,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YUYV10_1X20, {\n-\t\t.name = \"YUYV10_1X20\",\n-\t\t.code = MEDIA_BUS_FMT_YUYV10_1X20,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 20,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YVYU10_1X20, {\n-\t\t.name = \"YVYU10_1X20\",\n-\t\t.code = MEDIA_BUS_FMT_YVYU10_1X20,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 20,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YUV8_1X24, {\n-\t\t.name = \"YUV8_1X24\",\n-\t\t.code = MEDIA_BUS_FMT_YUV8_1X24,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 24,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YUV10_1X30, {\n-\t\t.name = \"YUV10_1X30\",\n-\t\t.code = MEDIA_BUS_FMT_YUV10_1X30,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 30,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_AYUV8_1X32, {\n-\t\t.name = \"AYUV8_1X32\",\n-\t\t.code = MEDIA_BUS_FMT_AYUV8_1X32,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 32,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_UYVY12_2X12, {\n-\t\t.name = \"UYVY12_2X12\",\n-\t\t.code = MEDIA_BUS_FMT_UYVY12_2X12,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 24,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_VYUY12_2X12, {\n-\t\t.name = \"VYUY12_2X12\",\n-\t\t.code = MEDIA_BUS_FMT_VYUY12_2X12,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 24,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YUYV12_2X12, {\n-\t\t.name = \"YUYV12_2X12\",\n-\t\t.code = MEDIA_BUS_FMT_YUYV12_2X12,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 24,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YVYU12_2X12, {\n-\t\t.name = \"YVYU12_2X12\",\n-\t\t.code = MEDIA_BUS_FMT_YVYU12_2X12,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 24,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_UYVY12_1X24, {\n-\t\t.name = \"UYVY12_1X24\",\n-\t\t.code = MEDIA_BUS_FMT_UYVY12_1X24,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 24,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_VYUY12_1X24, {\n-\t\t.name = \"VYUY12_1X24\",\n-\t\t.code = MEDIA_BUS_FMT_VYUY12_1X24,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 24,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YUYV12_1X24, {\n-\t\t.name = \"YUYV12_1X24\",\n-\t\t.code = MEDIA_BUS_FMT_YUYV12_1X24,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 24,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_YVYU12_1X24, {\n-\t\t.name = \"YVYU12_1X24\",\n-\t\t.code = MEDIA_BUS_FMT_YVYU12_1X24,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 24,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SBGGR8_1X8, {\n-\t\t.name = \"SBGGR8_1X8\",\n-\t\t.code = MEDIA_BUS_FMT_SBGGR8_1X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 8,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SGBRG8_1X8, {\n-\t\t.name = \"SGBRG8_1X8\",\n-\t\t.code = MEDIA_BUS_FMT_SGBRG8_1X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 8,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SGRBG8_1X8, {\n-\t\t.name = \"SGRBG8_1X8\",\n-\t\t.code = MEDIA_BUS_FMT_SGRBG8_1X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 8,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SRGGB8_1X8, {\n-\t\t.name = \"SRGGB8_1X8\",\n-\t\t.code = MEDIA_BUS_FMT_SRGGB8_1X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 8,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SBGGR10_ALAW8_1X8, {\n-\t\t.name = \"SBGGR10_ALAW8_1X8\",\n-\t\t.code = MEDIA_BUS_FMT_SBGGR10_ALAW8_1X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 8,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SGBRG10_ALAW8_1X8, {\n-\t\t.name = \"SGBRG10_ALAW8_1X8\",\n-\t\t.code = MEDIA_BUS_FMT_SGBRG10_ALAW8_1X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 8,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SGRBG10_ALAW8_1X8, {\n-\t\t.name = \"SGRBG10_ALAW8_1X8\",\n-\t\t.code = MEDIA_BUS_FMT_SGRBG10_ALAW8_1X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 8,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SRGGB10_ALAW8_1X8, {\n-\t\t.name = \"SRGGB10_ALAW8_1X8\",\n-\t\t.code = MEDIA_BUS_FMT_SRGGB10_ALAW8_1X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 8,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SBGGR10_DPCM8_1X8, {\n-\t\t.name = \"SBGGR10_DPCM8_1X8\",\n-\t\t.code = MEDIA_BUS_FMT_SBGGR10_DPCM8_1X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 8,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SGBRG10_DPCM8_1X8, {\n-\t\t.name = \"SGBRG10_DPCM8_1X8\",\n-\t\t.code = MEDIA_BUS_FMT_SGBRG10_DPCM8_1X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 8,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8, {\n-\t\t.name = \"SGRBG10_DPCM8_1X8\",\n-\t\t.code = MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 8,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SRGGB10_DPCM8_1X8, {\n-\t\t.name = \"SRGGB10_DPCM8_1X8\",\n-\t\t.code = MEDIA_BUS_FMT_SRGGB10_DPCM8_1X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 8,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_BE, {\n-\t\t.name = \"SBGGR10_2X8_PADHI_BE\",\n-\t\t.code = MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_BE,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE, {\n-\t\t.name = \"SBGGR10_2X8_PADHI_LE\",\n-\t\t.code = MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_BE, {\n-\t\t.name = \"SBGGR10_2X8_PADLO_BE\",\n-\t\t.code = MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_BE,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_LE, {\n-\t\t.name = \"SBGGR10_2X8_PADLO_LE\",\n-\t\t.code = MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_LE,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SBGGR10_1X10, {\n-\t\t.name = \"SBGGR10_1X10\",\n-\t\t.code = MEDIA_BUS_FMT_SBGGR10_1X10,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 10,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SGBRG10_1X10, {\n-\t\t.name = \"SGBRG10_1X10\",\n-\t\t.code = MEDIA_BUS_FMT_SGBRG10_1X10,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 10,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SGRBG10_1X10, {\n-\t\t.name = \"SGRBG10_1X10\",\n-\t\t.code = MEDIA_BUS_FMT_SGRBG10_1X10,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 10,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SRGGB10_1X10, {\n-\t\t.name = \"SRGGB10_1X10\",\n-\t\t.code = MEDIA_BUS_FMT_SRGGB10_1X10,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 10,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SBGGR12_1X12, {\n-\t\t.name = \"SBGGR12_1X12\",\n-\t\t.code = MEDIA_BUS_FMT_SBGGR12_1X12,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 12,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SGBRG12_1X12, {\n-\t\t.name = \"SGBRG12_1X12\",\n-\t\t.code = MEDIA_BUS_FMT_SGBRG12_1X12,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 12,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SGRBG12_1X12, {\n-\t\t.name = \"SGRBG12_1X12\",\n-\t\t.code = MEDIA_BUS_FMT_SGRBG12_1X12,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 12,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SRGGB12_1X12, {\n-\t\t.name = \"SRGGB12_1X12\",\n-\t\t.code = MEDIA_BUS_FMT_SRGGB12_1X12,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 12,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SBGGR14_1X14, {\n-\t\t.name = \"SBGGR14_1X14\",\n-\t\t.code = MEDIA_BUS_FMT_SBGGR14_1X14,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 14,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SGBRG14_1X14, {\n-\t\t.name = \"SGBRG14_1X14\",\n-\t\t.code = MEDIA_BUS_FMT_SGBRG14_1X14,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 14,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SGRBG14_1X14, {\n-\t\t.name = \"SGRBG14_1X14\",\n-\t\t.code = MEDIA_BUS_FMT_SGRBG14_1X14,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 14,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SRGGB14_1X14, {\n-\t\t.name = \"SRGGB14_1X14\",\n-\t\t.code = MEDIA_BUS_FMT_SRGGB14_1X14,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 14,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n-\t{ MEDIA_BUS_FMT_SBGGR16_1X16, {\n-\t\t.name = \"SBGGR16_1X16\",\n-\t\t.code = MEDIA_BUS_FMT_SBGGR16_1X16,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW\n-\t} },\n-\t{ MEDIA_BUS_FMT_SGBRG16_1X16, {\n-\t\t.name = \"SGBRG16_1X16\",\n-\t\t.code = MEDIA_BUS_FMT_SGBRG16_1X16,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW\n-\t} },\n-\t{ MEDIA_BUS_FMT_SGRBG16_1X16, {\n-\t\t.name = \"SGRBG16_1X16\",\n-\t\t.code = MEDIA_BUS_FMT_SGRBG16_1X16,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW\n-\t} },\n-\t{ MEDIA_BUS_FMT_SRGGB16_1X16, {\n-\t\t.name = \"SRGGB16_1X16\",\n-\t\t.code = MEDIA_BUS_FMT_SRGGB16_1X16,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 16,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW\n-\t} },\n+\t{ MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE,\n+\t {\n+\t\t .name = \"RGB444_2X8_PADHI_BE\",\n+\t\t .code = MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n+\t } },\n+\t{ MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE,\n+\t {\n+\t\t .name = \"RGB444_2X8_PADHI_LE\",\n+\t\t .code = MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n+\t } },\n+\t{ MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE,\n+\t {\n+\t\t .name = \"RGB555_2X8_PADHI_BE\",\n+\t\t .code = MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n+\t } },\n+\t{ MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE,\n+\t {\n+\t\t .name = \"RGB555_2X8_PADHI_LE\",\n+\t\t .code = MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n+\t } },\n+\t{ MEDIA_BUS_FMT_RGB565_1X16,\n+\t {\n+\t\t .name = \"RGB565_1X16\",\n+\t\t .code = MEDIA_BUS_FMT_RGB565_1X16,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n+\t } },\n+\t{ MEDIA_BUS_FMT_BGR565_2X8_BE,\n+\t {\n+\t\t .name = \"BGR565_2X8_BE\",\n+\t\t .code = MEDIA_BUS_FMT_BGR565_2X8_BE,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n+\t } },\n+\t{ MEDIA_BUS_FMT_BGR565_2X8_LE,\n+\t {\n+\t\t .name = \"BGR565_2X8_LE\",\n+\t\t .code = MEDIA_BUS_FMT_BGR565_2X8_LE,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n+\t } },\n+\t{ MEDIA_BUS_FMT_RGB565_2X8_BE,\n+\t {\n+\t\t .name = \"RGB565_2X8_BE\",\n+\t\t .code = MEDIA_BUS_FMT_RGB565_2X8_BE,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n+\t } },\n+\t{ MEDIA_BUS_FMT_RGB565_2X8_LE,\n+\t {\n+\t\t .name = \"RGB565_2X8_LE\",\n+\t\t .code = MEDIA_BUS_FMT_RGB565_2X8_LE,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n+\t } },\n+\t{ MEDIA_BUS_FMT_RGB666_1X18,\n+\t {\n+\t\t .name = \"RGB666_1X18\",\n+\t\t .code = MEDIA_BUS_FMT_RGB666_1X18,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 18,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n+\t } },\n+\t{ MEDIA_BUS_FMT_BGR888_1X24,\n+\t {\n+\t\t .name = \"BGR888_1X24\",\n+\t\t .code = MEDIA_BUS_FMT_BGR888_1X24,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 24,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n+\t } },\n+\t{ MEDIA_BUS_FMT_RGB888_1X24,\n+\t {\n+\t\t .name = \"RGB888_1X24\",\n+\t\t .code = MEDIA_BUS_FMT_RGB888_1X24,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 24,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n+\t } },\n+\t{ MEDIA_BUS_FMT_RGB888_2X12_BE,\n+\t {\n+\t\t .name = \"RGB888_2X12_BE\",\n+\t\t .code = MEDIA_BUS_FMT_RGB888_2X12_BE,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 24,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n+\t } },\n+\t{ MEDIA_BUS_FMT_RGB888_2X12_LE,\n+\t {\n+\t\t .name = \"RGB888_2X12_LE\",\n+\t\t .code = MEDIA_BUS_FMT_RGB888_2X12_LE,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 24,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n+\t } },\n+\t{ MEDIA_BUS_FMT_ARGB8888_1X32,\n+\t {\n+\t\t .name = \"ARGB8888_1X32\",\n+\t\t .code = MEDIA_BUS_FMT_ARGB8888_1X32,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 32,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n+\t } },\n+\t{ MEDIA_BUS_FMT_Y8_1X8,\n+\t {\n+\t\t .name = \"Y8_1X8\",\n+\t\t .code = MEDIA_BUS_FMT_Y8_1X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 8,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_UV8_1X8,\n+\t {\n+\t\t .name = \"UV8_1X8\",\n+\t\t .code = MEDIA_BUS_FMT_UV8_1X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 8,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_UYVY8_1_5X8,\n+\t {\n+\t\t .name = \"UYVY8_1_5X8\",\n+\t\t .code = MEDIA_BUS_FMT_UYVY8_1_5X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 12,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_VYUY8_1_5X8,\n+\t {\n+\t\t .name = \"VYUY8_1_5X8\",\n+\t\t .code = MEDIA_BUS_FMT_VYUY8_1_5X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 12,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YUYV8_1_5X8,\n+\t {\n+\t\t .name = \"YUYV8_1_5X8\",\n+\t\t .code = MEDIA_BUS_FMT_YUYV8_1_5X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 12,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YVYU8_1_5X8,\n+\t {\n+\t\t .name = \"YVYU8_1_5X8\",\n+\t\t .code = MEDIA_BUS_FMT_YVYU8_1_5X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 12,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_UYVY8_2X8,\n+\t {\n+\t\t .name = \"UYVY8_2X8\",\n+\t\t .code = MEDIA_BUS_FMT_UYVY8_2X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_VYUY8_2X8,\n+\t {\n+\t\t .name = \"VYUY8_2X8\",\n+\t\t .code = MEDIA_BUS_FMT_VYUY8_2X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YUYV8_2X8,\n+\t {\n+\t\t .name = \"YUYV8_2X8\",\n+\t\t .code = MEDIA_BUS_FMT_YUYV8_2X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YVYU8_2X8,\n+\t {\n+\t\t .name = \"YVYU8_2X8\",\n+\t\t .code = MEDIA_BUS_FMT_YVYU8_2X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_Y10_1X10,\n+\t {\n+\t\t .name = \"Y10_1X10\",\n+\t\t .code = MEDIA_BUS_FMT_Y10_1X10,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 10,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_UYVY10_2X10,\n+\t {\n+\t\t .name = \"UYVY10_2X10\",\n+\t\t .code = MEDIA_BUS_FMT_UYVY10_2X10,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 20,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_VYUY10_2X10,\n+\t {\n+\t\t .name = \"VYUY10_2X10\",\n+\t\t .code = MEDIA_BUS_FMT_VYUY10_2X10,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 20,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YUYV10_2X10,\n+\t {\n+\t\t .name = \"YUYV10_2X10\",\n+\t\t .code = MEDIA_BUS_FMT_YUYV10_2X10,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 20,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YVYU10_2X10,\n+\t {\n+\t\t .name = \"YVYU10_2X10\",\n+\t\t .code = MEDIA_BUS_FMT_YVYU10_2X10,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 20,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_Y12_1X12,\n+\t {\n+\t\t .name = \"Y12_1X12\",\n+\t\t .code = MEDIA_BUS_FMT_Y12_1X12,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 12,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_Y16_1X16,\n+\t {\n+\t\t .name = \"Y16_1X16\",\n+\t\t .code = MEDIA_BUS_FMT_Y16_1X16,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_UYVY8_1X16,\n+\t {\n+\t\t .name = \"UYVY8_1X16\",\n+\t\t .code = MEDIA_BUS_FMT_UYVY8_1X16,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_VYUY8_1X16,\n+\t {\n+\t\t .name = \"VYUY8_1X16\",\n+\t\t .code = MEDIA_BUS_FMT_VYUY8_1X16,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YUYV8_1X16,\n+\t {\n+\t\t .name = \"YUYV8_1X16\",\n+\t\t .code = MEDIA_BUS_FMT_YUYV8_1X16,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YVYU8_1X16,\n+\t {\n+\t\t .name = \"YVYU8_1X16\",\n+\t\t .code = MEDIA_BUS_FMT_YVYU8_1X16,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YDYUYDYV8_1X16,\n+\t {\n+\t\t .name = \"YDYUYDYV8_1X16\",\n+\t\t .code = MEDIA_BUS_FMT_YDYUYDYV8_1X16,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_UYVY10_1X20,\n+\t {\n+\t\t .name = \"UYVY10_1X20\",\n+\t\t .code = MEDIA_BUS_FMT_UYVY10_1X20,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 20,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_VYUY10_1X20,\n+\t {\n+\t\t .name = \"VYUY10_1X20\",\n+\t\t .code = MEDIA_BUS_FMT_VYUY10_1X20,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 20,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YUYV10_1X20,\n+\t {\n+\t\t .name = \"YUYV10_1X20\",\n+\t\t .code = MEDIA_BUS_FMT_YUYV10_1X20,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 20,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YVYU10_1X20,\n+\t {\n+\t\t .name = \"YVYU10_1X20\",\n+\t\t .code = MEDIA_BUS_FMT_YVYU10_1X20,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 20,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YUV8_1X24,\n+\t {\n+\t\t .name = \"YUV8_1X24\",\n+\t\t .code = MEDIA_BUS_FMT_YUV8_1X24,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 24,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YUV10_1X30,\n+\t {\n+\t\t .name = \"YUV10_1X30\",\n+\t\t .code = MEDIA_BUS_FMT_YUV10_1X30,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 30,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_AYUV8_1X32,\n+\t {\n+\t\t .name = \"AYUV8_1X32\",\n+\t\t .code = MEDIA_BUS_FMT_AYUV8_1X32,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 32,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_UYVY12_2X12,\n+\t {\n+\t\t .name = \"UYVY12_2X12\",\n+\t\t .code = MEDIA_BUS_FMT_UYVY12_2X12,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 24,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_VYUY12_2X12,\n+\t {\n+\t\t .name = \"VYUY12_2X12\",\n+\t\t .code = MEDIA_BUS_FMT_VYUY12_2X12,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 24,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YUYV12_2X12,\n+\t {\n+\t\t .name = \"YUYV12_2X12\",\n+\t\t .code = MEDIA_BUS_FMT_YUYV12_2X12,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 24,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YVYU12_2X12,\n+\t {\n+\t\t .name = \"YVYU12_2X12\",\n+\t\t .code = MEDIA_BUS_FMT_YVYU12_2X12,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 24,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_UYVY12_1X24,\n+\t {\n+\t\t .name = \"UYVY12_1X24\",\n+\t\t .code = MEDIA_BUS_FMT_UYVY12_1X24,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 24,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_VYUY12_1X24,\n+\t {\n+\t\t .name = \"VYUY12_1X24\",\n+\t\t .code = MEDIA_BUS_FMT_VYUY12_1X24,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 24,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YUYV12_1X24,\n+\t {\n+\t\t .name = \"YUYV12_1X24\",\n+\t\t .code = MEDIA_BUS_FMT_YUYV12_1X24,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 24,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_YVYU12_1X24,\n+\t {\n+\t\t .name = \"YVYU12_1X24\",\n+\t\t .code = MEDIA_BUS_FMT_YVYU12_1X24,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 24,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SBGGR8_1X8,\n+\t {\n+\t\t .name = \"SBGGR8_1X8\",\n+\t\t .code = MEDIA_BUS_FMT_SBGGR8_1X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 8,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SGBRG8_1X8,\n+\t {\n+\t\t .name = \"SGBRG8_1X8\",\n+\t\t .code = MEDIA_BUS_FMT_SGBRG8_1X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 8,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SGRBG8_1X8,\n+\t {\n+\t\t .name = \"SGRBG8_1X8\",\n+\t\t .code = MEDIA_BUS_FMT_SGRBG8_1X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 8,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SRGGB8_1X8,\n+\t {\n+\t\t .name = \"SRGGB8_1X8\",\n+\t\t .code = MEDIA_BUS_FMT_SRGGB8_1X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 8,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SBGGR10_ALAW8_1X8,\n+\t {\n+\t\t .name = \"SBGGR10_ALAW8_1X8\",\n+\t\t .code = MEDIA_BUS_FMT_SBGGR10_ALAW8_1X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 8,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SGBRG10_ALAW8_1X8,\n+\t {\n+\t\t .name = \"SGBRG10_ALAW8_1X8\",\n+\t\t .code = MEDIA_BUS_FMT_SGBRG10_ALAW8_1X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 8,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SGRBG10_ALAW8_1X8,\n+\t {\n+\t\t .name = \"SGRBG10_ALAW8_1X8\",\n+\t\t .code = MEDIA_BUS_FMT_SGRBG10_ALAW8_1X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 8,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SRGGB10_ALAW8_1X8,\n+\t {\n+\t\t .name = \"SRGGB10_ALAW8_1X8\",\n+\t\t .code = MEDIA_BUS_FMT_SRGGB10_ALAW8_1X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 8,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SBGGR10_DPCM8_1X8,\n+\t {\n+\t\t .name = \"SBGGR10_DPCM8_1X8\",\n+\t\t .code = MEDIA_BUS_FMT_SBGGR10_DPCM8_1X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 8,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SGBRG10_DPCM8_1X8,\n+\t {\n+\t\t .name = \"SGBRG10_DPCM8_1X8\",\n+\t\t .code = MEDIA_BUS_FMT_SGBRG10_DPCM8_1X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 8,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8,\n+\t {\n+\t\t .name = \"SGRBG10_DPCM8_1X8\",\n+\t\t .code = MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 8,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SRGGB10_DPCM8_1X8,\n+\t {\n+\t\t .name = \"SRGGB10_DPCM8_1X8\",\n+\t\t .code = MEDIA_BUS_FMT_SRGGB10_DPCM8_1X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 8,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_BE,\n+\t {\n+\t\t .name = \"SBGGR10_2X8_PADHI_BE\",\n+\t\t .code = MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_BE,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE,\n+\t {\n+\t\t .name = \"SBGGR10_2X8_PADHI_LE\",\n+\t\t .code = MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_BE,\n+\t {\n+\t\t .name = \"SBGGR10_2X8_PADLO_BE\",\n+\t\t .code = MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_BE,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_LE,\n+\t {\n+\t\t .name = \"SBGGR10_2X8_PADLO_LE\",\n+\t\t .code = MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_LE,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 16,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SBGGR10_1X10,\n+\t {\n+\t\t .name = \"SBGGR10_1X10\",\n+\t\t .code = MEDIA_BUS_FMT_SBGGR10_1X10,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 10,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SGBRG10_1X10,\n+\t {\n+\t\t .name = \"SGBRG10_1X10\",\n+\t\t .code = MEDIA_BUS_FMT_SGBRG10_1X10,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 10,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SGRBG10_1X10,\n+\t {\n+\t\t .name = \"SGRBG10_1X10\",\n+\t\t .code = MEDIA_BUS_FMT_SGRBG10_1X10,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 10,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SRGGB10_1X10,\n+\t {\n+\t\t .name = \"SRGGB10_1X10\",\n+\t\t .code = MEDIA_BUS_FMT_SRGGB10_1X10,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 10,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SBGGR12_1X12,\n+\t {\n+\t\t .name = \"SBGGR12_1X12\",\n+\t\t .code = MEDIA_BUS_FMT_SBGGR12_1X12,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 12,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SGBRG12_1X12,\n+\t {\n+\t\t .name = \"SGBRG12_1X12\",\n+\t\t .code = MEDIA_BUS_FMT_SGBRG12_1X12,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 12,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SGRBG12_1X12,\n+\t {\n+\t\t .name = \"SGRBG12_1X12\",\n+\t\t .code = MEDIA_BUS_FMT_SGRBG12_1X12,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 12,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SRGGB12_1X12,\n+\t {\n+\t\t .name = \"SRGGB12_1X12\",\n+\t\t .code = MEDIA_BUS_FMT_SRGGB12_1X12,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 12,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SBGGR14_1X14,\n+\t {\n+\t\t .name = \"SBGGR14_1X14\",\n+\t\t .code = MEDIA_BUS_FMT_SBGGR14_1X14,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 14,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SGBRG14_1X14,\n+\t {\n+\t\t .name = \"SGBRG14_1X14\",\n+\t\t .code = MEDIA_BUS_FMT_SGBRG14_1X14,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 14,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SGRBG14_1X14,\n+\t {\n+\t\t .name = \"SGRBG14_1X14\",\n+\t\t .code = MEDIA_BUS_FMT_SGRBG14_1X14,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 14,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SRGGB14_1X14,\n+\t {\n+\t\t .name = \"SRGGB14_1X14\",\n+\t\t .code = MEDIA_BUS_FMT_SRGGB14_1X14,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 14,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n+\t{ MEDIA_BUS_FMT_SBGGR16_1X16,\n+\t { .name = \"SBGGR16_1X16\",\n+\t .code = MEDIA_BUS_FMT_SBGGR16_1X16,\n+\t .type = MediaBusFormatInfo::Type::Image,\n+\t .bitsPerPixel = 16,\n+\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW } },\n+\t{ MEDIA_BUS_FMT_SGBRG16_1X16,\n+\t { .name = \"SGBRG16_1X16\",\n+\t .code = MEDIA_BUS_FMT_SGBRG16_1X16,\n+\t .type = MediaBusFormatInfo::Type::Image,\n+\t .bitsPerPixel = 16,\n+\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW } },\n+\t{ MEDIA_BUS_FMT_SGRBG16_1X16,\n+\t { .name = \"SGRBG16_1X16\",\n+\t .code = MEDIA_BUS_FMT_SGRBG16_1X16,\n+\t .type = MediaBusFormatInfo::Type::Image,\n+\t .bitsPerPixel = 16,\n+\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW } },\n+\t{ MEDIA_BUS_FMT_SRGGB16_1X16,\n+\t { .name = \"SRGGB16_1X16\",\n+\t .code = MEDIA_BUS_FMT_SRGGB16_1X16,\n+\t .type = MediaBusFormatInfo::Type::Image,\n+\t .bitsPerPixel = 16,\n+\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW } },\n \t/* \\todo Clarify colour encoding for HSV formats */\n-\t{ MEDIA_BUS_FMT_AHSV8888_1X32, {\n-\t\t.name = \"AHSV8888_1X32\",\n-\t\t.code = MEDIA_BUS_FMT_AHSV8888_1X32,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 32,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n-\t} },\n-\t{ MEDIA_BUS_FMT_JPEG_1X8, {\n-\t\t.name = \"JPEG_1X8\",\n-\t\t.code = MEDIA_BUS_FMT_JPEG_1X8,\n-\t\t.type = MediaBusFormatInfo::Type::Image,\n-\t\t.bitsPerPixel = 8,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n-\t} },\n-\t{ MEDIA_BUS_FMT_METADATA_FIXED, {\n-\t\t.name = \"METADATA_FIXED\",\n-\t\t.code = MEDIA_BUS_FMT_METADATA_FIXED,\n-\t\t.type = MediaBusFormatInfo::Type::Metadata,\n-\t\t.bitsPerPixel = 0,\n-\t\t.colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n-\t} },\n+\t{ MEDIA_BUS_FMT_AHSV8888_1X32,\n+\t {\n+\t\t .name = \"AHSV8888_1X32\",\n+\t\t .code = MEDIA_BUS_FMT_AHSV8888_1X32,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 32,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRGB,\n+\t } },\n+\t{ MEDIA_BUS_FMT_JPEG_1X8,\n+\t {\n+\t\t .name = \"JPEG_1X8\",\n+\t\t .code = MEDIA_BUS_FMT_JPEG_1X8,\n+\t\t .type = MediaBusFormatInfo::Type::Image,\n+\t\t .bitsPerPixel = 8,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingYUV,\n+\t } },\n+\t{ MEDIA_BUS_FMT_METADATA_FIXED,\n+\t {\n+\t\t .name = \"METADATA_FIXED\",\n+\t\t .code = MEDIA_BUS_FMT_METADATA_FIXED,\n+\t\t .type = MediaBusFormatInfo::Type::Metadata,\n+\t\t .bitsPerPixel = 0,\n+\t\t .colourEncoding = PixelFormatInfo::ColourEncodingRAW,\n+\t } },\n };\n \n } /* namespace */\n@@ -1037,7 +1116,8 @@ int V4L2Subdevice::open()\n \n \t/* If the subdev supports streams, enable the streams API. */\n \tif (caps_.hasStreams()) {\n-\t\tstruct v4l2_subdev_client_capability clientCaps{};\n+\t\tstruct v4l2_subdev_client_capability clientCaps {\n+\t\t};\n \t\tclientCaps.capabilities = V4L2_SUBDEV_CLIENT_CAP_STREAMS;\n \n \t\tret = ioctl(VIDIOC_SUBDEV_S_CLIENT_CAP, &clientCaps);\n@@ -1376,8 +1456,8 @@ struct v4l2_subdev_routing_legacy {\n \t__u32 reserved[6];\n };\n \n-#define VIDIOC_SUBDEV_G_ROUTING_LEGACY\t_IOWR('V', 38, struct v4l2_subdev_routing_legacy)\n-#define VIDIOC_SUBDEV_S_ROUTING_LEGACY\t_IOWR('V', 39, struct v4l2_subdev_routing_legacy)\n+#define VIDIOC_SUBDEV_G_ROUTING_LEGACY _IOWR('V', 38, struct v4l2_subdev_routing_legacy)\n+#define VIDIOC_SUBDEV_S_ROUTING_LEGACY _IOWR('V', 39, struct v4l2_subdev_routing_legacy)\n \n } /* namespace */\n \n@@ -1665,7 +1745,7 @@ std::vector<unsigned int> V4L2Subdevice::enumPadCodes(const Stream &stream)\n \tstd::vector<unsigned int> codes;\n \tint ret;\n \n-\tfor (unsigned int index = 0; ; index++) {\n+\tfor (unsigned int index = 0;; index++) {\n \t\tstruct v4l2_subdev_mbus_code_enum mbusEnum = {};\n \t\tmbusEnum.pad = stream.pad;\n \t\tmbusEnum.stream = stream.stream;\n", "prefixes": [ "v2", "12/20" ] }