summaryrefslogtreecommitdiff
path: root/src/android/jpeg/post_processor_jpeg.h
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2021-01-23 14:08:35 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2021-01-27 12:07:21 +0900
commitab72e6641c56e876f91edee57a8969982a3ab9b7 (patch)
treedac370e8b2f56bf97578864302cc3b71b5415a44 /src/android/jpeg/post_processor_jpeg.h
parenta6de3f0203c5d338a2a86ff049d55907a12e04c5 (diff)
android: jpeg: Set thumbnail and JPEG quality based on request
Set the thumbnail quality and the JPEG quality based on the android request metadata. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/android/jpeg/post_processor_jpeg.h')
-rw-r--r--src/android/jpeg/post_processor_jpeg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/android/jpeg/post_processor_jpeg.h b/src/android/jpeg/post_processor_jpeg.h
index 660b79b4..d2dfa450 100644
--- a/src/android/jpeg/post_processor_jpeg.h
+++ b/src/android/jpeg/post_processor_jpeg.h
@@ -32,6 +32,7 @@ public:
private:
void generateThumbnail(const libcamera::FrameBuffer &source,
const libcamera::Size &targetSize,
+ unsigned int quality,
std::vector<unsigned char> *thumbnail);
CameraDevice *const cameraDevice_;