PadContext Struct Reference

Data Fields

int w
int h
 output dimensions, a value of 0 will result in the input size
int x
int y
 offsets of the input area with respect to the padded area
int in_w
int in_h
 width and height for the padded input video, which has to be aligned to the chroma values in order to avoid chroma issues
char w_expr [256]
 width expression string
char h_expr [256]
 height expression string
char x_expr [256]
 width expression string
char y_expr [256]
 height expression string
uint8_t color [4]
 color expressed either in YUVA or RGBA colorspace for the padding area
uint8_t * line [4]
int line_step [4]
int hsub
int vsub
 chroma subsampling values
int needs_copy

Detailed Description

Definition at line 91 of file vf_pad.c.

Field Documentation

uint8_t PadContext::color[4]

color expressed either in YUVA or RGBA colorspace for the padding area

Definition at line 101 of file vf_pad.c.

Referenced by config_input(), and init().

int PadContext::h

output dimensions, a value of 0 will result in the input size

Definition at line 92 of file vf_pad.c.

Referenced by config_input(), config_output(), draw_send_bar_slice(), get_video_buffer(), and start_frame().

char PadContext::h_expr[256]

height expression string

Definition at line 97 of file vf_pad.c.

Referenced by config_input(), and init().

int PadContext::hsub
int PadContext::in_h

width and height for the padded input video, which has to be aligned to the chroma values in order to avoid chroma issues

Definition at line 94 of file vf_pad.c.

Referenced by config_input(), draw_send_bar_slice(), and get_video_buffer().

int PadContext::in_w

Definition at line 94 of file vf_pad.c.

Referenced by config_input(), draw_slice(), and get_video_buffer().

uint8_t* PadContext::line[4]

Definition at line 102 of file vf_pad.c.

Referenced by config_input(), draw_send_bar_slice(), draw_slice(), and uninit().

int PadContext::line_step[4]
int PadContext::needs_copy

Definition at line 105 of file vf_pad.c.

Referenced by draw_slice(), and start_frame().

int PadContext::vsub

chroma subsampling values

Definition at line 104 of file vf_pad.c.

Referenced by config_input(), draw_send_bar_slice(), draw_slice(), get_video_buffer(), and start_frame().

int PadContext::w
char PadContext::w_expr[256]

width expression string

Definition at line 96 of file vf_pad.c.

Referenced by config_input(), and init().

int PadContext::x

Definition at line 93 of file vf_pad.c.

Referenced by config_input(), draw_slice(), get_video_buffer(), and start_frame().

char PadContext::x_expr[256]

width expression string

Definition at line 98 of file vf_pad.c.

Referenced by config_input(), and init().

int PadContext::y

offsets of the input area with respect to the padded area

Definition at line 93 of file vf_pad.c.

Referenced by config_input(), draw_send_bar_slice(), draw_slice(), get_video_buffer(), and start_frame().

char PadContext::y_expr[256]

height expression string

Definition at line 99 of file vf_pad.c.

Referenced by config_input(), and init().


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