FFmpeg
Data Fields
VGSEvalState Struct Reference

Data Fields

void * log_ctx
 
AVFrameframe
 Current frame. More...
 
cairo_t * cairo_ctx
 Cairo context for drawing operations. More...
 
cairo_pattern_t * pattern_builder
 Pattern being built by commands like colorstop. More...
 
int interrupted
 Register if break was called in a subprogram. More...
 
int preserve_path
 Next call to [eo]fill, [eo]clip, or stroke, should use the _preserve function. More...
 
struct VGSProcedureprocedures
 Subprograms associated to each procedure identifier. More...
 
const char *const * proc_names
 Reference to the procedure names in the VGSProgram. More...
 
double vars [VAR_COUNT]
 Values for the variables in expressions. More...
 
cairo_color color_vars [USER_VAR_COUNT]
 Colors stored in variables. More...
 
struct {
   double   numeric
 
   uint8_t   components [4]
 
last_fn_p_color
 Track last color read by the p() function. More...
 
FFSFC64 random_state [RANDOM_STATES]
 State for each index available for the randomg function. More...
 
AVDictionarymetadata
 Frame metadata, if any. More...
 
struct {
enum  { RCP_NONE, RCP_VALID, RCP_UPDATED }
 
   enum VGSEvalState:: { ... }    status
 
   double   cubic_x
 
   double   cubic_y
 
   double   quad_x
 
   double   quad_y
 
rcp
 

Detailed Description

Definition at line 1412 of file vf_drawvg.c.

Field Documentation

◆ log_ctx

void* VGSEvalState::log_ctx

Definition at line 1413 of file vf_drawvg.c.

Referenced by vgs_eval_state_init().

◆ frame

AVFrame* VGSEvalState::frame

Current frame.

Definition at line 1416 of file vf_drawvg.c.

◆ cairo_ctx

cairo_t* VGSEvalState::cairo_ctx

Cairo context for drawing operations.

Definition at line 1419 of file vf_drawvg.c.

Referenced by drawvg_filter_frame().

◆ pattern_builder

cairo_pattern_t* VGSEvalState::pattern_builder

Pattern being built by commands like colorstop.

Definition at line 1422 of file vf_drawvg.c.

◆ interrupted

int VGSEvalState::interrupted

Register if break was called in a subprogram.

Definition at line 1425 of file vf_drawvg.c.

◆ preserve_path

int VGSEvalState::preserve_path

Next call to [eo]fill, [eo]clip, or stroke, should use the _preserve function.

Definition at line 1429 of file vf_drawvg.c.

◆ procedures

struct VGSProcedure* VGSEvalState::procedures

Subprograms associated to each procedure identifier.

Definition at line 1432 of file vf_drawvg.c.

◆ proc_names

const char* const * VGSEvalState::proc_names

Reference to the procedure names in the VGSProgram.

Definition at line 1435 of file vf_drawvg.c.

◆ vars

double VGSEvalState::vars[VAR_COUNT]

Values for the variables in expressions.

Some variables (like cx or cy) are written before executing each statement.

Definition at line 1441 of file vf_drawvg.c.

Referenced by drawvg_filter_frame().

◆ color_vars

cairo_color VGSEvalState::color_vars[USER_VAR_COUNT]

Colors stored in variables.

Definition at line 1444 of file vf_drawvg.c.

◆ numeric

double VGSEvalState::numeric

Definition at line 1448 of file vf_drawvg.c.

◆ components

uint8_t VGSEvalState::components[4]

Definition at line 1449 of file vf_drawvg.c.

◆ last_fn_p_color

struct { ... } VGSEvalState::last_fn_p_color

Track last color read by the p() function.

◆ random_state

FFSFC64 VGSEvalState::random_state[RANDOM_STATES]

State for each index available for the randomg function.

Definition at line 1453 of file vf_drawvg.c.

◆ metadata

AVDictionary* VGSEvalState::metadata

Frame metadata, if any.

Definition at line 1456 of file vf_drawvg.c.

Referenced by drawvg_filter_frame().

◆ status

enum { ... } VGSEvalState::status

◆ cubic_x

double VGSEvalState::cubic_x

Definition at line 1464 of file vf_drawvg.c.

◆ cubic_y

double VGSEvalState::cubic_y

Definition at line 1465 of file vf_drawvg.c.

◆ quad_x

double VGSEvalState::quad_x

Definition at line 1466 of file vf_drawvg.c.

◆ quad_y

double VGSEvalState::quad_y

Definition at line 1467 of file vf_drawvg.c.

◆ rcp

struct { ... } VGSEvalState::rcp

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