{"id":3153,"url":"https://patchwork.libcamera.org/api/1.1/covers/3153/?format=json","web_url":"https://patchwork.libcamera.org/cover/3153/","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":"<20200318033200.3042855-1-niklas.soderlund@ragnatech.se>","date":"2020-03-18T03:31:52","name":"[libcamera-devel,v3,0/8] libcamera: PixelFormat: Turn into a class","submitter":{"id":5,"url":"https://patchwork.libcamera.org/api/1.1/people/5/?format=json","name":"Niklas Söderlund","email":"niklas.soderlund@ragnatech.se"},"mbox":"https://patchwork.libcamera.org/cover/3153/mbox/","series":[{"id":730,"url":"https://patchwork.libcamera.org/api/1.1/series/730/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=730","date":"2020-03-18T03:31:52","name":"libcamera: PixelFormat: Turn into a class","version":3,"mbox":"https://patchwork.libcamera.org/series/730/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/3153/comments/","headers":{"Return-Path":"<niklas.soderlund@ragnatech.se>","Received":["from bin-mail-out-06.binero.net (bin-mail-out-06.binero.net\n\t[195.74.38.229])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 430AE6041A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 18 Mar 2020 04:32:36 +0100 (CET)","from bismarck.berto.se (p4fca2392.dip0.t-ipconnect.de\n\t[79.202.35.146]) by bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA\n\tid 16c4b6dd-68c9-11ea-9f85-005056917a89;\n\tWed, 18 Mar 2020 04:32:34 +0100 (CET)"],"X-Halon-ID":"16c4b6dd-68c9-11ea-9f85-005056917a89","Authorized-sender":"niklas@soderlund.pp.se","From":"=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>","To":"libcamera-devel@lists.libcamera.org","Date":"Wed, 18 Mar 2020 04:31:52 +0100","Message-Id":"<20200318033200.3042855-1-niklas.soderlund@ragnatech.se>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v3 0/8] libcamera: PixelFormat: Turn into\n\ta class","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>","X-List-Received-Date":"Wed, 18 Mar 2020 03:32:36 -0000"},"content":"Hello,\n\nThis series replaces the PixelFormat definition of a unsigned int with a\nclass implementation that can hold both a FourCC and a set of modifiers.\nIt is important to allow users of libcamera to look at modifiers.\n\nThis series do not make use of the modifiers, a follow up series that\nadds RAW capture to the IPU3 will make use of them to describe the IPU3\nBayer format memory layout.\n\nLaurent Pinchart (1):\n  libcamera: PixelFormat: Make constructor explicit\n\nNiklas Söderlund (7):\n  libcamera: Use PixelFormat instead of unsigned int where appropriate\n  libcamera: pixelformats: include linux/drm_fourcc.h\n  test: v4l2_videodevice: buffer_cache: Use DRM pixel format\n  libcamera: pipeline: vimc: Remove internal usage of ImageFormats\n  libcamera: pipeline: uvcvideo: Translate from V4L2 to DRM pixel\n    formats\n  libcamera: PixelFormat: Turn into a class\n  libcamera: PixelFormat: Mark all function arguments of type\n    PixelFormat as const reference\n\n include/libcamera/pixelformats.h         | 27 +++++++-\n include/libcamera/stream.h               |  4 +-\n src/cam/main.cpp                         |  8 +--\n src/gstreamer/gstlibcamera-utils.cpp     | 18 ++---\n src/libcamera/include/v4l2_videodevice.h |  5 +-\n src/libcamera/pipeline/ipu3/ipu3.cpp     |  9 ++-\n src/libcamera/pipeline/rkisp1/rkisp1.cpp | 23 +++----\n src/libcamera/pipeline/uvcvideo.cpp      | 24 +++++--\n src/libcamera/pipeline/vimc.cpp          | 21 +++---\n src/libcamera/pixelformats.cpp           | 87 ++++++++++++++++++++++--\n src/libcamera/stream.cpp                 |  8 +--\n src/libcamera/v4l2_videodevice.cpp       | 37 +++++-----\n src/qcam/format_converter.cpp            |  8 +--\n src/qcam/format_converter.h              |  6 +-\n src/qcam/viewfinder.cpp                  |  4 +-\n src/qcam/viewfinder.h                    |  6 +-\n src/v4l2/v4l2_camera.cpp                 |  2 +-\n src/v4l2/v4l2_camera.h                   |  2 +-\n src/v4l2/v4l2_camera_proxy.cpp           | 35 +++++-----\n src/v4l2/v4l2_camera_proxy.h             |  2 +-\n test/stream/stream_formats.cpp           | 24 +++----\n test/v4l2_videodevice/buffer_cache.cpp   |  2 +-\n 22 files changed, 236 insertions(+), 126 deletions(-)"}