FreeSWITCH API Documentation  1.7.0
Data Fields
vpx_image Struct Reference

Image Descriptor. More...

#include <switch_image.h>

+ Collaboration diagram for vpx_image:

Data Fields

vpx_img_fmt_t fmt
 
vpx_color_space_t cs
 
vpx_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]
 
int bps
 
void * user_priv
 
unsigned char * img_data
 
int img_data_owner
 
int self_allocd
 
void * fb_priv
 

Detailed Description

Image Descriptor.

Definition at line 88 of file switch_image.h.

Field Documentation

unsigned int vpx_image::bit_depth

Stored image bit-depth

Definition at line 96 of file switch_image.h.

int vpx_image::bps

bits per sample (for packed formats)

Definition at line 119 of file switch_image.h.

vpx_color_space_t vpx_image::cs

Color Space

Definition at line 90 of file switch_image.h.

unsigned int vpx_image::d_h
unsigned int vpx_image::d_w
void* vpx_image::fb_priv

Frame buffer data associated with the image.

Definition at line 132 of file switch_image.h.

vpx_img_fmt_t vpx_image::fmt

Image Format

Definition at line 89 of file switch_image.h.

Referenced by switch_img_draw_pixel(), switch_img_get_rgb_pixel(), and switch_img_scale().

unsigned int vpx_image::h

Stored image height

Definition at line 95 of file switch_image.h.

unsigned char* vpx_image::img_data

private

Definition at line 128 of file switch_image.h.

int vpx_image::img_data_owner

private

Definition at line 129 of file switch_image.h.

unsigned char* vpx_image::planes[4]

pointer to the top left pixel for each plane

Definition at line 116 of file switch_image.h.

Referenced by switch_img_draw_pixel(), switch_img_get_rgb_pixel(), switch_img_patch_rect(), switch_img_rotate(), switch_img_scale(), and switch_img_write_text_img().

unsigned int vpx_image::r_h

Intended rendering image height

Definition at line 104 of file switch_image.h.

unsigned int vpx_image::r_w

Intended rendering image width

Definition at line 103 of file switch_image.h.

vpx_color_range_t vpx_image::range

Color Range

Definition at line 91 of file switch_image.h.

int vpx_image::self_allocd

private

Definition at line 130 of file switch_image.h.

int vpx_image::stride[4]

stride between rows for each plane

Definition at line 117 of file switch_image.h.

Referenced by switch_img_draw_pixel(), switch_img_rotate(), and switch_img_scale().

void* vpx_image::user_priv

may be set by the application to associate data with this image.

Definition at line 124 of file switch_image.h.

unsigned int vpx_image::w

Stored image width

Definition at line 94 of file switch_image.h.

unsigned int vpx_image::x_chroma_shift

subsampling order, X

Definition at line 107 of file switch_image.h.

unsigned int vpx_image::y_chroma_shift

subsampling order, Y

Definition at line 108 of file switch_image.h.


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