Stay organized with collections
Save and categorize content based on your preferences.
ACameraMetadata_entry
A single camera metadata entry.
Summary
Each entry is an array of values, though many metadata fields may only have 1 entry in the array.
Public attributes
|
count
|
uint32_t
Count of elements (NOT count of bytes) in this metadata entry.
|
d
|
double *
|
data
|
union ACameraMetadata_entry::@112
Pointer to the data held in this metadata entry.
|
f
|
float *
|
i32
|
int32_t *
|
i64
|
int64_t *
|
r
|
|
tag
|
uint32_t
The tag identifying the entry.
|
type
|
uint8_t
The data type of this metadata entry.
|
u8
|
uint8_t *
|
Public attributes
count
Declared in camera/NdkCameraMetadata.h
uint32_t ACameraMetadata_entry::count
Count of elements (NOT count of bytes) in this metadata entry.
d
Declared in camera/NdkCameraMetadata.h
double * ACameraMetadata_entry::d
data
Declared in camera/NdkCameraMetadata.h
union ACameraMetadata_entry::@112 ACameraMetadata_entry::data
Pointer to the data held in this metadata entry.
The type field above defines which union member pointer is valid. The count field above defines the length of the data in number of elements.
f
Declared in camera/NdkCameraMetadata.h
float * ACameraMetadata_entry::f
i32
Declared in camera/NdkCameraMetadata.h
int32_t * ACameraMetadata_entry::i32
i64
Declared in camera/NdkCameraMetadata.h
int64_t * ACameraMetadata_entry::i64
tag
Declared in camera/NdkCameraMetadata.h
uint32_t ACameraMetadata_entry::tag
type
Declared in camera/NdkCameraMetadata.h
uint8_t ACameraMetadata_entry::type
The data type of this metadata entry.
Must be one of ACAMERA_TYPE_* enum values defined above. A particular tag always has the same type.
u8
Declared in camera/NdkCameraMetadata.h
uint8_t * ACameraMetadata_entry::u8
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[],null,["# ACameraMetadata_entry Struct Reference\n\nACameraMetadata_entry\n=====================\n\nA single camera metadata entry.\n\nSummary\n-------\n\nEach entry is an array of values, though many metadata fields may only have 1 entry in the array.\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|\n| [count](#struct_a_camera_metadata__entry_1a89a65439757c8c30ce457bd954815ed8) | `uint32_t` Count of elements (NOT count of bytes) in this metadata entry. |\n| [d](#struct_a_camera_metadata__entry_1a16b8aaa7a1c7c8aedbbba908a10d3e2b) | `double *` |\n| [data](#struct_a_camera_metadata__entry_1aae4a5f96ee50a97516528afbe3b67f09) | `union ACameraMetadata_entry::@112` Pointer to the data held in this metadata entry. |\n| [f](#struct_a_camera_metadata__entry_1a48d181446b5ade485b764e5165df6513) | `float *` |\n| [i32](#struct_a_camera_metadata__entry_1a330aff6cd457a8482bbc743db3e22dcf) | `int32_t *` |\n| [i64](#struct_a_camera_metadata__entry_1a598d1539bce2ed2aeb83af43299ad5b6) | `int64_t *` |\n| [r](#struct_a_camera_metadata__entry_1abcdeecbdc8cff552b311fead64853273) | [ACameraMetadata_rational](/ndk/reference/struct/a-camera-metadata-rational#struct_a_camera_metadata__rational)` *` |\n| [tag](#struct_a_camera_metadata__entry_1a490c8adb5729ab3c92174560c02c3668) | `uint32_t` The tag identifying the entry. |\n| [type](#struct_a_camera_metadata__entry_1ad2ba3e9b31296bf7a5e8799bc10a4605) | `uint8_t` The data type of this metadata entry. |\n| [u8](#struct_a_camera_metadata__entry_1a9dde9a682a2244947c2525832183ba08) | `uint8_t *` |\n\nPublic attributes\n-----------------\n\n### count\n\nDeclared in `camera/NdkCameraMetadata.h` \n\n```scdoc\nuint32_t ACameraMetadata_entry::count\n``` \nCount of elements (NOT count of bytes) in this metadata entry. \n\n### d\n\nDeclared in `camera/NdkCameraMetadata.h` \n\n```scdoc\ndouble * ACameraMetadata_entry::d\n``` \n\n### data\n\nDeclared in `camera/NdkCameraMetadata.h` \n\n```objective-c\nunion ACameraMetadata_entry::@112 ACameraMetadata_entry::data\n``` \nPointer to the data held in this metadata entry.\n\nThe type field above defines which union member pointer is valid. The count field above defines the length of the data in number of elements. \n\n### f\n\nDeclared in `camera/NdkCameraMetadata.h` \n\n```scdoc\nfloat * ACameraMetadata_entry::f\n``` \n\n### i32\n\nDeclared in `camera/NdkCameraMetadata.h` \n\n```scdoc\nint32_t * ACameraMetadata_entry::i32\n``` \n\n### i64\n\nDeclared in `camera/NdkCameraMetadata.h` \n\n```scdoc\nint64_t * ACameraMetadata_entry::i64\n``` \n\n### r\n\nDeclared in `camera/NdkCameraMetadata.h` \n\n```scdoc\nACameraMetadata_rational * ACameraMetadata_entry::r\n``` \n\n### tag\n\nDeclared in `camera/NdkCameraMetadata.h` \n\n```scdoc\nuint32_t ACameraMetadata_entry::tag\n``` \nThe tag identifying the entry.\n\nIt is one of the values defined in [NdkCameraMetadataTags.h](https://cs.android.com/android/platform/superproject/+/master:frameworks/av/camera/ndk/include/camera/NdkCameraMetadataTags.h) , and defines how the entry should be interpreted and which parts of the API provide it. See [NdkCameraMetadataTags.h](https://cs.android.com/android/platform/superproject/+/master:frameworks/av/camera/ndk/include/camera/NdkCameraMetadataTags.h) for more details. \n\n### type\n\nDeclared in `camera/NdkCameraMetadata.h` \n\n```carbon\nuint8_t ACameraMetadata_entry::type\n``` \nThe data type of this metadata entry.\n\nMust be one of ACAMERA_TYPE_\\* enum values defined above. A particular tag always has the same type. \n\n### u8\n\nDeclared in `camera/NdkCameraMetadata.h` \n\n```scdoc\nuint8_t * ACameraMetadata_entry::u8\n```"]]