mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-25 17:45:06 +03:00
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>
This commit is contained in:
parent
a6de3f0203
commit
ab72e6641c
5 changed files with 24 additions and 24 deletions
|
@ -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_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue