mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-16 17:05:08 +03:00
android: jpeg: encoder: Use pass-by-value for Exif parameter
Following the reasoning of pass-by-value for libcamera::Span parameters from 90c193f2a700("android: Modify Encoder interface") i.e. they are easy to copy/move/construct, align the Exif parameter passing to the encoder interface in this consistent way. Signed-off-by: Umang Jain <email@uajain.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
f9e7f55f3b
commit
c430d39d20
3 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ public:
|
|||
int configure(const libcamera::StreamConfiguration &cfg) override;
|
||||
int encode(const libcamera::FrameBuffer &source,
|
||||
libcamera::Span<uint8_t> destination,
|
||||
const libcamera::Span<const uint8_t> &exifData) override;
|
||||
libcamera::Span<const uint8_t> exifData) override;
|
||||
|
||||
private:
|
||||
void compressRGB(const libcamera::MappedBuffer *frame);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue