Function gpujpeg_encoder_suggest_restart_interval

Source
pub unsafe extern "C" fn gpujpeg_encoder_suggest_restart_interval(
    param_image: *const gpujpeg_image_parameters,
    subsampling: gpujpeg_sampling_factor_t,
    interleaved: bool,
    verbose: c_int,
) -> c_int
Expand description

Suggests optimal restart interval to be used for given param_image balancing both image size and performance. @param subsampling 444 422 or 420