|
|
@ -40,6 +40,11 @@ class CameraMetadata: public Parcelable {
|
|
|
|
* dataCapacity extra storage */
|
|
|
|
* dataCapacity extra storage */
|
|
|
|
CameraMetadata(size_t entryCapacity, size_t dataCapacity = 10);
|
|
|
|
CameraMetadata(size_t entryCapacity, size_t dataCapacity = 10);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Move constructor, acquires other's metadata buffer
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
CameraMetadata(CameraMetadata &&other);
|
|
|
|
|
|
|
|
|
|
|
|
~CameraMetadata();
|
|
|
|
~CameraMetadata();
|
|
|
|
|
|
|
|
|
|
|
|
/** Takes ownership of passed-in buffer */
|
|
|
|
/** Takes ownership of passed-in buffer */
|
|
|
@ -53,6 +58,11 @@ class CameraMetadata: public Parcelable {
|
|
|
|
CameraMetadata &operator=(const CameraMetadata &other);
|
|
|
|
CameraMetadata &operator=(const CameraMetadata &other);
|
|
|
|
CameraMetadata &operator=(const camera_metadata_t *buffer);
|
|
|
|
CameraMetadata &operator=(const camera_metadata_t *buffer);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Move assignment operator, acquires other's metadata buffer
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
CameraMetadata &operator=(CameraMetadata &&other);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Get reference to the underlying metadata buffer. Ownership remains with
|
|
|
|
* Get reference to the underlying metadata buffer. Ownership remains with
|
|
|
|
* the CameraMetadata object, but non-const CameraMetadata methods will not
|
|
|
|
* the CameraMetadata object, but non-const CameraMetadata methods will not
|
|
|
|