{"id":17125,"url":"https://patchwork.libcamera.org/api/1.1/covers/17125/?format=json","web_url":"https://patchwork.libcamera.org/cover/17125/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/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":"<20220815141637.4159-1-david.plowman@raspberrypi.com>","date":"2022-08-15T14:16:36","name":"[libcamera-devel,0/1] Raspberry Pi: handle monochrome raw formats correctly","submitter":{"id":42,"url":"https://patchwork.libcamera.org/api/1.1/people/42/?format=json","name":"David Plowman","email":"david.plowman@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/17125/mbox/","series":[{"id":3417,"url":"https://patchwork.libcamera.org/api/1.1/series/3417/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3417","date":"2022-08-15T14:16:36","name":"Raspberry Pi: handle monochrome raw formats correctly","version":1,"mbox":"https://patchwork.libcamera.org/series/3417/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/17125/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 56E72C3272\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 15 Aug 2022 14:16:44 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id AE11761FBD;\n\tMon, 15 Aug 2022 16:16:43 +0200 (CEST)","from mail-wr1-x436.google.com (mail-wr1-x436.google.com\n\t[IPv6:2a00:1450:4864:20::436])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 5841061FB9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 15 Aug 2022 16:16:41 +0200 (CEST)","by mail-wr1-x436.google.com with SMTP id n4so9202421wrp.10\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 15 Aug 2022 07:16:41 -0700 (PDT)","from pi4-davidp.pitowers.org\n\t([2a00:1098:3142:14:e4a2:3070:eea4:e434])\n\tby smtp.gmail.com with ESMTPSA id\n\tbk12-20020a0560001d8c00b0021f0ff1bc6csm7294282wrb.41.2022.08.15.07.16.40\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 15 Aug 2022 07:16:40 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1660573003;\n\tbh=J0HIxsPnGpCyUH+SS9ooLdJb6/bN/AydjTixGE1jLQg=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=WnkZJx/N4AQiCSGYfbgmT/0FQO28hfdbIOaZFMdTpQSVgl3y86fUsPkEjTZZKqY0u\n\td4RmToRDRrK+ECXtEYB+R0d4k3Ub2nieEYFHQVVvlexFUZW2zSI8X60cup+RsNhPdl\n\tad8T379qfHUG8N/QrB9m0W8w7QeNP+A75jAbvoDA2hUF07PEcp005OXI4k1muzsPB0\n\tsCg1cB9FkF/t1W2PQ8NjK/lQD69iH4ocG3Usoh14j3QRQneIDRRAlfXIwg/m955qol\n\t4Mvv7ZryvXHCxwmi8HEIESZXyOlmIKVoRpRD9baKNktdAWSRFacl1oAwURMni1y95I\n\tx62V9YcjN0+cg==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:from:to:cc;\n\tbh=GmFck5cTsXiZRMm1LHiS6TAqnWkDN6MrPxf/ZsiyS7Q=;\n\tb=KRJKx5VlipB05C6qHie4j8Iz9xTK3oeccAk5SvFTmjUNe3thTqfJKDGfgGdPKukIxb\n\t68HttFrjE29f68jKANsiEf4GHLjW5WfrZYuk9Zk4cJ7CbxoyvXlIO/o+GK5zuAALW4S1\n\tBTxBHXjM2MufxN/bq/z0iILqnEF0vsngpfckqLfwV8A7bukMZ8y9nC7Hb6UEGlm+wOqU\n\thHXh/8xOGJZeUtRkGtJq+eZtWj/ybqrBhl87/8v6b0LjErFJBLNEYm6GM7oNfQVmV4G6\n\tvTrJAa68twpZXOasGM/HENq7soywbsJhq66s1t4ckYa+qqwwVY5nxoL4wfjfKWcYwocl\n\tJXnw=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"KRJKx5Vl\"; dkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc\n\t:to:from:x-gm-message-state:from:to:cc;\n\tbh=GmFck5cTsXiZRMm1LHiS6TAqnWkDN6MrPxf/ZsiyS7Q=;\n\tb=Xm/+t0SufgXPmhbjVWzaEhKeDRn6E7+yTc/GSoX3SDP813iqbaN1G+y6QJ8zBG6dLB\n\tzEZ5ON9mkikxG02Ypjend0I9z/3GrQWQip+F0n4YUVze8VKxTHE3h2F2BhGzrud9YVpw\n\tJ9sGDB9Zgz6VKq3ByhrQwuPQSBewhc0wYs7ng1f5wx2u32d8ED8r9BeaJDAIvztHi4xX\n\tl9yc7i5GqyBNUM+7UCsdT2ilQB0O60R0Z9RNpr5Ropp2j3MFPJs/DhbptUv9dwbVrdmY\n\tjNpJd1Sr9adK+XrlZnzxpg1K8tH0hgMrFp20aHyekSkMcIlOcNregIPNdpyI53RfAaeY\n\tp4BA==","X-Gm-Message-State":"ACgBeo3xQvezEyh7JgMXMIHHG+7jWHNZuHvs0N996tnTCvQp9qoA9jHC\n\thwaeegYVF11vxd/oYHT417tob3AB8m7E7g==","X-Google-Smtp-Source":"AA6agR4/zWaktaKspYYqdSH5BzguIno/vyJXVpDbwNhAsr3gcs24Vn4Fj9bURCpg/Wcy1Jq9SySp7g==","X-Received":"by 2002:adf:f188:0:b0:224:f6d7:3100 with SMTP id\n\th8-20020adff188000000b00224f6d73100mr5102885wro.542.1660573000592; \n\tMon, 15 Aug 2022 07:16:40 -0700 (PDT)","To":"libcamera-devel@lists.libcamera.org","Date":"Mon, 15 Aug 2022 15:16:36 +0100","Message-Id":"<20220815141637.4159-1-david.plowman@raspberrypi.com>","X-Mailer":"git-send-email 2.30.2","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 0/1] Raspberry Pi: handle monochrome raw\n\tformats correctly","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>","From":"David Plowman via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"David Plowman <david.plowman@raspberrypi.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi everyone\n\nThis is actually a replacement patch for one from an earlier set,\nwhere I had changed the \"R\" (greyscale) pixel format colour space from\nYUV to RAW. But it seems that some platforms are handling non-raw\ngreyscale sensors, so this would cause a regression.\n\nI did at one point suggest altering the PixelFormat class, but I'm\nguessing there may not be a huge amount of enthusiasm for that, so\nthis seems like a reasonable workaround for the Raspberry Pi. Please\nlet me know what you think.\n\nThanks!\nDavid\n\n\nDavid Plowman (1):\n  pipeline: raspberrypi: Detect monochrome \"R\" formats as being raw\n\n src/libcamera/pipeline/raspberrypi/raspberrypi.cpp | 14 ++------------\n 1 file changed, 2 insertions(+), 12 deletions(-)"}