#[repr(C)]
pub struct cfg_options {
Show 35 fields pub init_by_cfg_file: c_uint, pub super_block_size: c_uint, pub max_partition_size: c_uint, pub min_partition_size: c_uint, pub disable_ab_partition_type: c_uint, pub disable_rect_partition_type: c_uint, pub disable_1to4_partition_type: c_uint, pub disable_flip_idtx: c_uint, pub disable_cdef: c_uint, pub disable_lr: c_uint, pub disable_obmc: c_uint, pub disable_warp_motion: c_uint, pub disable_global_motion: c_uint, pub disable_dist_wtd_comp: c_uint, pub disable_diff_wtd_comp: c_uint, pub disable_inter_intra_comp: c_uint, pub disable_masked_comp: c_uint, pub disable_one_sided_comp: c_uint, pub disable_palette: c_uint, pub disable_intrabc: c_uint, pub disable_cfl: c_uint, pub disable_smooth_intra: c_uint, pub disable_filter_intra: c_uint, pub disable_dual_filter: c_uint, pub disable_intra_angle_delta: c_uint, pub disable_intra_edge_filter: c_uint, pub disable_tx_64x64: c_uint, pub disable_smooth_inter_intra: c_uint, pub disable_inter_inter_wedge: c_uint, pub disable_inter_intra_wedge: c_uint, pub disable_paeth_intra: c_uint, pub disable_trellis_quant: c_uint, pub disable_ref_frame_mv: c_uint, pub reduced_reference_set: c_uint, pub reduced_tx_type_set: c_uint,
}
Expand description

Encoder Config Options

This type allows to enumerate and control flags defined for encoder control via config file at runtime.

Fields

init_by_cfg_file: c_uint

Indicate init by cfg file 0 or 1

super_block_size: c_uint

Superblock size 0, 64 or 128

max_partition_size: c_uint

max partition size 8, 16, 32, 64, 128

min_partition_size: c_uint

min partition size 8, 16, 32, 64, 128

disable_ab_partition_type: c_uint

disable AB Shape partition type

disable_rect_partition_type: c_uint

disable rectangular partition type

disable_1to4_partition_type: c_uint

disable 1:4/4:1 partition type

disable_flip_idtx: c_uint

disable flip and identity transform type

disable_cdef: c_uint

disable CDEF filter

disable_lr: c_uint

disable Loop Restoration Filter

disable_obmc: c_uint

disable OBMC

disable_warp_motion: c_uint

disable Warped Motion

disable_global_motion: c_uint

disable global motion

disable_dist_wtd_comp: c_uint

disable dist weighted compound

disable_diff_wtd_comp: c_uint

disable diff weighted compound

disable_inter_intra_comp: c_uint

disable inter/intra compound

disable_masked_comp: c_uint

disable masked compound

disable_one_sided_comp: c_uint

disable one sided compound

disable_palette: c_uint

disable Palette

disable_intrabc: c_uint

disable Intra Block Copy

disable_cfl: c_uint

disable chroma from luma

disable_smooth_intra: c_uint

disable intra smooth mode

disable_filter_intra: c_uint

disable filter intra

disable_dual_filter: c_uint

disable dual filter

disable_intra_angle_delta: c_uint

disable intra angle delta

disable_intra_edge_filter: c_uint

disable intra edge filter

disable_tx_64x64: c_uint

disable 64x64 transform

disable_smooth_inter_intra: c_uint

disable smooth inter/intra

disable_inter_inter_wedge: c_uint

disable inter/inter wedge comp

disable_inter_intra_wedge: c_uint

disable inter/intra wedge comp

disable_paeth_intra: c_uint

disable paeth intra

disable_trellis_quant: c_uint

disable trellis quantization

disable_ref_frame_mv: c_uint

disable ref frame MV

reduced_reference_set: c_uint

use reduced reference frame set

reduced_tx_type_set: c_uint

use reduced transform type set

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.