FFmpeg
Data Fields
ScaleContext Struct Reference

Data Fields

const AVClassclass
 
struct SwsContextsws
 software scaler context More...
 
struct SwsContextisws [2]
 software scaler context for interlaced material More...
 
AVDictionaryopts
 
int w
 New dimensions. More...
 
int h
 
char * size_str
 
unsigned int flags
 
double param [2]
 sws flags More...
 
int hsub
 
int vsub
 chroma subsampling More...
 
int slice_y
 top of current output slice More...
 
int input_is_pal
 set to 1 if the input format is paletted More...
 
int output_is_pal
 set to 1 if the output format is paletted More...
 
int interlaced
 
char * w_expr
 width expression string More...
 
char * h_expr
 height expression string More...
 
AVExprw_pexpr
 
AVExprh_pexpr
 
double var_values [VARS_NB]
 
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
 
int force_divisible_by
 
int nb_slices
 
int eval_mode
 expression evaluation mode More...
 

Detailed Description

Definition at line 107 of file vf_scale.c.

Field Documentation

◆ class

const AVClass* ScaleContext::class

Definition at line 108 of file vf_scale.c.

◆ sws

struct SwsContext* ScaleContext::sws

software scaler context

Definition at line 109 of file vf_scale.c.

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

◆ isws

struct SwsContext* ScaleContext::isws[2]

software scaler context for interlaced material

Definition at line 110 of file vf_scale.c.

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

◆ opts

AVDictionary* ScaleContext::opts

Definition at line 111 of file vf_scale.c.

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

◆ w

int ScaleContext::w

New dimensions.

Special values are: 0 = original width/height -1 = keep original aspect -N = try to keep aspect but make sure it is divisible by N

Definition at line 119 of file vf_scale.c.

Referenced by config_props(), init_dict(), scale_eval_dimensions(), and scale_frame().

◆ h

int ScaleContext::h

Definition at line 119 of file vf_scale.c.

Referenced by config_props(), init_dict(), scale_eval_dimensions(), and scale_frame().

◆ size_str

char* ScaleContext::size_str

Definition at line 120 of file vf_scale.c.

Referenced by init_dict().

◆ flags

unsigned int ScaleContext::flags

Definition at line 121 of file vf_scale.c.

Referenced by config_props(), and init_dict().

◆ param

double ScaleContext::param[2]

sws flags

Definition at line 122 of file vf_scale.c.

Referenced by config_props().

◆ hsub

int ScaleContext::hsub

Definition at line 124 of file vf_scale.c.

Referenced by scale_frame().

◆ vsub

int ScaleContext::vsub

chroma subsampling

Definition at line 124 of file vf_scale.c.

Referenced by scale_frame(), and scale_slice().

◆ slice_y

int ScaleContext::slice_y

top of current output slice

Definition at line 125 of file vf_scale.c.

◆ input_is_pal

int ScaleContext::input_is_pal

set to 1 if the input format is paletted

Definition at line 126 of file vf_scale.c.

Referenced by config_props(), and scale_slice().

◆ output_is_pal

int ScaleContext::output_is_pal

set to 1 if the output format is paletted

Definition at line 127 of file vf_scale.c.

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

◆ interlaced

int ScaleContext::interlaced

Definition at line 128 of file vf_scale.c.

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

◆ w_expr

char* ScaleContext::w_expr

width expression string

Definition at line 130 of file vf_scale.c.

Referenced by check_exprs(), init_dict(), process_command(), scale_eval_dimensions(), and scale_frame().

◆ h_expr

char* ScaleContext::h_expr

height expression string

Definition at line 131 of file vf_scale.c.

Referenced by check_exprs(), init_dict(), process_command(), scale_eval_dimensions(), and scale_frame().

◆ w_pexpr

AVExpr* ScaleContext::w_pexpr

◆ h_pexpr

AVExpr* ScaleContext::h_pexpr

◆ var_values

double ScaleContext::var_values[VARS_NB]

Definition at line 134 of file vf_scale.c.

Referenced by filter_frame_ref(), scale_eval_dimensions(), and scale_frame().

◆ flags_str

char* ScaleContext::flags_str

Definition at line 136 of file vf_scale.c.

Referenced by init_dict().

◆ in_color_matrix

char* ScaleContext::in_color_matrix

Definition at line 138 of file vf_scale.c.

Referenced by scale_frame().

◆ out_color_matrix

char* ScaleContext::out_color_matrix

Definition at line 139 of file vf_scale.c.

Referenced by config_props(), and scale_frame().

◆ in_range

int ScaleContext::in_range

Definition at line 141 of file vf_scale.c.

Referenced by config_props().

◆ out_range

int ScaleContext::out_range

Definition at line 142 of file vf_scale.c.

Referenced by config_props(), and scale_frame().

◆ out_h_chr_pos

int ScaleContext::out_h_chr_pos

Definition at line 144 of file vf_scale.c.

Referenced by config_props().

◆ out_v_chr_pos

int ScaleContext::out_v_chr_pos

Definition at line 145 of file vf_scale.c.

Referenced by config_props().

◆ in_h_chr_pos

int ScaleContext::in_h_chr_pos

Definition at line 146 of file vf_scale.c.

Referenced by config_props().

◆ in_v_chr_pos

int ScaleContext::in_v_chr_pos

Definition at line 147 of file vf_scale.c.

Referenced by config_props().

◆ force_original_aspect_ratio

int ScaleContext::force_original_aspect_ratio

Definition at line 149 of file vf_scale.c.

Referenced by config_props().

◆ force_divisible_by

int ScaleContext::force_divisible_by

Definition at line 150 of file vf_scale.c.

Referenced by config_props().

◆ nb_slices

int ScaleContext::nb_slices

Definition at line 152 of file vf_scale.c.

Referenced by scale_frame().

◆ eval_mode

int ScaleContext::eval_mode

expression evaluation mode

Definition at line 154 of file vf_scale.c.

Referenced by check_exprs(), filter_frame_ref(), and scale_frame().


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