{"id":1856,"url":"https://patchwork.libcamera.org/api/covers/1856/?format=json","web_url":"https://patchwork.libcamera.org/cover/1856/","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":"<20190827095008.11405-1-jacopo@jmondi.org>","date":"2019-08-27T09:50:00","name":"[libcamera-devel,v2,0/7] libcamera: camera_sensor: Collect camera location and sizes","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/1856/mbox/","series":[{"id":468,"url":"https://patchwork.libcamera.org/api/series/468/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=468","date":"2019-08-27T09:50:00","name":"libcamera: camera_sensor: Collect camera location and sizes","version":2,"mbox":"https://patchwork.libcamera.org/series/468/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/1856/comments/","headers":{"Return-Path":"<jacopo@jmondi.org>","Received":["from relay11.mail.gandi.net (relay11.mail.gandi.net\n\t[217.70.178.231])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 2287E60BF6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 27 Aug 2019 11:48:44 +0200 (CEST)","from uno.homenet.telecomitalia.it (unknown [87.18.63.98])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay11.mail.gandi.net (Postfix) with ESMTPSA id 7162510000D;\n\tTue, 27 Aug 2019 09:48:43 +0000 (UTC)"],"From":"Jacopo Mondi <jacopo@jmondi.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 27 Aug 2019 11:50:00 +0200","Message-Id":"<20190827095008.11405-1-jacopo@jmondi.org>","X-Mailer":"git-send-email 2.23.0","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v2 0/7] libcamera: camera_sensor: Collect\n\tcamera location and sizes","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":"Tue, 27 Aug 2019 09:48:44 -0000"},"content":"Hello, v2 of the support for retrieving the camera sensor properties.\n\nThe series depends on:\nhttps://patchwork.kernel.org/project/linux-media/list/?series=165797\n\nAs the previous version, this series collects informations on the camera\nlocation, rotation, pixel array size and active area size.\n\nv1 -> v2:\n- update to the new version of the associated kernel changes\n- Add support for camera sensor rotation\n- Separate controls ID from properties ID (still in the same file though)\n- Expose the get/set selection operations of V4L2Subdevice\n- Enforce correct values for the pixel array size and active pixel area size\n\nFinally, an example patch to the de-compiled Soraka DSDT table to add the\nrotation and location properties to the Soraka image sensor is provided.\nA similar change to the coreboot tables is included in the kernel\npatch series:\nhttps://patchwork.kernel.org/project/linux-media/list/?series=165803\n\nOn top of this series, the camera sensor properties should be expose and added\nto the Camera properties constructed by the pipeline handlers.\n\nThanks\n  j\n\nJacopo Mondi (7):\n  [TEMP] include: linux: Update v4l2-controls.h\n  libcamera: controls: Document control_ids.h\n  libcamera: controls: Add camera properties IDs\n  libcamera: v4l2_controls: Construct from a list of ids\n  libcamera: camera_sensor: Collect camera properties\n  libcamera: v4l2_subdevice: Add selection support\n  libcamera: camera_sensor: Retrieve sensor sizes\n\n include/libcamera/control_ids.h        |  11 ++\n include/libcamera/geometry.h           |   1 +\n include/linux/v4l2-controls.h          |   7 ++\n src/libcamera/camera_sensor.cpp        |  90 ++++++++++++++\n src/libcamera/controls.cpp             | 155 +++++++++++++++++--------\n src/libcamera/geometry.cpp             |  24 ++++\n src/libcamera/include/camera_sensor.h  |   8 ++\n src/libcamera/include/v4l2_controls.h  |   3 +\n src/libcamera/include/v4l2_subdevice.h |   9 +-\n src/libcamera/pipeline/ipu3/ipu3.cpp   |   4 +-\n src/libcamera/v4l2_controls.cpp        |  17 +++\n src/libcamera/v4l2_subdevice.cpp       | 113 +++++++++++-------\n 12 files changed, 347 insertions(+), 95 deletions(-)\n\n--\n2.23.0"}