summaryrefslogtreecommitdiff
path: root/src/android/camera_metadata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/camera_metadata.h')
-rw-r--r--src/android/camera_metadata.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/android/camera_metadata.h b/src/android/camera_metadata.h
index f8f2a0d2..3b7c9e24 100644
--- a/src/android/camera_metadata.h
+++ b/src/android/camera_metadata.h
@@ -23,6 +23,9 @@ public:
CameraMetadata &operator=(const CameraMetadata &other);
+ std::tuple<size_t, size_t> usage() const;
+ bool resized() const { return resized_; }
+
bool isValid() const { return valid_; }
bool getEntry(uint32_t tag, camera_metadata_ro_entry_t *entry) const;
@@ -89,6 +92,7 @@ private:
camera_metadata_t *metadata_;
bool valid_;
+ bool resized_;
};
#endif /* __ANDROID_CAMERA_METADATA_H__ */