{"id":14435,"url":"https://patchwork.libcamera.org/api/covers/14435/?format=json","web_url":"https://patchwork.libcamera.org/cover/14435/","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":"<20211101091510.23204-1-naush@raspberrypi.com>","date":"2021-11-01T09:14:59","name":"[libcamera-devel,v5,00/11] Raspberry Pi: Conversion to media controller","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/14435/mbox/","series":[{"id":2684,"url":"https://patchwork.libcamera.org/api/series/2684/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2684","date":"2021-11-01T09:14:59","name":"Raspberry Pi: Conversion to media controller","version":5,"mbox":"https://patchwork.libcamera.org/series/2684/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/14435/comments/","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 EA059BDB1C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon,  1 Nov 2021 09:15:16 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 1D4A6600C6;\n\tMon,  1 Nov 2021 10:15:16 +0100 (CET)","from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com\n\t[IPv6:2a00:1450:4864:20::32d])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 68942600BB\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  1 Nov 2021 10:15:14 +0100 (CET)","by mail-wm1-x32d.google.com with SMTP id\n\tb2-20020a1c8002000000b0032fb900951eso8520582wmd.4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 01 Nov 2021 02:15:14 -0700 (PDT)","from naush-laptop.pitowers.org\n\t([2a00:1098:3142:14:3a2b:9d8c:92b9:ece6])\n\tby smtp.gmail.com with ESMTPSA id\n\tw10sm13168849wrq.88.2021.11.01.02.15.12\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 01 Nov 2021 02:15:12 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"D5n0g+zb\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=aZjt5ImkJcTIe1cBJ7Zdc0D2f+3R0iuFERB6jh0Fjk8=;\n\tb=D5n0g+zb+0qP5wLXWq4R1klSe0dPjHb/n67G1ngtLwWJVFjrrhtCjEjsItwbkHUqDa\n\tNxITv9BDkE0uTTDimo2h3ibd75i/DeY2n+X3u9Wze2k6Add4mtFEPgIjy7NITIOzYf/b\n\tuH7cdMSoPv9ncsd3Z2dtz0jA9JUAMDEsX2RKlSFzRf6YSGy9m/fYvAhbPeuXrgIzDNS5\n\tLi1U/orH9T2YeCEQgv+8NnMoz8VbrM4gn81gZFwL0YoRnYuJjaylUHyISONBAsbAu001\n\t/NnTPFG4syjZzAU+Yv91HfHiZxkxw/zsZFo/6gYwUCaNGl0qga+MuhQZxzBH2EevHQD8\n\tIN7A==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=aZjt5ImkJcTIe1cBJ7Zdc0D2f+3R0iuFERB6jh0Fjk8=;\n\tb=Cu1iQoj7/Wriy4nC4LtjZUXAmKkrLmW96yXalca6engzIFYVdwtEEfjJrcykkds2o0\n\twAIXsR2FqqI4gM07HwFO5aXmfSvCpm3dDfObPR5LH340WzNa/CNIViDMBiAT8iQeSVln\n\t2G2R84QdDOXNKpdAuuaOlowALFF1jqGI/PpB8QBhqGkCSRUrz5Q8Tb/qRAifvWGwWcLh\n\t+sfR39bP9jw1ABkinXGs47zUm0FwmMBZagjKq91lkXEL3nwGp14h7XoLZjkQnAeNxIOp\n\tvSDQxgdcB/vg9OucWaOgwfvzhbgdl1nK3232mWgdxe4sp2akrVGkpH+BXepra58CVEQm\n\t2/hA==","X-Gm-Message-State":"AOAM531x8PsKx2Za9q9XAFfuNgJ8Gob4FPpMN6XJUE2fMfNT4dQTS9tu\n\tkhCCVl//+LMCZ0KW0BqL1rY7t0+9eWoiMw37","X-Google-Smtp-Source":"ABdhPJwYsBoFbOIEXJJEHshETFOBS9qPUpFt5XFrPOq2x8r9Bk+EFr8+pCRLWLSdDrFOezyX0xwuCQ==","X-Received":"by 2002:a1c:2b81:: with SMTP id\n\tr123mr30993413wmr.136.1635758113351; \n\tMon, 01 Nov 2021 02:15:13 -0700 (PDT)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Mon,  1 Nov 2021 09:14:59 +0000","Message-Id":"<20211101091510.23204-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v5 00/11] Raspberry Pi: Conversion to\n\tmedia controller","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":"Hi,\n\nVersion 5 of this patch series address the following:\n- Create a separate patch (6/11) for adding 10-bit unpacked mono to the BayerFormat conversion table.\n- Fix the copy/paste error in the R10_CSI2P format for the pixelsPerGroup and planes fields.\n- Rename sensorPixFormat to unicamPixFormat in patch 9/11.\n\nI think that captures all the feedback comments given for version 4.\n\nThanks,\nNaush\n\nLaurent Pinchart (3):\n  include: drm_fourcc: Add R10 and R12 FourCC\n  libcamera: formats: Add R10 and R12 formats\n  libcamera: bayer_format: Turn BayerFormat::Packing into scoped enum\n\nNaushir Patuck (8):\n  libcamera: formats: Add R10_CSI2P format\n  libcamera: bayer_format: Rework BayerFormat conversion table\n  libcamera: bayer_format: Add unpacked mono 10-bit format to the\n    conversion table\n  libcamera: bayer_format: Add PixelFormat conversion helpers to\n    BayerFormat class\n  pipeline: raspberrypi: Apply sensor flips at the start of configure()\n  pipeline: raspberrypi: Convert the pipeline handler to use media\n    controller\n  pipeline: raspberrypi: Remove \"unpacked\" format penalty in mode\n    selection\n  pipeline: raspberrypi: Account for a missing Unicam embedded data node\n\n include/libcamera/internal/bayer_format.h     |  10 +-\n include/linux/drm_fourcc.h                    |   6 +\n src/libcamera/bayer_format.cpp                | 219 ++++++++++------\n src/libcamera/formats.cpp                     |  39 +++\n src/libcamera/formats.yaml                    |   8 +\n .../pipeline/raspberrypi/raspberrypi.cpp      | 244 +++++++++++-------\n src/libcamera/v4l2_pixelformat.cpp            |   4 +\n test/bayer-format.cpp                         |  28 +-\n 8 files changed, 366 insertions(+), 192 deletions(-)"}