FFmpeg  4.0
Data Fields
OverlayContext Struct Reference

Data Fields

const AVClassclass
 
int x
 
int y
 position of overlaid picture More...
 
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 alpha_format
 
int eval_mode
 EvalMode. More...
 
FFFrameSync fs
 
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
 
AVExprx_pexpr
 
AVExpry_pexpr
 
void(* blend_image )(AVFilterContext *ctx, AVFrame *dst, const AVFrame *src, int x, int y)
 

Detailed Description

Definition at line 101 of file vf_overlay.c.

Field Documentation

◆ class

const AVClass* OverlayContext::class

Definition at line 102 of file vf_overlay.c.

◆ x

int OverlayContext::x

Definition at line 103 of file vf_overlay.c.

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

◆ y

int OverlayContext::y

position of overlaid picture

Definition at line 103 of file vf_overlay.c.

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

◆ main_is_packed_rgb

uint8_t OverlayContext::main_is_packed_rgb

Definition at line 105 of file vf_overlay.c.

Referenced by config_input_main().

◆ main_rgba_map

uint8_t OverlayContext::main_rgba_map[4]

Definition at line 106 of file vf_overlay.c.

Referenced by blend_image_packed_rgb(), and config_input_main().

◆ main_has_alpha

uint8_t OverlayContext::main_has_alpha

Definition at line 107 of file vf_overlay.c.

Referenced by config_input_main().

◆ overlay_is_packed_rgb

uint8_t OverlayContext::overlay_is_packed_rgb

Definition at line 108 of file vf_overlay.c.

Referenced by config_input_overlay().

◆ overlay_rgba_map

uint8_t OverlayContext::overlay_rgba_map[4]

Definition at line 109 of file vf_overlay.c.

Referenced by blend_image_packed_rgb(), and config_input_overlay().

◆ overlay_has_alpha

uint8_t OverlayContext::overlay_has_alpha

Definition at line 110 of file vf_overlay.c.

Referenced by config_input_overlay().

◆ format

int OverlayContext::format

OverlayFormat.

Definition at line 111 of file vf_overlay.c.

Referenced by config_input_main(), and query_formats().

◆ alpha_format

int OverlayContext::alpha_format

Definition at line 112 of file vf_overlay.c.

Referenced by config_input_main().

◆ eval_mode

int OverlayContext::eval_mode

EvalMode.

Definition at line 113 of file vf_overlay.c.

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

◆ fs

FFFrameSync OverlayContext::fs

Definition at line 115 of file vf_overlay.c.

Referenced by activate(), config_output(), init(), and uninit().

◆ main_pix_step

int OverlayContext::main_pix_step[4]

steps per pixel for each plane of the main output

Definition at line 117 of file vf_overlay.c.

Referenced by blend_image_packed_rgb(), and config_input_main().

◆ overlay_pix_step

int OverlayContext::overlay_pix_step[4]

steps per pixel for each plane of the overlay

Definition at line 118 of file vf_overlay.c.

Referenced by blend_image_packed_rgb(), and config_input_overlay().

◆ hsub

int OverlayContext::hsub

Definition at line 119 of file vf_overlay.c.

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

◆ vsub

int OverlayContext::vsub

chroma subsampling values

Definition at line 119 of file vf_overlay.c.

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

◆ main_desc

const AVPixFmtDescriptor* OverlayContext::main_desc

format descriptor for main input

Definition at line 120 of file vf_overlay.c.

Referenced by blend_image_planar_rgb(), blend_image_yuv(), and config_input_main().

◆ var_values

double OverlayContext::var_values[VAR_VARS_NB]

Definition at line 122 of file vf_overlay.c.

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

◆ x_expr

char* OverlayContext::x_expr

Definition at line 123 of file vf_overlay.c.

Referenced by config_input_overlay().

◆ y_expr

char * OverlayContext::y_expr

Definition at line 123 of file vf_overlay.c.

Referenced by config_input_overlay().

◆ x_pexpr

AVExpr* OverlayContext::x_pexpr

Definition at line 125 of file vf_overlay.c.

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

◆ y_pexpr

AVExpr * OverlayContext::y_pexpr

Definition at line 125 of file vf_overlay.c.

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

◆ blend_image

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

Definition at line 127 of file vf_overlay.c.

Referenced by config_input_main(), and do_blend().


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