{"id":9227,"url":"https://patchwork.libcamera.org/api/covers/9227/?format=json","web_url":"https://patchwork.libcamera.org/cover/9227/","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":"<20200805151507.227503-1-kieran.bingham@ideasonboard.com>","date":"2020-08-05T15:14:54","name":"[libcamera-devel,v4,00/13] android: JPEG support","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/9227/mbox/","series":[{"id":1198,"url":"https://patchwork.libcamera.org/api/series/1198/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1198","date":"2020-08-05T15:14:54","name":"android: JPEG support","version":4,"mbox":"https://patchwork.libcamera.org/series/1198/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/9227/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 39BCEBD86F\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  5 Aug 2020 15:15:13 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 03D7060599;\n\tWed,  5 Aug 2020 17:15:13 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id D39C360392\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  5 Aug 2020 17:15:10 +0200 (CEST)","from Q.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net\n\t[86.31.172.11])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 6B1452C0;\n\tWed,  5 Aug 2020 17:15:10 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"TUwCthWK\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1596640510;\n\tbh=6KG/CDTvikK8us+RwiEJvP4j8f/H6IESY5+IwmEfMek=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=TUwCthWKoefn2bULcCJawUoY1o4YzhkDQn9VVVKDdigyMyz5JB9dcvl4ow56HThSf\n\tyCk4aI35Rj1ljcyPEgO8Bv4Ic2JJSICRtACGHyPZo7XmOzAoME2XR5+n8OLlC+Fxxr\n\tGsDwY1qX0Eh2CLWG00Sr8A1VnzRCI5xOJYz8wWd0=","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","Date":"Wed,  5 Aug 2020 16:14:54 +0100","Message-Id":"<20200805151507.227503-1-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v4 00/13] android: JPEG support","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=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"As before, now many more review topics addressed and resolved.\n\nWith just these patches applied, the CCA application runs and can\ncapture an image successfully.\n\nThere is still plenty to do on top however:\n\n - The JPEG compression does not run in a separate thread\n - Added streams do not have buffering\n - RAW API could be used for JPEG compression\n - EXIF tag support is started but not included in this series.\n - No rescaler is supported yet\n\n\nKieran Bingham (13):\n  libcamera: buffer: Correct FrameBuffer references\n  libcamera: formats: add numPlanes helper\n  libcamera: buffer: Create a MappedBuffer\n  test: mapped-buffers: Provide MappedBuffer test\n  libcamera: buffer: Convert copyFrom to use MappedFrameBuffer\n  android: camera_device: Fix trivial spelling\n  android: camera_device: Report an error in notifyError()\n  android: camera_device: Only construct required planes\n  android: camera_device: Query plane length\n  android: camera_device: Report configuration changes from validate()\n  android: camera_device: Generate ResultMetadata earlier\n  android: Introduce JPEG compression\n  android: camera_device: Support MJPEG stream construction\n\n include/libcamera/internal/buffer.h     |  47 ++++\n include/libcamera/internal/formats.h    |   2 +\n src/android/camera_device.cpp           | 292 +++++++++++++++++++++---\n src/android/camera_device.h             |  12 +\n src/android/jpeg/compressor.h           |  25 ++\n src/android/jpeg/compressor_libjpeg.cpp | 217 ++++++++++++++++++\n src/android/jpeg/compressor_libjpeg.h   |  41 ++++\n src/android/meson.build                 |   5 +\n src/libcamera/buffer.cpp                | 195 +++++++++++++---\n src/libcamera/formats.cpp               |  18 ++\n src/libcamera/meson.build               |   2 +\n test/mapped-buffer.cpp                  | 114 +++++++++\n test/meson.build                        |   1 +\n 13 files changed, 916 insertions(+), 55 deletions(-)\n create mode 100644 include/libcamera/internal/buffer.h\n create mode 100644 src/android/jpeg/compressor.h\n create mode 100644 src/android/jpeg/compressor_libjpeg.cpp\n create mode 100644 src/android/jpeg/compressor_libjpeg.h\n create mode 100644 test/mapped-buffer.cpp"}