Google is committed to advancing racial equity for Black communities. See how.

ArImageMetadata_const_entry

#include <arcore_c_api.h>

Defines a single read-only image metadata entry.

Summary

Struct matches ACameraMetadata_const_entry in Android NDK r21.

Public attributes

count
uint32_t
Count of elements (NOT count of bytes) in this metadata entry.
d
const double *
Pointer to data of single double or the first element of the double array.
data
union ArImageMetadata_const_entry::@0
Pointers to the data held in this metadata entry.
f
const float *
Pointer to data of single 32-bit float or the first element of the 32-bit float array.
i32
const int32_t *
Pointer to data of single 32-bit int or the first element of the 32-bit int array.
i64
const int64_t *
Pointer to data of single 64-bit int or the first element of the 64-bit int array.
r
Pointer to data of single ArImageMetadata_rational or the first element of the ArImageMetadata_rational array.
tag
uint32_t
The tag identifying the entry.
type
uint8_t
The data type of this metadata entry.
u8
const uint8_t *
Pointer to data of single byte or the first element of the byte array.

Public attributes

count

uint32_t ArImageMetadata_const_entry::count

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

d

const double * ArImageMetadata_const_entry::d

Pointer to data of single double or the first element of the double array.

data

union ArImageMetadata_const_entry::@0 ArImageMetadata_const_entry::data

Pointers to the data held in this metadata entry.

The field type defines which union member pointer is valid.

f

const float * ArImageMetadata_const_entry::f

Pointer to data of single 32-bit float or the first element of the 32-bit float array.

i32

const int32_t * ArImageMetadata_const_entry::i32

Pointer to data of single 32-bit int or the first element of the 32-bit int array.

i64

const int64_t * ArImageMetadata_const_entry::i64

Pointer to data of single 64-bit int or the first element of the 64-bit int array.

r

const ArImageMetadata_rational * ArImageMetadata_const_entry::r

Pointer to data of single ArImageMetadata_rational or the first element of the ArImageMetadata_rational array.

tag

uint32_t ArImageMetadata_const_entry::tag

The tag identifying the entry.

type

uint8_t ArImageMetadata_const_entry::type

The data type of this metadata entry.

Determines which data pointer in the union below is valid.

u8

const uint8_t * ArImageMetadata_const_entry::u8

Pointer to data of single byte or the first element of the byte array.