FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ScaleContext Struct Reference

Data Fields

const AVClassclass
 
struct SwsContextsws
 software scaler context
 
struct SwsContextisws [2]
 software scaler context for interlaced material
 
AVDictionaryopts
 
int w
 New dimensions.
 
int h
 
char * size_str
 
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
 
int output_is_pal
 set to 1 if the output format is paletted
 
int interlaced
 
char * w_expr
 width expression string
 
char * h_expr
 height expression string
 
char * flags_str
 
char * in_color_matrix
 
char * out_color_matrix
 
int in_range
 
int out_range
 
int out_h_chr_pos
 
int out_v_chr_pos
 
int in_h_chr_pos
 
int in_v_chr_pos
 
int force_original_aspect_ratio
 

Detailed Description

Definition at line 70 of file vf_scale.c.

Field Documentation

const AVClass* ScaleContext::class

Definition at line 71 of file vf_scale.c.

struct SwsContext* ScaleContext::sws

software scaler context

Definition at line 72 of file vf_scale.c.

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

struct SwsContext* ScaleContext::isws[2]

software scaler context for interlaced material

Definition at line 73 of file vf_scale.c.

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

AVDictionary* ScaleContext::opts

Definition at line 74 of file vf_scale.c.

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

int ScaleContext::w

New dimensions.

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

Definition at line 81 of file vf_scale.c.

Referenced by config_props(), and init_dict().

int ScaleContext::h

Definition at line 81 of file vf_scale.c.

Referenced by config_props(), and init_dict().

char* ScaleContext::size_str

Definition at line 82 of file vf_scale.c.

Referenced by init_dict().

unsigned int ScaleContext::flags

Definition at line 83 of file vf_scale.c.

Referenced by config_props(), and init_dict().

int ScaleContext::hsub

sws flags

Definition at line 85 of file vf_scale.c.

Referenced by filter_frame().

int ScaleContext::vsub

chroma subsampling

Definition at line 85 of file vf_scale.c.

Referenced by filter_frame(), and scale_slice().

int ScaleContext::slice_y

top of current output slice

Definition at line 86 of file vf_scale.c.

int ScaleContext::input_is_pal

set to 1 if the input format is paletted

Definition at line 87 of file vf_scale.c.

Referenced by config_props(), and scale_slice().

int ScaleContext::output_is_pal

set to 1 if the output format is paletted

Definition at line 88 of file vf_scale.c.

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

int ScaleContext::interlaced

Definition at line 89 of file vf_scale.c.

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

char* ScaleContext::w_expr

width expression string

Definition at line 91 of file vf_scale.c.

Referenced by config_props(), and init_dict().

char* ScaleContext::h_expr

height expression string

Definition at line 92 of file vf_scale.c.

Referenced by config_props(), and init_dict().

char* ScaleContext::flags_str

Definition at line 93 of file vf_scale.c.

Referenced by init_dict().

char* ScaleContext::in_color_matrix

Definition at line 95 of file vf_scale.c.

Referenced by filter_frame().

char* ScaleContext::out_color_matrix

Definition at line 96 of file vf_scale.c.

Referenced by filter_frame().

int ScaleContext::in_range

Definition at line 98 of file vf_scale.c.

int ScaleContext::out_range

Definition at line 99 of file vf_scale.c.

Referenced by filter_frame().

int ScaleContext::out_h_chr_pos

Definition at line 101 of file vf_scale.c.

Referenced by config_props().

int ScaleContext::out_v_chr_pos

Definition at line 102 of file vf_scale.c.

Referenced by config_props().

int ScaleContext::in_h_chr_pos

Definition at line 103 of file vf_scale.c.

Referenced by config_props().

int ScaleContext::in_v_chr_pos

Definition at line 104 of file vf_scale.c.

Referenced by config_props().

int ScaleContext::force_original_aspect_ratio

Definition at line 106 of file vf_scale.c.

Referenced by config_props().


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