From patchwork Thu Aug 6 14:50:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 9260 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 55586BD86F for ; Thu, 6 Aug 2020 14:50:26 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id CCBF160BF7; Thu, 6 Aug 2020 16:50:25 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="ElwF2hGw"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 99E2B60495 for ; Thu, 6 Aug 2020 16:50:23 +0200 (CEST) Received: from Q.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 17A0250E; Thu, 6 Aug 2020 16:50:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1596725423; bh=0mLze5PctK41M4tJw1+/68kBr5c+ihjcawc0pa7w7xE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ElwF2hGwuXTvheSlDHFM/wVuEOKqO3Tg8BPLsHta76y78V4h47r6aBVrI4KPR/J/7 b3R/fD/2k0ACqnz8t/SL85UxqoFfWfNfQY1HXkHld/3xOCCC3/Fo1jd2YFdo0bh4hP T8Z4eNJXCx3/S9xpE2s7aVtksnb9/H+4kvUm2FHM= From: Kieran Bingham To: libcamera devel Date: Thu, 6 Aug 2020 15:50:17 +0100 Message-Id: <20200806145019.290878-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200805151507.227503-1-kieran.bingham@ideasonboard.com> References: <20200805151507.227503-1-kieran.bingham@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 0/2] android: JPEG suppert (Encoder) X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The JPEG support has had the concept of a Compressor renamed to Encoder, and associated classes, and implementation renamed. There should be no functional change between this and v4, except for the renaming, so posting as a final iteration, though I intend to merge these patches this afternoon. Kieran Bingham (2): android: Introduce JPEG encoding android: camera_device: Support MJPEG stream construction src/android/camera_device.cpp | 230 +++++++++++++++++++++++++-- src/android/camera_device.h | 12 ++ src/android/jpeg/encoder.h | 24 +++ src/android/jpeg/encoder_libjpeg.cpp | 218 +++++++++++++++++++++++++ src/android/jpeg/encoder_libjpeg.h | 42 +++++ src/android/meson.build | 5 + src/libcamera/meson.build | 2 + 7 files changed, 524 insertions(+), 9 deletions(-) create mode 100644 src/android/jpeg/encoder.h create mode 100644 src/android/jpeg/encoder_libjpeg.cpp create mode 100644 src/android/jpeg/encoder_libjpeg.h