{"id":17249,"url":"https://patchwork.libcamera.org/api/1.1/covers/17249/?format=json","web_url":"https://patchwork.libcamera.org/cover/17249/","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":"<20220830074725.1059643-1-umang.jain@ideasonboard.com>","date":"2022-08-30T07:47:18","name":"[libcamera-devel,v4,0/7] Colospace adjustment and gstreamer mapping","submitter":{"id":86,"url":"https://patchwork.libcamera.org/api/1.1/people/86/?format=json","name":"Umang Jain","email":"umang.jain@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/17249/mbox/","series":[{"id":3452,"url":"https://patchwork.libcamera.org/api/1.1/series/3452/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3452","date":"2022-08-30T07:47:18","name":"Colospace adjustment and gstreamer mapping","version":4,"mbox":"https://patchwork.libcamera.org/series/3452/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/17249/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 33E81C3272\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 30 Aug 2022 07:47:37 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id AF59F61FC1;\n\tTue, 30 Aug 2022 09:47:36 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 58E2361FB9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 30 Aug 2022 09:47:35 +0200 (CEST)","from umang.jainideasonboard.com (unknown\n\t[IPv6:2401:4900:1f3f:1548:78ac:4a3:edc3:c28a])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 75D6F481;\n\tTue, 30 Aug 2022 09:47:33 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1661845656;\n\tbh=xQD8h5Gx1QhGF0KFXjNYLLQVvdsWreWj8I+7W+QAR9A=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:Cc:From;\n\tb=M0xz4Nut1M9+YCsr2QaMrbVf333Y//WaT3EEyttnY8dl1JA+lEX9bbw9/cVjP8U7I\n\tFP+jBlI/dJagxOE/usAcyeqzzc2pby/56YL+tGrtw+eREOv4mLB92adNEQKzwtICOo\n\tZ3npLLJpezzfAZpsfBQw9jcjggR7kHIEMu/BBXWqUFiFmuLcwX4OGzOEIKsgoy6UOP\n\tvL4Fb/zA/shBBLRBVVq2ObFFuo5P0C99zSSayxyDVNznYKNjoQVljn8VBVDL3+UgYz\n\t27mmiv5AQxD/ALCO/n1FiS3135UdLvRTzp/VXdip3jC3rBa3MU3h7PF4JRpb3u8/VT\n\teB/C5usUvfysw==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1661845654;\n\tbh=xQD8h5Gx1QhGF0KFXjNYLLQVvdsWreWj8I+7W+QAR9A=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=itIvFAv5aXH62rVzm3KNy5JlVy0W+WAhuhVyWRReVrsq+es0xbo/RbZoDIrEt8TaY\n\tKgFgco/Ugk4c6kTV6aTl9B7t2N1InjmJbEOY9ED763t9m3IrkwCFrrLQ3TSe2b5Bis\n\tfDM1gtLHdjgbg31XXupzNGOBufBXw8PqXIeXDWmo="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"itIvFAv5\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 30 Aug 2022 13:17:18 +0530","Message-Id":"<20220830074725.1059643-1-umang.jain@ideasonboard.com>","X-Mailer":"git-send-email 2.37.2","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v4 0/7] Colospace adjustment and gstreamer\n\tmapping","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":"Umang Jain via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"Umang Jain <umang.jain@ideasonboard.com>","Cc":"rishikeshdonadkar@gmail.com","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Changes in v4:\n- Improve commit message in 1/7\n- Use private static member function instead of unnamed namespace\n  in 3/7\n- Rework the 6/7 test slightly and introduce failure logs\n- comestic changes \n\nChanges in v3:\n- Patch 5/7 \"Move colorspace adjustment to ColorSpace class\" overhauled\n- New patch 3/7 \"libcamera: v4l2_videodevice: Improve toColorSpace()\n  readability\"\n- Patch 2/7 - picks default colorspace if subdev format is not found\n\nRishikesh Donadkar (1):\n  gstreamer: Provide colorimetry <> ColorSpace mappings\n\nUmang Jain (6):\n  libcamera: v4l2_subdevice: Add color encoding for media bus formats\n  libcamera: v4l2_device: Adjust colorspace based on pixel format\n  libcamera: v4l2_videodevice: Improve toColorSpace() readability\n  libcamera: colorspace: Rectify the ColorSpace::Srgb preset\n  libcamera: color_space: Move color space adjustment to ColorSpace\n    class\n  tests: stream: Add a colorspace adjustment test\n\n include/libcamera/color_space.h               |   4 +\n include/libcamera/internal/v4l2_device.h      |   5 +-\n include/libcamera/internal/v4l2_videodevice.h |   3 +\n src/gstreamer/gstlibcamera-utils.cpp          | 169 ++++++++++++++++\n src/libcamera/camera.cpp                      |  43 ++--\n src/libcamera/color_space.cpp                 | 119 ++++++++++-\n src/libcamera/v4l2_device.cpp                 |  36 +++-\n src/libcamera/v4l2_subdevice.cpp              | 184 ++++++++++--------\n src/libcamera/v4l2_videodevice.cpp            |   7 +\n test/stream/meson.build                       |   1 +\n test/stream/stream_colorspace.cpp             |  96 +++++++++\n 11 files changed, 549 insertions(+), 118 deletions(-)\n create mode 100644 test/stream/stream_colorspace.cpp"}