FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Types | Data Fields
OverlayContext Struct Reference

Public Types

enum  OverlayFormat {
  OVERLAY_FORMAT_YUV420, OVERLAY_FORMAT_YUV422, OVERLAY_FORMAT_YUV444, OVERLAY_FORMAT_RGB,
  OVERLAY_FORMAT_NB
}
 
enum  EvalMode { EVAL_MODE_INIT, EVAL_MODE_FRAME, EVAL_MODE_NB }
 

Data Fields

const AVClassclass
 
int x
 
int y
 position of overlayed picture
 
int allow_packed_rgb
 
uint8_t main_is_packed_rgb
 
uint8_t main_rgba_map [4]
 
uint8_t main_has_alpha
 
uint8_t overlay_is_packed_rgb
 
uint8_t overlay_rgba_map [4]
 
uint8_t overlay_has_alpha
 
enum OverlayContext::OverlayFormat format
 
enum OverlayContext::EvalMode eval_mode
 
FFDualInputContext dinput
 
int main_pix_step [4]
 steps per pixel for each plane of the main output
 
int overlay_pix_step [4]
 steps per pixel for each plane of the overlay
 
int hsub
 
int vsub
 chroma subsampling values
 
double var_values [VAR_VARS_NB]
 
char * x_expr
 
char * y_expr
 
enum EOFAction eof_action
 action to take on EOF from source
 
AVExprx_pexpr
 
AVExpry_pexpr
 

Detailed Description

Definition at line 95 of file vf_overlay.c.

Member Enumeration Documentation

Enumerator:
OVERLAY_FORMAT_YUV420 
OVERLAY_FORMAT_YUV422 
OVERLAY_FORMAT_YUV444 
OVERLAY_FORMAT_RGB 
OVERLAY_FORMAT_NB 

Definition at line 106 of file vf_overlay.c.

Enumerator:
EVAL_MODE_INIT 
EVAL_MODE_FRAME 
EVAL_MODE_NB 

Definition at line 107 of file vf_overlay.c.

Field Documentation

const AVClass* OverlayContext::class

Definition at line 96 of file vf_overlay.c.

int OverlayContext::x

Definition at line 97 of file vf_overlay.c.

Referenced by config_input_overlay(), do_blend(), eval_expr(), and process_command().

int OverlayContext::y

position of overlayed picture

Definition at line 97 of file vf_overlay.c.

Referenced by config_input_overlay(), do_blend(), eval_expr(), and process_command().

int OverlayContext::allow_packed_rgb

Definition at line 99 of file vf_overlay.c.

Referenced by init().

uint8_t OverlayContext::main_is_packed_rgb

Definition at line 100 of file vf_overlay.c.

Referenced by blend_image(), and config_input_main().

uint8_t OverlayContext::main_rgba_map[4]

Definition at line 101 of file vf_overlay.c.

Referenced by blend_image(), and config_input_main().

uint8_t OverlayContext::main_has_alpha

Definition at line 102 of file vf_overlay.c.

Referenced by blend_image(), and config_input_main().

uint8_t OverlayContext::overlay_is_packed_rgb

Definition at line 103 of file vf_overlay.c.

Referenced by config_input_overlay().

uint8_t OverlayContext::overlay_rgba_map[4]

Definition at line 104 of file vf_overlay.c.

Referenced by blend_image(), and config_input_overlay().

uint8_t OverlayContext::overlay_has_alpha

Definition at line 105 of file vf_overlay.c.

Referenced by config_input_overlay().

enum OverlayContext::OverlayFormat OverlayContext::format

Referenced by init(), and query_formats().

enum OverlayContext::EvalMode OverlayContext::eval_mode
FFDualInputContext OverlayContext::dinput

Definition at line 109 of file vf_overlay.c.

Referenced by config_output(), filter_frame(), init(), request_frame(), and uninit().

int OverlayContext::main_pix_step[4]

steps per pixel for each plane of the main output

Definition at line 111 of file vf_overlay.c.

Referenced by blend_image(), and config_input_main().

int OverlayContext::overlay_pix_step[4]

steps per pixel for each plane of the overlay

Definition at line 112 of file vf_overlay.c.

Referenced by blend_image(), and config_input_overlay().

int OverlayContext::hsub

Definition at line 113 of file vf_overlay.c.

Referenced by blend_image(), config_input_main(), and eval_expr().

int OverlayContext::vsub

chroma subsampling values

Definition at line 113 of file vf_overlay.c.

Referenced by blend_image(), config_input_main(), and eval_expr().

double OverlayContext::var_values[VAR_VARS_NB]

Definition at line 115 of file vf_overlay.c.

Referenced by config_input_overlay(), do_blend(), eval_expr(), and process_command().

char* OverlayContext::x_expr

Definition at line 116 of file vf_overlay.c.

Referenced by config_input_overlay().

char * OverlayContext::y_expr

Definition at line 116 of file vf_overlay.c.

Referenced by config_input_overlay().

enum EOFAction OverlayContext::eof_action

action to take on EOF from source

Definition at line 118 of file vf_overlay.c.

Referenced by config_input_overlay(), and init().

AVExpr* OverlayContext::x_pexpr

Definition at line 120 of file vf_overlay.c.

Referenced by config_input_overlay(), eval_expr(), process_command(), and uninit().

AVExpr * OverlayContext::y_pexpr

Definition at line 120 of file vf_overlay.c.

Referenced by config_input_overlay(), eval_expr(), process_command(), and uninit().


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