Function gpujpeg_decoder_get_stats

Source
pub unsafe extern "C" fn gpujpeg_decoder_get_stats(
    decoder: *mut gpujpeg_decoder,
    stats: *mut gpujpeg_duration_stats,
) -> c_int
Expand description

Returns duration statistics for last decoded image

§return

0 if succeeds, otherwise nonzero

§note

The values are only informative and for debugging only and thus this is not considered as a part of a public API. @deprecated The decoder now prints the statistics to stdout if gpujpeg_parameters.perf_stats is set. May be removed in future versions - please report if using this function.