{"id":8958,"url":"https://patchwork.libcamera.org/api/covers/8958/?format=json","web_url":"https://patchwork.libcamera.org/cover/8958/","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":"<20200724090744.508110-1-niklas.soderlund@ragnatech.se>","date":"2020-07-24T09:07:40","name":"[libcamera-devel,v2,0/4] android: camera_device: Improve on format related tags","submitter":{"id":5,"url":"https://patchwork.libcamera.org/api/people/5/?format=json","name":"Niklas Söderlund","email":"niklas.soderlund@ragnatech.se"},"mbox":"https://patchwork.libcamera.org/cover/8958/mbox/","series":[{"id":1134,"url":"https://patchwork.libcamera.org/api/series/1134/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1134","date":"2020-07-24T09:07:40","name":"android: camera_device: Improve on format related tags","version":2,"mbox":"https://patchwork.libcamera.org/series/1134/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/8958/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 B858FBD86F\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 24 Jul 2020 09:07:56 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id CB675611B7;\n\tFri, 24 Jul 2020 11:07:55 +0200 (CEST)","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 B28A76118A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Jul 2020 11:07:53 +0200 (CEST)","from bismarck.berto.se (p4fca2eca.dip0.t-ipconnect.de\n\t[79.202.46.202]) by bin-vsp-out-02.atm.binero.net (Halon) with ESMTPA\n\tid 26096b2d-cd8d-11ea-8fb8-005056917f90;\n\tFri, 24 Jul 2020 11:07:53 +0200 (CEST)"],"X-Halon-ID":"26096b2d-cd8d-11ea-8fb8-005056917f90","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":"Fri, 24 Jul 2020 11:07:40 +0200","Message-Id":"<20200724090744.508110-1-niklas.soderlund@ragnatech.se>","X-Mailer":"git-send-email 2.27.0","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v2 0/4] android: camera_device: Improve on\n\tformat related tags","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>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi,\n\nWhile working on extending the HAL to support RAW format I stumbled upon\nsome small issues with how we report formats to users. These where found\nrunning the Open Camera application [1] under a debugger and observing\nhow it consumed tags and by reading the Android documentation.\n\nI have tested these changes together with Kieran's JPEG work and the\nstock camera applications behaves the same as it does without this\nseries so I'm not able to provoke any regressions.\n\nThis series is a preparation for a small series enabling RAW streams in\nthe HAL. Using this series, the JPEG work and a yet to be sent RAW\nseries I mange to light up the RAW capture options in Open Camera while\nretaining a functioning stock camera application.\n\n1. https://opencamera.org.uk/\n\nNiklas Söderlund (4):\n  android: camera_device: Remove ANDROID_SCALER_AVAILABLE_FORMATS\n  android: camera_device: Use HAL_PIXEL_FORMAT_* defines for formats\n  android: camera_device: Remove scaler format information from\n    Camera3Format\n  android: camera_device: Add ANDROID_REQUEST_MAX_NUM_INPUT_STREAMS\n\n src/android/camera_device.cpp | 35 ++++++++++++-----------------------\n src/android/camera_device.h   |  2 +-\n 2 files changed, 13 insertions(+), 24 deletions(-)"}