{"id":10057,"url":"https://patchwork.libcamera.org/api/1.1/covers/10057/?format=json","web_url":"https://patchwork.libcamera.org/cover/10057/","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":"<20201015171457.75678-1-email@uajain.com>","date":"2020-10-15T17:14:54","name":"[libcamera-devel,0/3] android: Introduce PostProcessor interface","submitter":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/people/1/?format=json","name":"Umang Jain","email":"email@uajain.com"},"mbox":"https://patchwork.libcamera.org/cover/10057/mbox/","series":[{"id":1375,"url":"https://patchwork.libcamera.org/api/1.1/series/1375/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1375","date":"2020-10-15T17:14:54","name":"android: Introduce PostProcessor interface","version":1,"mbox":"https://patchwork.libcamera.org/series/1375/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/10057/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 485ACBE905\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 15 Oct 2020 17:15:07 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 9E3BE60F23;\n\tThu, 15 Oct 2020 19:15:06 +0200 (CEST)","from mail.uajain.com (static.126.159.217.95.clients.your-server.de\n\t[95.217.159.126])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 7D2C7605BF\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 15 Oct 2020 19:15:04 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=uajain.com header.i=@uajain.com\n\theader.b=\"aAl+6SGG\"; dkim-atps=neutral","From":"Umang Jain <email@uajain.com>","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=uajain.com; s=mail;\n\tt=1602782103; bh=hCH/oCEuBzIXXj2MJWjLUeXduZ4kp9qeGdvsaFoFZVs=;\n\th=From:To:Cc:Subject;\n\tb=aAl+6SGGSbRM6sDArCZxGXoMFxetoWuTjIPYwjmXoJE7kAO1Q56F9ixE02oqXKxeM\n\tGtrEn61PbV3iDpj4fQLAZ9pHS/cPeoZUor7AKt+KaLr8iXaaxHCrM5/BebtuJpi5cp\n\tnFUYuZA7UZe3SpDGF6o7UUq/YZlChT+KOOnFnkxKtShPu9iaOPadVAIeDVw0jyjdqY\n\tkYvnzyHSfZ42IpHcMeW7G6g0LGMTm9xAyhSbSprMcYyfhbf4ONQd2BvjMhj248dj2a\n\t0PD7qs+1DpJy1oYLsGRsnuclHNi60maL7QHkXxPaf1GXPXROyIQR1Hs8FnExbdf+gE\n\tr+uUhTgvMpgvA==","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 15 Oct 2020 22:44:54 +0530","Message-Id":"<20201015171457.75678-1-email@uajain.com>","Mime-Version":"1.0","Subject":"[libcamera-devel] [PATCH 0/3] android: Introduce PostProcessor\n\tinterface","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":"Introduce a PostProcessor interface. This enables to restrict exposure\nof JPEG specific bits in CameraStream and moves all the JPEG related\nbits to a derived class from this interface, PostProcessorJpeg.\n\nThe commits has been tested by Kieran and it seems no regression has\nbeen introduced.\n\nUmang Jain (3):\n  android: post_processor: Introduce a PostProcessor interface\n  android: jpeg: Port to PostProcessor interface\n  android: CameraStream: Fix nitpick indentation for mutex_\n\n src/android/camera_device.cpp            |   1 +\n src/android/camera_stream.cpp            |  77 ++++------------\n src/android/camera_stream.h              |   6 +-\n src/android/jpeg/encoder_libjpeg.cpp     |   2 +-\n src/android/jpeg/post_processor_jpeg.cpp | 110 +++++++++++++++++++++++\n src/android/jpeg/post_processor_jpeg.h   |  36 ++++++++\n src/android/meson.build                  |   1 +\n src/android/post_processor.h             |  28 ++++++\n 8 files changed, 198 insertions(+), 63 deletions(-)\n create mode 100644 src/android/jpeg/post_processor_jpeg.cpp\n create mode 100644 src/android/jpeg/post_processor_jpeg.h\n create mode 100644 src/android/post_processor.h"}