ScaleContext Struct Reference

Data Fields

struct SwsContextsws
 software scaler context
int w
 New dimensions.
int h
unsigned int flags
int hsub
 sws flags
int vsub
 chroma subsampling
int slice_y
 top of current output slice
int input_is_pal
 set to 1 if the input format is paletted
char w_expr [256]
 width expression string
char h_expr [256]
 height expression string

Detailed Description

Definition at line 63 of file vf_scale.c.

Field Documentation

unsigned int ScaleContext::flags

Definition at line 72 of file vf_scale.c.

Referenced by config_props(), and init().

int ScaleContext::h

Definition at line 71 of file vf_scale.c.

Referenced by config_props().

char ScaleContext::h_expr[256]

height expression string

Definition at line 79 of file vf_scale.c.

Referenced by config_props(), and init().

int ScaleContext::hsub

sws flags

Definition at line 74 of file vf_scale.c.

Referenced by start_frame().

int ScaleContext::input_is_pal

set to 1 if the input format is paletted

Definition at line 76 of file vf_scale.c.

Referenced by config_props(), and draw_slice().

int ScaleContext::slice_y

top of current output slice

Definition at line 75 of file vf_scale.c.

Referenced by draw_slice(), and start_frame().

struct SwsContext* ScaleContext::sws

software scaler context

Definition at line 64 of file vf_scale.c.

Referenced by config_props(), draw_slice(), and uninit().

int ScaleContext::vsub

chroma subsampling

Definition at line 74 of file vf_scale.c.

Referenced by draw_slice(), and start_frame().

int ScaleContext::w

New dimensions.

Special values are: 0 = original width/height -1 = keep original aspect

Definition at line 71 of file vf_scale.c.

Referenced by config_props().

char ScaleContext::w_expr[256]

width expression string

Definition at line 78 of file vf_scale.c.

Referenced by config_props(), and init().


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