FFmpeg
Data Fields
DrawBoxContext Struct Reference

Data Fields

const AVClassclass
 
int x
 
int y
 
int w
 
int h
 
int thickness
 
char * color_str
 
uint8_t rgba_map [4]
 
uint8_t rgba_color [4]
 
unsigned char yuv_color [4]
 
int invert_color
 invert luma color More...
 
int vsub
 
int hsub
 chroma subsampling More...
 
char * x_expr
 
char * y_expr
 expression for x and y More...
 
char * w_expr
 
char * h_expr
 expression for width and height More...
 
char * t_expr
 expression for thickness More...
 
char * box_source_string
 string for box data source More...
 
int have_alpha
 
int replace
 
int step
 
enum AVFrameSideDataType box_source
 
void(* draw_region )(AVFrame *frame, struct DrawBoxContext *ctx, int left, int top, int right, int down, PixelBelongsToRegion pixel_belongs_to_region)
 

Detailed Description

Definition at line 80 of file vf_drawbox.c.

Field Documentation

◆ class

const AVClass* DrawBoxContext::class

Definition at line 81 of file vf_drawbox.c.

◆ x

int DrawBoxContext::x

Definition at line 82 of file vf_drawbox.c.

Referenced by draw_region(), draw_region_rgb_packed(), and pixel_belongs_to_box().

◆ y

int DrawBoxContext::y

Definition at line 82 of file vf_drawbox.c.

Referenced by draw_region(), draw_region_rgb_packed(), and pixel_belongs_to_box().

◆ w

int DrawBoxContext::w

Definition at line 82 of file vf_drawbox.c.

◆ h

int DrawBoxContext::h

Definition at line 82 of file vf_drawbox.c.

◆ thickness

int DrawBoxContext::thickness

Definition at line 83 of file vf_drawbox.c.

◆ color_str

char* DrawBoxContext::color_str

Definition at line 84 of file vf_drawbox.c.

◆ rgba_map

uint8_t DrawBoxContext::rgba_map[4]

Definition at line 85 of file vf_drawbox.c.

◆ rgba_color

uint8_t DrawBoxContext::rgba_color[4]

Definition at line 86 of file vf_drawbox.c.

◆ yuv_color

unsigned char DrawBoxContext::yuv_color[4]

Definition at line 87 of file vf_drawbox.c.

◆ invert_color

int DrawBoxContext::invert_color

invert luma color

Definition at line 88 of file vf_drawbox.c.

◆ vsub

int DrawBoxContext::vsub

Definition at line 89 of file vf_drawbox.c.

◆ hsub

int DrawBoxContext::hsub

chroma subsampling

Definition at line 89 of file vf_drawbox.c.

◆ x_expr

char* DrawBoxContext::x_expr

Definition at line 90 of file vf_drawbox.c.

◆ y_expr

char * DrawBoxContext::y_expr

expression for x and y

Definition at line 90 of file vf_drawbox.c.

◆ w_expr

char* DrawBoxContext::w_expr

Definition at line 91 of file vf_drawbox.c.

◆ h_expr

char * DrawBoxContext::h_expr

expression for width and height

Definition at line 91 of file vf_drawbox.c.

◆ t_expr

char* DrawBoxContext::t_expr

expression for thickness

Definition at line 92 of file vf_drawbox.c.

◆ box_source_string

char* DrawBoxContext::box_source_string

string for box data source

Definition at line 93 of file vf_drawbox.c.

Referenced by box_source_string_parse().

◆ have_alpha

int DrawBoxContext::have_alpha

Definition at line 94 of file vf_drawbox.c.

◆ replace

int DrawBoxContext::replace

Definition at line 95 of file vf_drawbox.c.

◆ step

int DrawBoxContext::step

Definition at line 96 of file vf_drawbox.c.

◆ box_source

enum AVFrameSideDataType DrawBoxContext::box_source

Definition at line 97 of file vf_drawbox.c.

◆ draw_region

void(* DrawBoxContext::draw_region) (AVFrame *frame, struct DrawBoxContext *ctx, int left, int top, int right, int down, PixelBelongsToRegion pixel_belongs_to_region)

Definition at line 99 of file vf_drawbox.c.


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