Skip to content

Most visited

Recently visited

navigation

ACameraMetadata_entry Struct Reference

ACameraMetadata_entry Struct Reference

#include <NdkCameraMetadata.h>

Data Fields

uint32_t tag
 
uint8_t type
 
uint32_t count
 
union {
   uint8_t *   u8
 
   int32_t *   i32
 
   float *   f
 
   int64_t *   i64
 
   double *   d
 
   ACameraMetadata_rational *   r
 
data
 

Detailed Description

A single camera metadata entry.

Each entry is an array of values, though many metadata fields may only have 1 entry in the array.

Field Documentation

◆ count

uint32_t count

Count of elements (NOT count of bytes) in this metadata entry.

◆ d

double* d

◆ data

union { ... } 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

float* f

◆ i32

int32_t* i32

◆ i64

int64_t* i64

◆ r

◆ tag

uint32_t tag

The tag identifying the entry.

It is one of the values defined in NdkCameraMetadataTags.h, and defines how the entry should be interpreted and which parts of the API provide it. See NdkCameraMetadataTags.h for more details.

◆ type

uint8_t 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

uint8_t* u8

The documentation for this struct was generated from the following file:
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)