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

Data Fields

const AVClassclass
 
int x
 
int y
 position of overlaid picture More...
 
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
 
int format
 OverlayFormat. More...
 
int eval_mode
 EvalMode. More...
 
FFDualInputContext dinput
 
int main_pix_step [4]
 steps per pixel for each plane of the main output More...
 
int overlay_pix_step [4]
 steps per pixel for each plane of the overlay More...
 
int hsub
 
int vsub
 chroma subsampling values More...
 
const AVPixFmtDescriptormain_desc
 format descriptor for main input More...
 
double var_values [VAR_VARS_NB]
 
char * x_expr
 
char * y_expr
 
int eof_action
 action to take on EOF from source More...
 
AVExprx_pexpr
 
AVExpry_pexpr
 
void(* blend_image )(AVFilterContext *ctx, AVFrame *dst, const AVFrame *src, int x, int y)
 

Detailed Description

Definition at line 109 of file vf_overlay.c.

Field Documentation

const AVClass* OverlayContext::class

Definition at line 110 of file vf_overlay.c.

int OverlayContext::x

Definition at line 111 of file vf_overlay.c.

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

int OverlayContext::y

position of overlaid picture

Definition at line 111 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 113 of file vf_overlay.c.

Referenced by init().

uint8_t OverlayContext::main_is_packed_rgb

Definition at line 114 of file vf_overlay.c.

Referenced by config_input_main().

uint8_t OverlayContext::main_rgba_map[4]

Definition at line 115 of file vf_overlay.c.

Referenced by blend_image_packed_rgb(), and config_input_main().

uint8_t OverlayContext::main_has_alpha
uint8_t OverlayContext::overlay_is_packed_rgb

Definition at line 117 of file vf_overlay.c.

Referenced by config_input_overlay().

uint8_t OverlayContext::overlay_rgba_map[4]

Definition at line 118 of file vf_overlay.c.

Referenced by blend_image_packed_rgb(), and config_input_overlay().

uint8_t OverlayContext::overlay_has_alpha

Definition at line 119 of file vf_overlay.c.

Referenced by config_input_overlay().

int OverlayContext::format

OverlayFormat.

Definition at line 120 of file vf_overlay.c.

Referenced by config_input_main(), init(), and query_formats().

int OverlayContext::eval_mode

EvalMode.

Definition at line 121 of file vf_overlay.c.

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

FFDualInputContext OverlayContext::dinput

Definition at line 123 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 125 of file vf_overlay.c.

Referenced by blend_image_packed_rgb(), and config_input_main().

int OverlayContext::overlay_pix_step[4]

steps per pixel for each plane of the overlay

Definition at line 126 of file vf_overlay.c.

Referenced by blend_image_packed_rgb(), and config_input_overlay().

int OverlayContext::hsub

Definition at line 127 of file vf_overlay.c.

Referenced by config_input_main(), and eval_expr().

int OverlayContext::vsub

chroma subsampling values

Definition at line 127 of file vf_overlay.c.

Referenced by config_input_main(), and eval_expr().

const AVPixFmtDescriptor* OverlayContext::main_desc

format descriptor for main input

Definition at line 128 of file vf_overlay.c.

Referenced by blend_plane(), and config_input_main().

double OverlayContext::var_values[VAR_VARS_NB]

Definition at line 130 of file vf_overlay.c.

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

char* OverlayContext::x_expr

Definition at line 131 of file vf_overlay.c.

Referenced by config_input_overlay().

char * OverlayContext::y_expr

Definition at line 131 of file vf_overlay.c.

Referenced by config_input_overlay().

int OverlayContext::eof_action

action to take on EOF from source

Definition at line 133 of file vf_overlay.c.

Referenced by config_input_overlay(), and init().

AVExpr* OverlayContext::x_pexpr

Definition at line 135 of file vf_overlay.c.

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

AVExpr * OverlayContext::y_pexpr

Definition at line 135 of file vf_overlay.c.

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

void(* OverlayContext::blend_image)(AVFilterContext *ctx, AVFrame *dst, const AVFrame *src, int x, int y)

Definition at line 137 of file vf_overlay.c.

Referenced by config_input_main(), and do_blend().


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