Struct x264_sys::x264::x264_param_t

source ·
#[repr(C)]
pub struct x264_param_t {
Show 84 fields pub cpu: u32, pub i_threads: c_int, pub i_lookahead_threads: c_int, pub b_sliced_threads: c_int, pub b_deterministic: c_int, pub b_cpu_independent: c_int, pub i_sync_lookahead: c_int, pub i_width: c_int, pub i_height: c_int, pub i_csp: c_int, pub i_bitdepth: c_int, pub i_level_idc: c_int, pub i_frame_total: c_int, pub i_nal_hrd: c_int, pub vui: x264_param_t__bindgen_ty_1, pub i_frame_reference: c_int, pub i_dpb_size: c_int, pub i_keyint_max: c_int, pub i_keyint_min: c_int, pub i_scenecut_threshold: c_int, pub b_intra_refresh: c_int, pub i_bframe: c_int, pub i_bframe_adaptive: c_int, pub i_bframe_bias: c_int, pub i_bframe_pyramid: c_int, pub b_open_gop: c_int, pub b_bluray_compat: c_int, pub i_avcintra_class: c_int, pub i_avcintra_flavor: c_int, pub b_deblocking_filter: c_int, pub i_deblocking_filter_alphac0: c_int, pub i_deblocking_filter_beta: c_int, pub b_cabac: c_int, pub i_cabac_init_idc: c_int, pub b_interlaced: c_int, pub b_constrained_intra: c_int, pub i_cqm_preset: c_int, pub psz_cqm_file: *mut c_char, pub cqm_4iy: [u8; 16], pub cqm_4py: [u8; 16], pub cqm_4ic: [u8; 16], pub cqm_4pc: [u8; 16], pub cqm_8iy: [u8; 64], pub cqm_8py: [u8; 64], pub cqm_8ic: [u8; 64], pub cqm_8pc: [u8; 64], pub pf_log: Option<unsafe extern "C" fn(arg1: *mut c_void, i_level: c_int, psz: *const c_char, arg2: *mut __va_list_tag)>, pub p_log_private: *mut c_void, pub i_log_level: c_int, pub b_full_recon: c_int, pub psz_dump_yuv: *mut c_char, pub analyse: x264_param_t__bindgen_ty_2, pub rc: x264_param_t__bindgen_ty_3, pub crop_rect: x264_param_t__bindgen_ty_4, pub i_frame_packing: c_int, pub mastering_display: x264_param_t__bindgen_ty_5, pub content_light_level: x264_param_t__bindgen_ty_6, pub i_alternative_transfer: c_int, pub b_aud: c_int, pub b_repeat_headers: c_int, pub b_annexb: c_int, pub i_sps_id: c_int, pub b_vfr_input: c_int, pub b_pulldown: c_int, pub i_fps_num: u32, pub i_fps_den: u32, pub i_timebase_num: u32, pub i_timebase_den: u32, pub b_tff: c_int, pub b_pic_struct: c_int, pub b_fake_interlaced: c_int, pub b_stitchable: c_int, pub b_opencl: c_int, pub i_opencl_device: c_int, pub opencl_device_id: *mut c_void, pub psz_clbin_file: *mut c_char, pub i_slice_max_size: c_int, pub i_slice_max_mbs: c_int, pub i_slice_min_mbs: c_int, pub i_slice_count: c_int, pub i_slice_count_max: c_int, pub param_free: Option<unsafe extern "C" fn(arg1: *mut c_void)>, pub nalu_process: Option<unsafe extern "C" fn(h: *mut x264_t, nal: *mut x264_nal_t, opaque: *mut c_void)>, pub opaque: *mut c_void,
}

Fields§

§cpu: u32§i_threads: c_int§i_lookahead_threads: c_int§b_sliced_threads: c_int§b_deterministic: c_int§b_cpu_independent: c_int§i_sync_lookahead: c_int§i_width: c_int§i_height: c_int§i_csp: c_int§i_bitdepth: c_int§i_level_idc: c_int§i_frame_total: c_int§i_nal_hrd: c_int§vui: x264_param_t__bindgen_ty_1§i_frame_reference: c_int§i_dpb_size: c_int§i_keyint_max: c_int§i_keyint_min: c_int§i_scenecut_threshold: c_int§b_intra_refresh: c_int§i_bframe: c_int§i_bframe_adaptive: c_int§i_bframe_bias: c_int§i_bframe_pyramid: c_int§b_open_gop: c_int§b_bluray_compat: c_int§i_avcintra_class: c_int§i_avcintra_flavor: c_int§b_deblocking_filter: c_int§i_deblocking_filter_alphac0: c_int§i_deblocking_filter_beta: c_int§b_cabac: c_int§i_cabac_init_idc: c_int§b_interlaced: c_int§b_constrained_intra: c_int§i_cqm_preset: c_int§psz_cqm_file: *mut c_char§cqm_4iy: [u8; 16]§cqm_4py: [u8; 16]§cqm_4ic: [u8; 16]§cqm_4pc: [u8; 16]§cqm_8iy: [u8; 64]§cqm_8py: [u8; 64]§cqm_8ic: [u8; 64]§cqm_8pc: [u8; 64]§pf_log: Option<unsafe extern "C" fn(arg1: *mut c_void, i_level: c_int, psz: *const c_char, arg2: *mut __va_list_tag)>§p_log_private: *mut c_void§i_log_level: c_int§b_full_recon: c_int§psz_dump_yuv: *mut c_char§analyse: x264_param_t__bindgen_ty_2§rc: x264_param_t__bindgen_ty_3§crop_rect: x264_param_t__bindgen_ty_4§i_frame_packing: c_int§mastering_display: x264_param_t__bindgen_ty_5§content_light_level: x264_param_t__bindgen_ty_6§i_alternative_transfer: c_int§b_aud: c_int§b_repeat_headers: c_int§b_annexb: c_int§i_sps_id: c_int§b_vfr_input: c_int§b_pulldown: c_int§i_fps_num: u32§i_fps_den: u32§i_timebase_num: u32§i_timebase_den: u32§b_tff: c_int§b_pic_struct: c_int§b_fake_interlaced: c_int§b_stitchable: c_int§b_opencl: c_int§i_opencl_device: c_int§opencl_device_id: *mut c_void§psz_clbin_file: *mut c_char§i_slice_max_size: c_int§i_slice_max_mbs: c_int§i_slice_min_mbs: c_int§i_slice_count: c_int§i_slice_count_max: c_int§param_free: Option<unsafe extern "C" fn(arg1: *mut c_void)>§nalu_process: Option<unsafe extern "C" fn(h: *mut x264_t, nal: *mut x264_nal_t, opaque: *mut c_void)>§opaque: *mut c_void

Trait Implementations§

source§

impl Clone for x264_param_t

source§

fn clone(&self) -> x264_param_t

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for x264_param_t

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for x264_param_t

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.