FFmpeg  4.0
Data Fields
ZScaleContext Struct Reference

Data Fields

const AVClassclass
 
int w
 New dimensions. More...
 
int h
 
int dither
 
int filter
 
int colorspace
 
int trc
 
int primaries
 
int range
 
int chromal
 
int colorspace_in
 
int trc_in
 
int primaries_in
 
int range_in
 
int chromal_in
 
char * size_str
 
double nominal_peak_luminance
 
int approximate_gamma
 
char * w_expr
 width expression string More...
 
char * h_expr
 height expression string More...
 
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
 
voidtmp
 
size_t tmp_size
 
zimg_image_format src_format
 
zimg_image_format dst_format
 
zimg_image_format alpha_src_format
 
zimg_image_format alpha_dst_format
 
zimg_graph_builder_params alpha_params
 
zimg_graph_builder_params params
 
zimg_filter_graph * alpha_graph
 
zimg_filter_graph * graph
 
enum AVColorSpace in_colorspace out_colorspace
 
enum AVColorTransferCharacteristic in_trc out_trc
 
enum AVColorPrimaries in_primaries out_primaries
 
enum AVColorRange in_range out_range
 
enum AVChromaLocation in_chromal out_chromal
 

Detailed Description

Definition at line 77 of file vf_zscale.c.

Field Documentation

◆ class

const AVClass* ZScaleContext::class

Definition at line 78 of file vf_zscale.c.

◆ w

int ZScaleContext::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 86 of file vf_zscale.c.

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

◆ h

int ZScaleContext::h

Definition at line 86 of file vf_zscale.c.

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

◆ dither

int ZScaleContext::dither

Definition at line 87 of file vf_zscale.c.

Referenced by filter_frame().

◆ filter

int ZScaleContext::filter

Definition at line 88 of file vf_zscale.c.

Referenced by filter_frame().

◆ colorspace

int ZScaleContext::colorspace

Definition at line 89 of file vf_zscale.c.

Referenced by filter_frame(), and format_init().

◆ trc

int ZScaleContext::trc

Definition at line 90 of file vf_zscale.c.

Referenced by filter_frame().

◆ primaries

int ZScaleContext::primaries

Definition at line 91 of file vf_zscale.c.

Referenced by filter_frame(), and format_init().

◆ range

int ZScaleContext::range

Definition at line 92 of file vf_zscale.c.

Referenced by filter_frame(), and format_init().

◆ chromal

int ZScaleContext::chromal

Definition at line 93 of file vf_zscale.c.

Referenced by filter_frame().

◆ colorspace_in

int ZScaleContext::colorspace_in

Definition at line 94 of file vf_zscale.c.

Referenced by filter_frame().

◆ trc_in

int ZScaleContext::trc_in

Definition at line 95 of file vf_zscale.c.

Referenced by filter_frame().

◆ primaries_in

int ZScaleContext::primaries_in

Definition at line 96 of file vf_zscale.c.

Referenced by filter_frame().

◆ range_in

int ZScaleContext::range_in

Definition at line 97 of file vf_zscale.c.

Referenced by filter_frame().

◆ chromal_in

int ZScaleContext::chromal_in

Definition at line 98 of file vf_zscale.c.

Referenced by filter_frame().

◆ size_str

char* ZScaleContext::size_str

Definition at line 99 of file vf_zscale.c.

Referenced by init_dict().

◆ nominal_peak_luminance

double ZScaleContext::nominal_peak_luminance

Definition at line 100 of file vf_zscale.c.

Referenced by filter_frame().

◆ approximate_gamma

int ZScaleContext::approximate_gamma

Definition at line 101 of file vf_zscale.c.

Referenced by filter_frame().

◆ w_expr

char* ZScaleContext::w_expr

width expression string

Definition at line 103 of file vf_zscale.c.

Referenced by config_props(), and init_dict().

◆ h_expr

char* ZScaleContext::h_expr

height expression string

Definition at line 104 of file vf_zscale.c.

Referenced by config_props(), and init_dict().

◆ out_h_chr_pos

int ZScaleContext::out_h_chr_pos

Definition at line 106 of file vf_zscale.c.

◆ out_v_chr_pos

int ZScaleContext::out_v_chr_pos

Definition at line 107 of file vf_zscale.c.

◆ in_h_chr_pos

int ZScaleContext::in_h_chr_pos

Definition at line 108 of file vf_zscale.c.

◆ in_v_chr_pos

int ZScaleContext::in_v_chr_pos

Definition at line 109 of file vf_zscale.c.

◆ force_original_aspect_ratio

int ZScaleContext::force_original_aspect_ratio

Definition at line 111 of file vf_zscale.c.

Referenced by config_props().

◆ tmp

void* ZScaleContext::tmp

Definition at line 113 of file vf_zscale.c.

Referenced by filter_frame(), and uninit().

◆ tmp_size

size_t ZScaleContext::tmp_size

Definition at line 114 of file vf_zscale.c.

Referenced by filter_frame(), and uninit().

◆ src_format

zimg_image_format ZScaleContext::src_format

Definition at line 116 of file vf_zscale.c.

Referenced by filter_frame().

◆ dst_format

zimg_image_format ZScaleContext::dst_format

Definition at line 116 of file vf_zscale.c.

Referenced by filter_frame().

◆ alpha_src_format

zimg_image_format ZScaleContext::alpha_src_format

Definition at line 117 of file vf_zscale.c.

Referenced by filter_frame().

◆ alpha_dst_format

zimg_image_format ZScaleContext::alpha_dst_format

Definition at line 117 of file vf_zscale.c.

Referenced by filter_frame().

◆ alpha_params

zimg_graph_builder_params ZScaleContext::alpha_params

Definition at line 118 of file vf_zscale.c.

Referenced by filter_frame().

◆ params

zimg_graph_builder_params ZScaleContext::params

Definition at line 118 of file vf_zscale.c.

Referenced by filter_frame().

◆ alpha_graph

zimg_filter_graph* ZScaleContext::alpha_graph

Definition at line 119 of file vf_zscale.c.

Referenced by filter_frame(), and uninit().

◆ graph

zimg_filter_graph * ZScaleContext::graph

Definition at line 119 of file vf_zscale.c.

Referenced by filter_frame(), and uninit().

◆ out_colorspace

enum AVColorSpace in_colorspace ZScaleContext::out_colorspace

Definition at line 121 of file vf_zscale.c.

Referenced by filter_frame().

◆ out_trc

enum AVColorTransferCharacteristic in_trc ZScaleContext::out_trc

Definition at line 122 of file vf_zscale.c.

Referenced by filter_frame().

◆ out_primaries

enum AVColorPrimaries in_primaries ZScaleContext::out_primaries

Definition at line 123 of file vf_zscale.c.

Referenced by filter_frame().

◆ out_range

enum AVColorRange in_range ZScaleContext::out_range

Definition at line 124 of file vf_zscale.c.

Referenced by filter_frame().

◆ out_chromal

enum AVChromaLocation in_chromal ZScaleContext::out_chromal

Definition at line 125 of file vf_zscale.c.

Referenced by filter_frame().


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