{"id":13211,"url":"https://patchwork.libcamera.org/api/covers/13211/?format=json","web_url":"https://patchwork.libcamera.org/cover/13211/","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":"<20210805142154.20324-1-david.plowman@raspberrypi.com>","date":"2021-08-05T14:21:51","name":"[libcamera-devel,0/3] Colour spaces","submitter":{"id":42,"url":"https://patchwork.libcamera.org/api/people/42/?format=json","name":"David Plowman","email":"david.plowman@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/13211/mbox/","series":[{"id":2308,"url":"https://patchwork.libcamera.org/api/series/2308/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2308","date":"2021-08-05T14:21:51","name":"Colour spaces","version":1,"mbox":"https://patchwork.libcamera.org/series/2308/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/13211/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 DB8B9C3237\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu,  5 Aug 2021 14:22:00 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 24C486026D;\n\tThu,  5 Aug 2021 16:22:00 +0200 (CEST)","from mail-wr1-x435.google.com (mail-wr1-x435.google.com\n\t[IPv6:2a00:1450:4864:20::435])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id B10106026D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  5 Aug 2021 16:21:58 +0200 (CEST)","by mail-wr1-x435.google.com with SMTP id j2so6771527wrx.9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 05 Aug 2021 07:21:58 -0700 (PDT)","from pi4-davidp.pitowers.org\n\t([2a00:1098:3142:14:1ce1:9965:4328:89c4])\n\tby smtp.gmail.com with ESMTPSA id\n\tk17sm6410004wrw.53.2021.08.05.07.21.57\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 05 Aug 2021 07:21:57 -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=\"VSx4BIie\"; 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=xm5LLNex7PzNWDgg79tSJ5Cng1pkdmPeJLLDQRZuvnQ=;\n\tb=VSx4BIieR2I7uudJQ5L60YQDCGaEZA4dnJsUXPGsWEDymRJggkJzuhknkd1QfmcXnt\n\tT88QlAmULOVh7m3gxRaF4n2tA6lhOuXG16z8WEqf47n46TzU5RPH7PQNCYQ3VDfaisPe\n\t4S3sUu2zFG1LLDHmIf3ZIm9TCGZCtSVzPVEDkQS6WtJlinscJzdLOtQUb4g/T0WEHOWw\n\tDNfGiNe24BkjEZjeGtD+kNXaR+PBCWZdwScuq7bNU385uDCvVynYhNXFTzha0vtzKW1/\n\tNmeHpm7ftsNYBW3UJsv9B/3FAp5GgSD5xxKQe8dSmIz1/IK7kd54DFQaaD0SBb7JLHku\n\tSUYw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=xm5LLNex7PzNWDgg79tSJ5Cng1pkdmPeJLLDQRZuvnQ=;\n\tb=dOL2m1ZOJw9yS/VSNRNnLCiIL61xuqBWr0QJopvy6KTMqUt/zMjqe7ZJx7CFTWaz/M\n\tgk3M/QvdWESyegd/yZQu6pdTGwQtlRxPHZEa3HOn9kEHASmvu03J8k+/oMH+DI4OZDTG\n\ty8oXtd43Z+Sd19N4RWy5zwXQ2YvlMwIvXHOmjabb1jrkJlSRGr8bU3xjEAVjWH/4CK/W\n\tZo8eqUuhzWohMXdfxngi7dvHvRxSkPlm7A4xF0roXM7ixpy9SMnUspkRhjsxqc2AIOBr\n\tjTwZ6rEp6Z9Yi/PYN+YqclP+oGRCDIaEMahcfw+5JhbNWLAAJ6A09oTYUqftRnNwKng0\n\t3lPg==","X-Gm-Message-State":"AOAM531MaAHDy/uC5zRKivLJl9mO0b1OaZcZ72WRl+9IfoMWzQ1HOvPu\n\tkazHgV4TM+iLMj0p+ooPYynsFE3cDjpZ0A==","X-Google-Smtp-Source":"ABdhPJzBmF3R1BT9fdZHdrM9L5ax8iQ8Tj4LqQIBMuwFZBrtFVga2XViiBOPD1WQlCOlMLBzzAxNHg==","X-Received":"by 2002:a5d:4f0c:: with SMTP id c12mr5750376wru.63.1628173318126;\n\tThu, 05 Aug 2021 07:21:58 -0700 (PDT)","From":"David Plowman <david.plowman@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Thu,  5 Aug 2021 15:21:51 +0100","Message-Id":"<20210805142154.20324-1-david.plowman@raspberrypi.com>","X-Mailer":"git-send-email 2.20.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 0/3] Colour spaces","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 everyone\n\nIn view of the discussion the other day, I thought perhaps I should\n\"de-RFC\" these patches. There are no code changes beyond a very few\ncosmetic things, and I added the missing documentation.\n\nAs such the patches are still:\n\n1. Add the ColorSpace class.\n2. Support the ColorSpace in V4L2VideoDevice.\n3. Add ColorSpace support to RPi pipeline handler.\n\nThanks!\nDavid\n\nDavid Plowman (3):\n  libcamera: Add ColorSpace class\n  libcamera: Support passing ColorSpaces to V4L2 drivers\n  libcamera: pipeline: raspberrypi: Support colour spaces\n\n include/libcamera/color_space.h               |  94 +++++++++\n include/libcamera/internal/v4l2_videodevice.h |   2 +\n include/libcamera/meson.build                 |   1 +\n include/libcamera/stream.h                    |   3 +\n src/libcamera/color_space.cpp                 | 180 ++++++++++++++++++\n src/libcamera/meson.build                     |   1 +\n .../pipeline/raspberrypi/raspberrypi.cpp      |  84 ++++++++\n src/libcamera/v4l2_videodevice.cpp            | 117 ++++++++++++\n 8 files changed, 482 insertions(+)\n create mode 100644 include/libcamera/color_space.h\n create mode 100644 src/libcamera/color_space.cpp"}