JxlEncoderStatsGet

Function JxlEncoderStatsGet 

Source
pub unsafe extern "C-unwind" fn JxlEncoderStatsGet(
    stats: *const JxlEncoderStats,
    key: JxlEncoderStatsKey,
) -> usize
Expand description

Returns the value of the statistics corresponding to the given key.

§Parameters

  • stats: Object that was passed to the encoder with a JxlEncoderCollectStats function.
  • key: The particular statistics to query.

§Returns

The value of the statistics.