[−][src]Function x264_dev::sys::x264_param_default_preset
pub unsafe fn x264_param_default_preset(
arg1: *mut X264ParamT,
preset: *const c_char,
tune: *const c_char
) -> c_int
Multiple tunings can be used if separated by a delimiter in ",./-+", however multiple psy tunings cannot be used.
film, animation, grain, stillimage, psnr, and ssim are psy tunings.
returns 0 on success, negative on failure (e.g. invalid preset/tune name).