{"id":420,"url":"https://patchwork.libcamera.org/api/covers/420/?format=json","web_url":"https://patchwork.libcamera.org/cover/420/","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":"<20190127144354.9360-1-jacopo@jmondi.org>","date":"2019-01-27T14:43:52","name":"[libcamera-devel,0/2] libcamera: Add image format definitions","submitter":{"id":3,"url":"https://patchwork.libcamera.org/api/people/3/?format=json","name":"Jacopo Mondi","email":"jacopo@jmondi.org"},"mbox":"https://patchwork.libcamera.org/cover/420/mbox/","series":[{"id":148,"url":"https://patchwork.libcamera.org/api/series/148/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=148","date":"2019-01-27T14:43:52","name":"libcamera: Add image format definitions","version":1,"mbox":"https://patchwork.libcamera.org/series/148/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/420/comments/","headers":{"Return-Path":"<jacopo@jmondi.org>","Received":["from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net\n\t[217.70.183.194])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CE49560C78\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 27 Jan 2019 15:43:48 +0100 (CET)","from uno.homenet.telecomitalia.it\n\t(host20-49-dynamic.18-79-r.retail.telecomitalia.it [79.18.49.20])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 346A640003;\n\tSun, 27 Jan 2019 14:43:47 +0000 (UTC)"],"X-Originating-IP":"79.18.49.20","From":"Jacopo Mondi <jacopo@jmondi.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Sun, 27 Jan 2019 15:43:52 +0100","Message-Id":"<20190127144354.9360-1-jacopo@jmondi.org>","X-Mailer":"git-send-email 2.20.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 0/2] libcamera: Add image format\n\tdefinitions","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","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":"Sun, 27 Jan 2019 14:43:49 -0000"},"content":"Add definitions of memory image formats supported by Libcamera.\n\nThe here defined formats will be exposed to applications, and their definition\ncan be expanded to include a libcamera-specific identifier to be offered to\napplications if we don't want them to use V4L2_PIX_FMT_* defines directly.\n\nI have added, as an example, the most commonly used YUV formats, packed,\nsemi-planar and planar ones.\n\nI have here also included a test utility I used to printout the list of supported\nformats and make sure it works. Not sure it qualifies as a test, as currently it\ncannot fail.\n\nThanks\n   j\n\nJacopo Mondi (2):\n  libcamera: formats: Add image formats definitions\n  test: List libcamera supported image formats\n\n include/libcamera/formats.h   | 61 +++++++++++++++++++++++++++++++++++\n include/libcamera/meson.build |  1 +\n test/list-formats.cpp         | 33 +++++++++++++++++++\n test/meson.build              |  1 +\n 4 files changed, 96 insertions(+)\n create mode 100644 include/libcamera/formats.h\n create mode 100644 test/list-formats.cpp\n\n--\n2.20.1"}