FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
OMXCodecContext Struct Reference

Data Fields

const AVClassclass
 
char * libname
 
char * libprefix
 
OMXContextomx_context
 
AVCodecContextavctx
 
char component_name [OMX_MAX_STRINGNAME_SIZE]
 
OMX_VERSIONTYPE version
 
OMX_HANDLETYPE handle
 
int in_port
 
int out_port
 
OMX_COLOR_FORMATTYPE color_format
 
int stride
 
int plane_size
 
int num_in_buffers
 
int num_out_buffers
 
OMX_BUFFERHEADERTYPE ** in_buffer_headers
 
OMX_BUFFERHEADERTYPE ** out_buffer_headers
 
int num_free_in_buffers
 
OMX_BUFFERHEADERTYPE ** free_in_buffers
 
int num_done_out_buffers
 
OMX_BUFFERHEADERTYPE ** done_out_buffers
 
pthread_mutex_t input_mutex
 
pthread_cond_t input_cond
 
pthread_mutex_t output_mutex
 
pthread_cond_t output_cond
 
pthread_mutex_t state_mutex
 
pthread_cond_t state_cond
 
OMX_STATETYPE state
 
OMX_ERRORTYPE error
 
int mutex_cond_inited
 
int num_in_frames
 
int num_out_frames
 
uint8_toutput_buf
 
int output_buf_size
 
int input_zerocopy
 
int profile
 

Detailed Description

Definition at line 189 of file omx.c.

Field Documentation

const AVClass* OMXCodecContext::class

Definition at line 190 of file omx.c.

char* OMXCodecContext::libname

Definition at line 191 of file omx.c.

Referenced by omx_encode_init().

char* OMXCodecContext::libprefix

Definition at line 192 of file omx.c.

Referenced by omx_encode_init().

OMXContext* OMXCodecContext::omx_context

Definition at line 193 of file omx.c.

Referenced by cleanup(), omx_component_init(), and omx_encode_init().

AVCodecContext* OMXCodecContext::avctx

Definition at line 195 of file omx.c.

Referenced by event_handler(), and omx_encode_init().

char OMXCodecContext::component_name[OMX_MAX_STRINGNAME_SIZE]

Definition at line 197 of file omx.c.

Referenced by omx_component_init(), and omx_encode_init().

OMX_VERSIONTYPE OMXCodecContext::version

Definition at line 198 of file omx.c.

Referenced by omx_component_init().

OMX_HANDLETYPE OMXCodecContext::handle

Definition at line 199 of file omx.c.

Referenced by cleanup(), omx_component_init(), omx_encode_frame(), and omx_encode_init().

int OMXCodecContext::in_port

Definition at line 200 of file omx.c.

Referenced by cleanup(), and omx_component_init().

int OMXCodecContext::out_port

Definition at line 200 of file omx.c.

Referenced by cleanup(), and omx_component_init().

OMX_COLOR_FORMATTYPE OMXCodecContext::color_format

Definition at line 201 of file omx.c.

Referenced by omx_component_init().

int OMXCodecContext::stride

Definition at line 202 of file omx.c.

Referenced by omx_component_init(), and omx_encode_frame().

int OMXCodecContext::plane_size

Definition at line 202 of file omx.c.

Referenced by omx_component_init(), and omx_encode_frame().

int OMXCodecContext::num_in_buffers

Definition at line 204 of file omx.c.

Referenced by cleanup(), and omx_component_init().

int OMXCodecContext::num_out_buffers

Definition at line 204 of file omx.c.

Referenced by cleanup(), and omx_component_init().

OMX_BUFFERHEADERTYPE** OMXCodecContext::in_buffer_headers

Definition at line 205 of file omx.c.

Referenced by cleanup(), and omx_component_init().

OMX_BUFFERHEADERTYPE** OMXCodecContext::out_buffer_headers

Definition at line 206 of file omx.c.

Referenced by cleanup(), and omx_component_init().

int OMXCodecContext::num_free_in_buffers

Definition at line 207 of file omx.c.

Referenced by cleanup(), empty_buffer_done(), omx_component_init(), and omx_encode_frame().

OMX_BUFFERHEADERTYPE** OMXCodecContext::free_in_buffers

Definition at line 208 of file omx.c.

Referenced by cleanup(), empty_buffer_done(), omx_component_init(), and omx_encode_frame().

int OMXCodecContext::num_done_out_buffers
OMX_BUFFERHEADERTYPE** OMXCodecContext::done_out_buffers
pthread_mutex_t OMXCodecContext::input_mutex

Definition at line 211 of file omx.c.

Referenced by cleanup(), empty_buffer_done(), omx_encode_frame(), and omx_encode_init().

pthread_cond_t OMXCodecContext::input_cond

Definition at line 212 of file omx.c.

Referenced by cleanup(), empty_buffer_done(), omx_encode_frame(), and omx_encode_init().

pthread_mutex_t OMXCodecContext::output_mutex

Definition at line 213 of file omx.c.

Referenced by cleanup(), fill_buffer_done(), omx_encode_frame(), and omx_encode_init().

pthread_cond_t OMXCodecContext::output_cond

Definition at line 214 of file omx.c.

Referenced by cleanup(), fill_buffer_done(), omx_encode_frame(), and omx_encode_init().

pthread_mutex_t OMXCodecContext::state_mutex

Definition at line 216 of file omx.c.

Referenced by cleanup(), event_handler(), omx_encode_init(), and wait_for_state().

pthread_cond_t OMXCodecContext::state_cond

Definition at line 217 of file omx.c.

Referenced by cleanup(), event_handler(), omx_encode_init(), and wait_for_state().

OMX_STATETYPE OMXCodecContext::state

Definition at line 218 of file omx.c.

Referenced by cleanup(), event_handler(), omx_encode_init(), and wait_for_state().

OMX_ERRORTYPE OMXCodecContext::error

Definition at line 219 of file omx.c.

Referenced by event_handler(), omx_encode_init(), and wait_for_state().

int OMXCodecContext::mutex_cond_inited

Definition at line 221 of file omx.c.

Referenced by cleanup(), and omx_encode_init().

int OMXCodecContext::num_in_frames

Definition at line 223 of file omx.c.

Referenced by omx_encode_frame().

int OMXCodecContext::num_out_frames

Definition at line 223 of file omx.c.

Referenced by omx_encode_frame().

uint8_t* OMXCodecContext::output_buf

Definition at line 225 of file omx.c.

Referenced by cleanup(), and omx_encode_frame().

int OMXCodecContext::output_buf_size

Definition at line 226 of file omx.c.

Referenced by omx_encode_frame().

int OMXCodecContext::input_zerocopy
int OMXCodecContext::profile

Definition at line 229 of file omx.c.

Referenced by omx_component_init().


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