Libav
Data Fields
ScaleContext Struct Reference

Data Fields

const AVClassclass
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
 width expression string
char * h_expr
 height expression string
char * flags_str

Detailed Description

Definition at line 71 of file vf_scale.c.

Field Documentation

const AVClass* ScaleContext::class

Definition at line 72 of file vf_scale.c.

struct SwsContext* ScaleContext::sws

software scaler context

Definition at line 73 of file vf_scale.c.

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

int ScaleContext::w

New dimensions.

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

Definition at line 80 of file vf_scale.c.

Referenced by config_props().

int ScaleContext::h

Definition at line 80 of file vf_scale.c.

Referenced by config_props().

unsigned int ScaleContext::flags

Definition at line 81 of file vf_scale.c.

Referenced by config_props(), and init().

int ScaleContext::hsub

sws flags

Definition at line 83 of file vf_scale.c.

Referenced by filter_frame().

int ScaleContext::vsub

chroma subsampling

Definition at line 83 of file vf_scale.c.

Referenced by filter_frame().

int ScaleContext::slice_y

top of current output slice

Definition at line 84 of file vf_scale.c.

int ScaleContext::input_is_pal

set to 1 if the input format is paletted

Definition at line 85 of file vf_scale.c.

Referenced by config_props().

char* ScaleContext::w_expr

width expression string

Definition at line 87 of file vf_scale.c.

Referenced by config_props().

char* ScaleContext::h_expr

height expression string

Definition at line 88 of file vf_scale.c.

Referenced by config_props().

char* ScaleContext::flags_str

Definition at line 89 of file vf_scale.c.

Referenced by init().


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