AOMedia Codec SDK
Data Fields
aom_image Struct Reference

Image Descriptor. More...

#include <aom_image.h>

Data Fields

aom_img_fmt_t fmt
 
aom_color_primaries_t cp
 
aom_transfer_characteristics_t tc
 
aom_matrix_coefficients_t mc
 
int monochrome
 
aom_chroma_sample_position_t csp
 
aom_color_range_t range
 
unsigned int w
 
unsigned int h
 
unsigned int bit_depth
 
unsigned int d_w
 
unsigned int d_h
 
unsigned int r_w
 
unsigned int r_h
 
unsigned int x_chroma_shift
 
unsigned int y_chroma_shift
 
unsigned char * planes [4]
 
int stride [4]
 
size_t sz
 
int bps
 
int temporal_id
 
int spatial_id
 
void * user_priv
 The following member may be set by the application to associate data with this image.
 
unsigned char * img_data
 
int img_data_owner
 
int self_allocd
 
void * fb_priv
 

Detailed Description

Image Descriptor.

Field Documentation

aom_img_fmt_t aom_image::fmt

Image Format

aom_color_primaries_t aom_image::cp

CICP Color Primaries

CICP Transfer Characteristics

CICP Matrix Coefficients

int aom_image::monochrome

Whether image is monochrome

chroma sample position

aom_color_range_t aom_image::range

Color Range

unsigned int aom_image::w

Stored image width

unsigned int aom_image::h

Stored image height

unsigned int aom_image::bit_depth

Stored image bit-depth

unsigned int aom_image::d_w

Displayed image width

unsigned int aom_image::d_h

Displayed image height

unsigned int aom_image::r_w

Intended rendering image width

unsigned int aom_image::r_h

Intended rendering image height

unsigned int aom_image::x_chroma_shift

subsampling order, X

unsigned int aom_image::y_chroma_shift

subsampling order, Y

unsigned char* aom_image::planes[4]

pointer to the top left pixel for each plane

int aom_image::stride[4]

stride between rows for each plane

size_t aom_image::sz

data size

int aom_image::bps

bits per sample (for packed formats)

int aom_image::temporal_id

Temporal layer Id of image

int aom_image::spatial_id

Spatial layer Id of image

unsigned char* aom_image::img_data

private

int aom_image::img_data_owner

private

int aom_image::self_allocd

private

void* aom_image::fb_priv

Frame buffer data associated with the image.


The documentation for this struct was generated from the following file: