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_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 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
 
int overlay_pix_step [4]
 steps per pixel for each plane of the overlay
 
int hsub
 
int vsub
 chroma subsampling values
 
int shortest
 terminate stream when the shortest input terminates
 
int repeatlast
 repeat last overlay frame
 
double var_values [VAR_VARS_NB]
 
char * x_expr
 
char * y_expr
 
AVExprx_pexpr
 
AVExpry_pexpr
 

Detailed Description

Definition at line 88 of file vf_overlay.c.

Member Enumeration Documentation

Enumerator:
OVERLAY_FORMAT_YUV420 
OVERLAY_FORMAT_YUV444 
OVERLAY_FORMAT_RGB 
OVERLAY_FORMAT_NB 

Definition at line 101 of file vf_overlay.c.

Enumerator:
EVAL_MODE_INIT 
EVAL_MODE_FRAME 
EVAL_MODE_NB 

Definition at line 102 of file vf_overlay.c.

Field Documentation

const AVClass* OverlayContext::class

Definition at line 89 of file vf_overlay.c.

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().

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().

int OverlayContext::allow_packed_rgb

Definition at line 92 of file vf_overlay.c.

Referenced by init().

uint8_t OverlayContext::frame_requested

Definition at line 93 of file vf_overlay.c.

Referenced by request_frame(), and try_filter_frame().

uint8_t OverlayContext::overlay_eof

Definition at line 94 of file vf_overlay.c.

Referenced by request_frame(), and try_filter_frame().

uint8_t OverlayContext::main_is_packed_rgb

Definition at line 95 of file vf_overlay.c.

Referenced by blend_image(), and config_input_main().

uint8_t OverlayContext::main_rgba_map[4]

Definition at line 96 of file vf_overlay.c.

Referenced by blend_image(), and config_input_main().

uint8_t OverlayContext::main_has_alpha

Definition at line 97 of file vf_overlay.c.

Referenced by blend_image(), and config_input_main().

uint8_t OverlayContext::overlay_is_packed_rgb

Definition at line 98 of file vf_overlay.c.

Referenced by config_input_overlay().

uint8_t OverlayContext::overlay_rgba_map[4]

Definition at line 99 of file vf_overlay.c.

Referenced by blend_image(), and config_input_overlay().

uint8_t OverlayContext::overlay_has_alpha

Definition at line 100 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
AVFrame* OverlayContext::overpicref

Definition at line 104 of file vf_overlay.c.

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

struct FFBufQueue OverlayContext::queue_main

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

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

int OverlayContext::main_pix_step[4]

steps per pixel for each plane of the main output

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

Referenced by blend_image(), and config_input_overlay().

int OverlayContext::hsub

Definition at line 110 of file vf_overlay.c.

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

int OverlayContext::vsub

chroma subsampling values

Definition at line 110 of file vf_overlay.c.

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

int OverlayContext::shortest

terminate stream when the shortest input terminates

Definition at line 111 of file vf_overlay.c.

Referenced by request_frame().

int OverlayContext::repeatlast

repeat last overlay frame

Definition at line 112 of file vf_overlay.c.

Referenced by try_filter_frame().

double OverlayContext::var_values[VAR_VARS_NB]

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

Referenced by config_input_overlay().

char * OverlayContext::y_expr

Definition at line 115 of file vf_overlay.c.

Referenced by config_input_overlay().

AVExpr* OverlayContext::x_pexpr

Definition at line 116 of file vf_overlay.c.

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

AVExpr * OverlayContext::y_pexpr

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