OverlayContext Struct Reference
Collaboration diagram for OverlayContext:
Collaboration graph

Public Types

enum  OverlayFormat { OVERLAY_FORMAT_YUV420, 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 More...
 
double enable
 tells if blending is enabled More...
 
int allow_packed_rgb
 
uint8_t frame_requested
 
uint8_t overlay_eof
 
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
 
AVFrameoverpicref
 
struct FFBufQueue queue_main
 
struct FFBufQueue queue_over
 
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...
 
int shortest
 terminate stream when the shortest input terminates More...
 
int repeatlast
 repeat last overlay frame More...
 
double var_values [VAR_VARS_NB]
 
char * x_expr
 
char * y_expr
 
char * enable_expr
 
AVExprx_pexpr
 
AVExpry_pexpr
 
AVExprenable_pexpr
 

Detailed Description

Definition at line 88 of file vf_overlay.c.

Member Enumeration Documentation

Enumerator
EVAL_MODE_INIT 
EVAL_MODE_FRAME 
EVAL_MODE_NB 

Definition at line 103 of file vf_overlay.c.

Enumerator
OVERLAY_FORMAT_YUV420 
OVERLAY_FORMAT_YUV444 
OVERLAY_FORMAT_RGB 
OVERLAY_FORMAT_NB 

Definition at line 102 of file vf_overlay.c.

Field Documentation

int OverlayContext::allow_packed_rgb

Definition at line 93 of file vf_overlay.c.

Referenced by init().

const AVClass* OverlayContext::class

Definition at line 89 of file vf_overlay.c.

double OverlayContext::enable

tells if blending is enabled

Definition at line 91 of file vf_overlay.c.

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

char* OverlayContext::enable_expr

Definition at line 117 of file vf_overlay.c.

Referenced by config_input_overlay().

AVExpr * OverlayContext::enable_pexpr

Definition at line 118 of file vf_overlay.c.

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

enum OverlayContext::EvalMode OverlayContext::eval_mode
uint8_t OverlayContext::frame_requested

Definition at line 94 of file vf_overlay.c.

Referenced by request_frame(), and try_filter_frame().

int OverlayContext::hsub

Definition at line 111 of file vf_overlay.c.

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

uint8_t OverlayContext::main_has_alpha

Definition at line 98 of file vf_overlay.c.

Referenced by blend_image(), and config_input_main().

uint8_t OverlayContext::main_is_packed_rgb

Definition at line 96 of file vf_overlay.c.

Referenced by blend_image(), and config_input_main().

int OverlayContext::main_pix_step[4]

steps per pixel for each plane of the main output

Definition at line 109 of file vf_overlay.c.

Referenced by blend_image(), and config_input_main().

uint8_t OverlayContext::main_rgba_map[4]

Definition at line 97 of file vf_overlay.c.

Referenced by blend_image(), and config_input_main().

uint8_t OverlayContext::overlay_eof

Definition at line 95 of file vf_overlay.c.

Referenced by request_frame(), and try_filter_frame().

uint8_t OverlayContext::overlay_has_alpha

Definition at line 101 of file vf_overlay.c.

Referenced by config_input_overlay().

uint8_t OverlayContext::overlay_is_packed_rgb

Definition at line 99 of file vf_overlay.c.

Referenced by config_input_overlay().

int OverlayContext::overlay_pix_step[4]

steps per pixel for each plane of the overlay

Definition at line 110 of file vf_overlay.c.

Referenced by blend_image(), and config_input_overlay().

uint8_t OverlayContext::overlay_rgba_map[4]

Definition at line 100 of file vf_overlay.c.

Referenced by blend_image(), and config_input_overlay().

AVFrame* OverlayContext::overpicref

Definition at line 105 of file vf_overlay.c.

Referenced by filter_frame_main(), try_filter_frame(), and uninit().

struct FFBufQueue OverlayContext::queue_main

Definition at line 106 of file vf_overlay.c.

Referenced by filter_frame_main(), request_frame(), try_filter_next_frame(), and uninit().

struct FFBufQueue OverlayContext::queue_over

Definition at line 107 of file vf_overlay.c.

Referenced by filter_frame_over(), request_frame(), try_filter_frame(), and uninit().

int OverlayContext::repeatlast

repeat last overlay frame

Definition at line 113 of file vf_overlay.c.

Referenced by try_filter_frame().

int OverlayContext::shortest

terminate stream when the shortest input terminates

Definition at line 112 of file vf_overlay.c.

Referenced by request_frame().

double OverlayContext::var_values[VAR_VARS_NB]

Definition at line 115 of file vf_overlay.c.

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

int OverlayContext::vsub

chroma subsampling values

Definition at line 111 of file vf_overlay.c.

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

int OverlayContext::x

Definition at line 90 of file vf_overlay.c.

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

char* OverlayContext::x_expr

Definition at line 116 of file vf_overlay.c.

Referenced by config_input_overlay().

AVExpr* OverlayContext::x_pexpr

Definition at line 118 of file vf_overlay.c.

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

int OverlayContext::y

position of overlayed picture

Definition at line 90 of file vf_overlay.c.

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

char * OverlayContext::y_expr

Definition at line 116 of file vf_overlay.c.

Referenced by config_input_overlay().

AVExpr * OverlayContext::y_pexpr

Definition at line 118 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: