SYMBOL INDEX (670 symbols across 43 files) FILE: benches/benches.rs function read_file (line 6) | fn read_file(filename: &str, ext: &str) -> Vec { function end_to_end_benches (line 19) | fn end_to_end_benches(c: &mut Criterion) { function micro_benchmarks (line 58) | fn micro_benchmarks(c: &mut Criterion) { FILE: dll/src/lib.rs function copy_cstring_utf8_to_buffer (line 25) | fn copy_cstring_utf8_to_buffer(str: &str, target_error_string: &mut [u8]) { type RayonThreadPool (line 43) | struct RayonThreadPool { method max_parallelism (line 48) | fn max_parallelism(&self) -> usize { method run (line 51) | fn run(&self, f: Box) { function set_num_threads (line 70) | pub unsafe extern "C" fn set_num_threads(num_threads: u32) { function WrapperCompressImage (line 77) | pub unsafe extern "C" fn WrapperCompressImage( function WrapperCompressImage2 (line 103) | pub unsafe extern "C" fn WrapperCompressImage2( function WrapperCompressImage3 (line 130) | pub unsafe extern "C" fn WrapperCompressImage3( function WrapperDecompressImage (line 189) | pub unsafe extern "C" fn WrapperDecompressImage( function WrapperDecompressImageEx (line 217) | pub unsafe extern "C" fn WrapperDecompressImageEx( function WrapperDecompressImage3 (line 248) | pub unsafe extern "C" fn WrapperDecompressImage3( function WrapperDecompressImage4 (line 275) | pub unsafe extern "C" fn WrapperDecompressImage4( function get_version_string (line 363) | pub fn get_version_string() -> String { function get_version (line 368) | pub unsafe extern "C" fn get_version( type DecompressionContext (line 381) | struct DecompressionContext<'a> { constant MAGIC_DECOMRESSION_CONTEXT (line 387) | const MAGIC_DECOMRESSION_CONTEXT: u32 = 0xdec0de00; function from_pointer (line 392) | unsafe fn from_pointer(ptr: *mut std::ffi::c_void) -> &'a mut Self { function new (line 405) | unsafe fn new(internal: LeptonFileReader<'a>) -> *mut std::ffi::c_void { function free (line 415) | unsafe fn free(ptr: *mut std::ffi::c_void) { constant DECOMPRESS_USE_16BIT_DC_ESTIMATE (line 431) | const DECOMPRESS_USE_16BIT_DC_ESTIMATE: u32 = 1; constant USE_RAYON_THREAD_POOL (line 432) | const USE_RAYON_THREAD_POOL: u32 = 2; constant USE_SINGLE_THREAD_POOL (line 433) | const USE_SINGLE_THREAD_POOL: u32 = 4; function create_decompression_context (line 436) | pub unsafe extern "C" fn create_decompression_context(features: u32) -> ... function get_decompression_cpu (line 455) | pub unsafe extern "C" fn get_decompression_cpu(context: *mut std::ffi::c... function free_decompression_context (line 467) | pub unsafe extern "C" fn free_decompression_context(context: *mut std::f... function decompress_image (line 477) | pub unsafe extern "C" fn decompress_image( function read_file (line 529) | fn read_file(filename: &str, ext: &str) -> Vec { function test_copy_cstring_utf8_to_buffer (line 543) | fn test_copy_cstring_utf8_to_buffer() { function extern_interface (line 560) | fn extern_interface() { function extern_interface_2 (line 605) | fn extern_interface_2() { function extern_interface_2_single_thread (line 654) | fn extern_interface_2_single_thread() { function extern_interface_3_single_thread (line 703) | fn extern_interface_3_single_thread() { function extern_interface_decompress_chunked (line 780) | fn extern_interface_decompress_chunked( function verify_extern_interface_rejects_compression_of_unsupported_jpegs (line 838) | fn verify_extern_interface_rejects_compression_of_unsupported_jpegs( function verify_extern_interface_supports_decompression_with_zeros_in_dqt_tables (line 870) | fn verify_extern_interface_supports_decompression_with_zeros_in_dqt_tables( function verify_decode_external_interface_with_use_16bit_dc_estimate (line 906) | fn verify_decode_external_interface_with_use_16bit_dc_estimate( function verify_extern_16bit_math_retry (line 977) | fn verify_extern_16bit_math_retry() { FILE: lib/src/consts.rs type JpegDecodeStatus (line 10) | pub enum JpegDecodeStatus { type JpegType (line 17) | pub enum JpegType { constant COLOR_CHANNEL_NUM_BLOCK_TYPES (line 23) | pub const COLOR_CHANNEL_NUM_BLOCK_TYPES: usize = 3; constant RASTER_TO_ZIGZAG (line 25) | pub const RASTER_TO_ZIGZAG: [u8; 64] = [ constant ZIGZAG_TO_TRANSPOSED (line 37) | pub const ZIGZAG_TO_TRANSPOSED: [u8; 64] = [ constant UNZIGZAG_49_TR (line 49) | pub const UNZIGZAG_49_TR: [u8; 49] = [ constant ICOS_BASED_8192_SCALED (line 57) | pub const ICOS_BASED_8192_SCALED: [i32; 8] = [0, 11363, 10703, 9633, 819... constant ICOS_BASED_8192_SCALED_PM (line 59) | pub const ICOS_BASED_8192_SCALED_PM: [i32; 8] = constant FREQ_MAX (line 62) | pub const FREQ_MAX: [u16; 14] = [ constant NON_ZERO_TO_BIN (line 67) | pub const NON_ZERO_TO_BIN: [u8; 26] = [ constant NON_ZERO_TO_BIN_7X7 (line 72) | pub const NON_ZERO_TO_BIN_7X7: [u8; 50] = [ constant RESIDUAL_NOISE_FLOOR (line 77) | pub const RESIDUAL_NOISE_FLOOR: usize = 7; constant LEPTON_VERSION (line 79) | pub const LEPTON_VERSION: u8 = 1; constant SMALL_FILE_BYTES_PER_ENCDOING_THREAD (line 81) | pub const SMALL_FILE_BYTES_PER_ENCDOING_THREAD: usize = 125000; constant MAX_THREADS_SUPPORTED_BY_LEPTON_FORMAT (line 82) | pub const MAX_THREADS_SUPPORTED_BY_LEPTON_FORMAT: usize = 16; constant EOI (line 85) | pub const EOI: [u8; 2] = [0xFF, jpeg_code::EOI]; constant SOI (line 86) | pub const SOI: [u8; 2] = [0xFF, jpeg_code::SOI]; constant LEPTON_FILE_HEADER (line 87) | pub const LEPTON_FILE_HEADER: [u8; 2] = [0xcf, 0x84]; constant LEPTON_HEADER_BASELINE_JPEG_TYPE (line 88) | pub const LEPTON_HEADER_BASELINE_JPEG_TYPE: [u8; 1] = [b'Z']; constant LEPTON_HEADER_PROGRESSIVE_JPEG_TYPE (line 89) | pub const LEPTON_HEADER_PROGRESSIVE_JPEG_TYPE: [u8; 1] = [b'X']; constant LEPTON_HEADER_MARKER (line 90) | pub const LEPTON_HEADER_MARKER: [u8; 3] = *b"HDR"; constant LEPTON_HEADER_PAD_MARKER (line 91) | pub const LEPTON_HEADER_PAD_MARKER: [u8; 3] = *b"P0D"; constant LEPTON_HEADER_JPG_RESTARTS_MARKER (line 92) | pub const LEPTON_HEADER_JPG_RESTARTS_MARKER: [u8; 3] = *b"CRS"; constant LEPTON_HEADER_JPG_RESTART_ERRORS_MARKER (line 93) | pub const LEPTON_HEADER_JPG_RESTART_ERRORS_MARKER: [u8; 3] = *b"FRS"; constant LEPTON_HEADER_LUMA_SPLIT_MARKER (line 94) | pub const LEPTON_HEADER_LUMA_SPLIT_MARKER: [u8; 2] = *b"HH"; constant LEPTON_HEADER_EARLY_EOF_MARKER (line 95) | pub const LEPTON_HEADER_EARLY_EOF_MARKER: [u8; 3] = *b"EEE"; constant LEPTON_HEADER_PREFIX_GARBAGE_MARKER (line 96) | pub const LEPTON_HEADER_PREFIX_GARBAGE_MARKER: [u8; 3] = *b"PGR"; constant LEPTON_HEADER_GARBAGE_MARKER (line 97) | pub const LEPTON_HEADER_GARBAGE_MARKER: [u8; 3] = *b"GRB"; constant LEPTON_HEADER_COMPLETION_MARKER (line 98) | pub const LEPTON_HEADER_COMPLETION_MARKER: [u8; 3] = *b"CMP"; FILE: lib/src/enabled_features.rs type EnabledFeatures (line 3) | pub struct EnabledFeatures { method compat_lepton_vector_write (line 45) | pub fn compat_lepton_vector_write() -> Self { method compat_lepton_scalar_read (line 64) | pub fn compat_lepton_scalar_read() -> Self { method compat_lepton_vector_read (line 83) | pub fn compat_lepton_vector_read() -> Self { FILE: lib/src/helpers.rs function catch_unwind_result (line 12) | pub fn catch_unwind_result( function u16_bit_length (line 33) | pub const fn u16_bit_length(v: u16) -> u8 { function u32_bit_length (line 38) | pub const fn u32_bit_length(v: u32) -> u8 { function buffer_prefix_matches_marker (line 42) | pub fn buffer_prefix_matches_marker( function has_ff (line 59) | pub fn has_ff(v: u64) -> bool { function devli (line 64) | pub const fn devli(s: u8, value: u16) -> i16 { function devli_test (line 76) | fn devli_test() { function b_short (line 94) | pub const fn b_short(v1: u8, v2: u8) -> u16 { function rbits (line 99) | pub const fn rbits(c: u8, n: usize) -> u8 { function lbits (line 104) | pub const fn lbits(c: u8, n: usize) -> u8 { function bitn (line 109) | pub const fn bitn(c: u16, n: u16) -> u8 { function calc_sign_index (line 114) | pub fn calc_sign_index(val: i16) -> usize { function needs_to_grow (line 126) | pub fn needs_to_grow(v: &Vec, additional: usize) -> bool { function get_rand_from_seed (line 131) | pub fn get_rand_from_seed(seed: [u8; 32]) -> rand_chacha::ChaCha12Rng { function read_file (line 140) | pub fn read_file(filename: &str, ext: &str) -> Vec { FILE: lib/src/jpeg/bit_reader.rs type BitReader (line 15) | pub struct BitReader { function stream_position (line 31) | pub fn stream_position(&mut self) -> u64 { function new (line 47) | pub fn new(inner: R) -> Self { function read (line 62) | pub fn read(&mut self, bits_to_read: u32) -> std::io::Result { function peek (line 78) | pub fn peek(&self) -> (u8, u32) { function advance (line 86) | pub fn advance(&mut self, bits: u32) { function fill_register (line 91) | pub fn fill_register(&mut self, bits_to_read: u32) -> Result<(), std::io... function fill_register_slow (line 125) | fn fill_register_slow(&mut self, bits_to_read: u32) -> Result<(), std::i... function is_eof (line 187) | pub fn is_eof(&mut self) -> bool { function read_and_verify_fill_bits (line 193) | pub fn read_and_verify_fill_bits( function verify_reset_code (line 242) | pub fn verify_reset_code(&mut self) -> Result<(), LeptonError> { function overhang (line 271) | pub fn overhang(&mut self) -> (u8, u8) { function undo_read_ahead (line 286) | pub fn undo_read_ahead(&mut self) { function read_simple (line 307) | fn read_simple() { function read_truncate_ff (line 346) | fn read_truncate_ff() { FILE: lib/src/jpeg/bit_writer.rs type BitWriter (line 11) | pub struct BitWriter { method new (line 19) | pub fn new(data_buffer: Vec) -> Self { method flush_whole_bytes (line 28) | fn flush_whole_bytes(&mut self) { method write_byte_unescaped (line 44) | pub fn write_byte_unescaped(&mut self, b: u8) { method write (line 50) | pub fn write(&mut self, val: u32, new_bits: u32) { method pad (line 107) | pub fn pad(&mut self, fillbit: u8) { method detach_buffer (line 123) | pub fn detach_buffer(&mut self) -> Vec { method ensure_space (line 130) | pub fn ensure_space(&mut self, amount: usize) { method reset_from_overhang_byte_and_num_bits (line 137) | pub fn reset_from_overhang_byte_and_num_bits(&mut self, overhang_byte:... method has_no_remainder (line 146) | pub fn has_no_remainder(&self) -> bool { method amount_buffered (line 150) | pub fn amount_buffered(&self) -> usize { function write_simple (line 166) | fn write_simple() { function roundtrip_bits (line 189) | fn roundtrip_bits() { function roundtrip_randombits (line 216) | fn roundtrip_randombits() { FILE: lib/src/jpeg/block_based_image.rs type BlockBasedImage (line 20) | pub struct BlockBasedImage { method new (line 34) | pub fn new( method merge (line 80) | pub fn merge(images: &mut Vec>, index: usize) -> ... method dump (line 133) | pub fn dump(&self) { method get_block_width (line 142) | pub fn get_block_width(&self) -> u32 { method get_original_height (line 146) | pub fn get_original_height(&self) -> u32 { method fill_up_to_dpos (line 153) | pub fn fill_up_to_dpos( method set_block_data (line 191) | pub fn set_block_data(&mut self, dpos: u32, block_data: AlignedBlock) { method get_block (line 195) | pub fn get_block(&self, dpos: u32) -> &AlignedBlock { method append_block (line 204) | pub fn append_block(&mut self, block: AlignedBlock) { method get_block_mut (line 213) | pub fn get_block_mut(&mut self, dpos: u32) -> &mut AlignedBlock { type AlignedBlock (line 221) | pub struct AlignedBlock { method new (line 235) | pub fn new(block: [i16; 64]) -> Self { method as_i16x8 (line 240) | pub fn as_i16x8(&self, index: usize) -> i16x8 { method transpose (line 247) | pub fn transpose(&self) -> AlignedBlock { method get_dc (line 252) | pub fn get_dc(&self) -> i16 { method set_dc (line 257) | pub fn set_dc(&mut self, value: i16) { method zigzag_to_transposed (line 262) | pub fn zigzag_to_transposed(a: [i16; 64]) -> AlignedBlock { method zigzag_from_transposed (line 276) | pub fn zigzag_from_transposed(&self) -> AlignedBlock { method get_block (line 291) | pub fn get_block(&self) -> &[i16; 64] { method get_block_mut (line 296) | pub fn get_block_mut(&mut self) -> &mut [i16; 64] { method get_hash (line 302) | pub fn get_hash(&self) -> i32 { method get_count_of_non_zeros_7x7 (line 311) | pub fn get_count_of_non_zeros_7x7(&self) -> u8 { method get_coefficient (line 327) | pub fn get_coefficient(&self, index: usize) -> i16 { method set_coefficient (line 332) | pub fn set_coefficient(&mut self, index: usize, v: i16) { method set_transposed_from_zigzag (line 337) | pub fn set_transposed_from_zigzag(&mut self, index: usize, v: i16) { method get_transposed_from_zigzag (line 342) | pub fn get_transposed_from_zigzag(&self, index: usize) -> i16 { method from_stride (line 347) | pub fn from_stride(&self, offset: usize, stride: usize) -> i16x8 { method default (line 228) | fn default() -> Self { FILE: lib/src/jpeg/component_info.rs type ComponentInfo (line 8) | pub struct ComponentInfo { method default (line 53) | fn default() -> ComponentInfo { FILE: lib/src/jpeg/jpeg_code.rs constant SOF0 (line 8) | pub const SOF0: u8 = 0xC0; constant SOF1 (line 11) | pub const SOF1: u8 = 0xC1; constant SOF2 (line 14) | pub const SOF2: u8 = 0xC2; constant DHT (line 17) | pub const DHT: u8 = 0xC4; constant RST0 (line 20) | pub const RST0: u8 = 0xD0; constant SOI (line 23) | pub const SOI: u8 = 0xD8; constant EOI (line 26) | pub const EOI: u8 = 0xD9; constant SOS (line 29) | pub const SOS: u8 = 0xDA; constant DQT (line 32) | pub const DQT: u8 = 0xDB; constant DRI (line 35) | pub const DRI: u8 = 0xDD; FILE: lib/src/jpeg/jpeg_header.rs type RestartSegmentCodingInfo (line 56) | pub struct RestartSegmentCodingInfo { method new (line 65) | pub fn new( type ReconstructionInfo (line 88) | pub struct ReconstructionInfo { function parse_jpeg_header (line 140) | pub fn parse_jpeg_header( type Mirror (line 171) | struct Mirror<'a, R, W> { function new (line 178) | pub fn new(read: &'a mut R, output: &'a mut W) -> Self { method read (line 188) | fn read(&mut self, buf: &mut [u8]) -> std::io::Result { type HuffCodes (line 197) | pub(crate) struct HuffCodes { method construct_from_segment (line 222) | pub fn construct_from_segment(segment: &[u8]) -> Result { method post_initialize (line 273) | fn post_initialize(&mut self) { method default (line 206) | fn default() -> Self { type HuffTree (line 305) | pub(crate) struct HuffTree { method construct_hufftree (line 321) | pub fn construct_hufftree(hc: &HuffCodes, accept_invalid_dht: bool) ->... method default (line 311) | fn default() -> Self { type JpegHeader (line 419) | pub struct JpegHeader { method fmt (line 486) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method is_single_scan (line 552) | pub fn is_single_scan(&self) -> bool { method get_huff_dc_codes (line 559) | pub(super) fn get_huff_dc_codes(&self, cmp: usize) -> &HuffCodes { method get_huff_dc_tree (line 564) | pub(super) fn get_huff_dc_tree(&self, cmp: usize) -> &HuffTree { method get_huff_ac_codes (line 569) | pub(super) fn get_huff_ac_codes(&self, cmp: usize) -> &HuffCodes { method get_huff_ac_tree (line 574) | pub(super) fn get_huff_ac_tree(&self, cmp: usize) -> &HuffTree { method parse (line 582) | pub fn parse( method verify_huffman_table (line 677) | pub fn verify_huffman_table(&self, dc_present: bool, ac_present: bool)... method parse_next_segment (line 698) | fn parse_next_segment( type ParseSegmentResult (line 509) | enum ParseSegmentResult { method default (line 516) | fn default() -> Self { function ensure_space (line 1112) | fn ensure_space(segment: &[u8], hpos: usize, amount: usize) -> Result<()> { function generate_huff_table_from_distribution (line 1122) | pub(super) fn generate_huff_table_from_distribution(freq: &[usize; 256])... FILE: lib/src/jpeg/jpeg_position_state.rs type JpegPositionState (line 14) | pub struct JpegPositionState { method new (line 43) | pub fn new(jf: &JpegHeader, mcu: u32) -> Self { method get_mcu (line 64) | pub fn get_mcu(&self) -> u32 { method get_dpos (line 67) | pub fn get_dpos(&self) -> u32 { method get_cmp (line 70) | pub fn get_cmp(&self) -> usize { method get_cumulative_reset_markers (line 74) | pub fn get_cumulative_reset_markers(&self, jf: &JpegHeader) -> u32 { method reset_rstw (line 82) | pub fn reset_rstw(&mut self, jf: &JpegHeader) { method next_mcu_pos_noninterleaved (line 90) | fn next_mcu_pos_noninterleaved(&mut self, jf: &JpegHeader) -> JpegDeco... method next_mcu_pos (line 125) | pub fn next_mcu_pos(&mut self, jf: &JpegHeader) -> JpegDecodeStatus { method skip_eobrun (line 196) | pub fn skip_eobrun(&mut self, jf: &JpegHeader) -> Result( function prepare_to_decode_next_scan (line 254) | fn prepare_to_decode_next_scan( function read_first_scan (line 285) | fn read_first_scan( function read_progressive_scan (line 385) | fn read_progressive_scan( function decode_baseline_rst (line 576) | fn decode_baseline_rst( function decode_block_seq (line 661) | pub(crate) fn decode_block_seq( function next_huff_code (line 722) | fn next_huff_code(bit_reader: &mut BitReader, ctree: &Huf... function read_dc (line 736) | fn read_dc(bit_reader: &mut BitReader, tree: &HuffTree) -... function read_coef (line 749) | fn read_coef( function decode_ac_prg_fs (line 793) | fn decode_ac_prg_fs( function decode_ac_prg_sa (line 847) | fn decode_ac_prg_sa( function decode_eobrun_sa (line 925) | fn decode_eobrun_sa( function decode_eobrun_bits (line 949) | fn decode_eobrun_bits(s: u8, n: u16) -> u16 { function read_garbage_behavior_progressive (line 964) | fn read_garbage_behavior_progressive() { function read_garbage_behavior_baseline (line 969) | fn read_garbage_behavior_baseline() { function read_garbage_behavior (line 974) | fn read_garbage_behavior(filename: &str) { function read_jpeg (line 1013) | fn read_jpeg( function test_benchmark_read_block (line 1037) | fn test_benchmark_read_block() { function test_benchmark_read_jpeg (line 1045) | fn test_benchmark_read_jpeg() { function benchmark_read_jpeg (line 1075) | pub fn benchmark_read_jpeg() -> Box { function benchmark_read_block (line 1102) | pub fn benchmark_read_block() -> Box { FILE: lib/src/jpeg/jpeg_write.rs type JpegIncrementalWriter (line 51) | pub struct JpegIncrementalWriter<'a> { function new (line 61) | pub fn new( function amount_buffered (line 91) | pub fn amount_buffered(&self) -> usize { function process_row (line 95) | pub fn process_row( function detach_buffer (line 117) | pub fn detach_buffer(&mut self) -> Vec { function jpeg_write_entire_scan (line 124) | pub fn jpeg_write_entire_scan( function recode_one_mcu_row (line 163) | fn recode_one_mcu_row( function encode_block_seq (line 347) | pub(crate) fn encode_block_seq( function write_coef (line 416) | fn write_coef(huffw: &mut BitWriter, is_neg: bool, abs_coef: u16, z: u32... function encode_ac_prg_fs (line 445) | fn encode_ac_prg_fs( function encode_ac_prg_sa (line 500) | fn encode_ac_prg_sa( function encode_eobrun (line 595) | fn encode_eobrun(huffw: &mut BitWriter, actbl: &HuffCodes, state: &mut J... function encode_crbits (line 614) | fn encode_crbits(huffw: &mut BitWriter, correction_bits: &mut Vec) { function div_pow2 (line 621) | fn div_pow2(v: i16, p: u8) -> i16 { function encode_eobrun_bits (line 626) | fn encode_eobrun_bits(s: u8, v: u16) -> u16 { function round_trip_block (line 648) | fn round_trip_block(block: &AlignedBlock, expected: &[u8]) { function test_encode_block_seq (line 686) | fn test_encode_block_seq() { function test_encode_block_magnitude (line 706) | fn test_encode_block_magnitude() { function test_encode_block_zero_runs (line 727) | fn test_encode_block_zero_runs() { function test_encode_block_long_zero_cnt (line 751) | fn test_encode_block_long_zero_cnt() { function test_encode_block_seq_zero (line 762) | fn test_encode_block_seq_zero() { function roundtrip_jpeg (line 770) | fn roundtrip_jpeg( function roundtrip_baseline_jpeg (line 848) | fn roundtrip_baseline_jpeg() { function roundtrip_progressive_jpeg (line 860) | fn roundtrip_progressive_jpeg() { function test_benchmark_write_jpeg (line 870) | fn test_benchmark_write_jpeg() { function test_benchmark_write_block (line 878) | fn test_benchmark_write_block() { function jpeg_write_baseline_row_range (line 891) | fn jpeg_write_baseline_row_range( function benchmark_write_block (line 955) | pub fn benchmark_write_block() -> Box { function benchmark_write_jpeg (line 995) | pub fn benchmark_write_jpeg() -> Box { FILE: lib/src/jpeg/row_spec.rs type RowSpec (line 11) | pub struct RowSpec { method get_row_spec_from_index (line 22) | pub fn get_row_spec_from_index( FILE: lib/src/jpeg/truncate_components.rs type TrucateComponentsInfo (line 13) | struct TrucateComponentsInfo { type TruncateComponents (line 20) | pub struct TruncateComponents { method init (line 42) | pub fn init(&mut self, jpeg_header: &JpegHeader) { method get_max_coded_heights (line 55) | pub fn get_max_coded_heights(&self) -> Vec { method set_truncation_bounds (line 64) | pub fn set_truncation_bounds(&mut self, jpeg_header: &JpegHeader, max_... method get_block_height (line 75) | pub fn get_block_height(&self, cmp: usize) -> u32 { method set_block_count_d_pos (line 79) | fn set_block_count_d_pos( method get_min_vertical_extcmp_multiple (line 108) | fn get_min_vertical_extcmp_multiple(cmp_info: &ComponentInfo, mcu_coun... method get_component_sizes_in_blocks (line 113) | pub fn get_component_sizes_in_blocks(&self) -> Vec { method default (line 31) | fn default() -> Self { FILE: lib/src/lepton_error.rs type ExitCode (line 15) | pub enum ExitCode { method as_integer_error_code (line 101) | pub fn as_integer_error_code(self) -> i32 { method fmt (line 93) | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { type LeptonErrorInternal (line 108) | struct LeptonErrorInternal { type LeptonError (line 115) | pub struct LeptonError { method new (line 129) | pub fn new(exit_code: ExitCode, message: impl AsRef) -> LeptonErr... method exit_code (line 139) | pub fn exit_code(&self) -> ExitCode { method message (line 144) | pub fn message(&self) -> &str { method add_context (line 153) | pub fn add_context(&mut self) { method from (line 199) | fn from(e: TryFromIntError) -> Self { method from (line 208) | fn from(e: std::sync::mpsc::SendError) -> Self { method from (line 216) | fn from(e: std::sync::mpsc::RecvError) -> Self { method from (line 226) | fn from(e: std::io::Error) -> Self { type Result (line 119) | pub type Result = std::result::Result; method fmt (line 122) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function err_exit_code (line 162) | pub fn err_exit_code(error_code: ExitCode, message: impl AsRef) ... type AddContext (line 168) | pub trait AddContext { method context (line 170) | fn context(self) -> Result; function context (line 175) | fn context(self) -> Result { function get_io_error_exit_code (line 189) | fn get_io_error_exit_code(e: &std::io::Error) -> ExitCode { function from (line 242) | fn from(e: LeptonError) -> Self { function test_error_translation (line 248) | fn test_error_translation() { FILE: lib/src/lib.rs type StreamPosition (line 67) | pub trait StreamPosition { method position (line 69) | fn position(&mut self) -> u64; method position (line 73) | fn position(&mut self) -> u64 { function get_version_string (line 88) | pub fn get_version_string() -> String { function dump_jpeg (line 94) | pub fn dump_jpeg(input_data: &[u8], all: bool, enabled_features: &Enable... FILE: lib/src/metrics.rs type CpuTimeMeasure (line 8) | pub struct CpuTimeMeasure { method new (line 17) | pub fn new() -> Self { method elapsed (line 27) | pub fn elapsed(&self) -> Duration { type ModelSubComponent (line 40) | pub enum ModelSubComponent { type ModelComponent (line 49) | pub enum ModelComponent { type ModelComponentStatistics (line 59) | pub struct ModelComponentStatistics { type Metrics (line 66) | pub struct Metrics { method record_compression_stats (line 74) | pub fn record_compression_stats( method record_cpu_worker_time (line 89) | pub fn record_cpu_worker_time(&mut self, duration: Duration) { method print_metrics (line 95) | pub fn print_metrics(&self) { method drain (line 130) | pub fn drain(&mut self) -> Metrics { method get_cpu_time_worker_time (line 141) | pub fn get_cpu_time_worker_time(&self) -> Duration { method merge_from (line 146) | pub fn merge_from(&mut self, mut source_metrics: Metrics) { FILE: lib/src/structs/block_context.rs type BlockContext (line 10) | pub struct BlockContext { method off_y (line 26) | pub fn off_y(y: u32, image_data: &BlockBasedImage) -> BlockContext { method get_here_index (line 46) | pub fn get_here_index(&self) -> u32 { method next (line 52) | pub fn next(&mut self) -> u32 { method here (line 60) | pub fn here<'a>(&self, image_data: &'a BlockBasedImage) -> &'a Aligned... method get_neighbor_data (line 65) | pub fn get_neighbor_data<'a, const ALL_PRESENT: bool>( method set_neighbor_summary_here (line 100) | pub fn set_neighbor_summary_here( type NeighborData (line 16) | pub struct NeighborData<'a> { FILE: lib/src/structs/branch.rs type Branch (line 16) | pub struct Branch { method new (line 50) | pub fn new() -> Self { method set_count (line 56) | pub fn set_count(&mut self, count: u16) { method get_count (line 62) | pub fn get_count(&self) -> u16 { method get_u64 (line 68) | pub fn get_u64(&self) -> u64 { method get_probability (line 80) | pub fn get_probability(&self) -> u8 { method record_and_update_bit (line 101) | pub fn record_and_update_bit(&mut self, bit: bool) { method default (line 26) | fn default() -> Branch { function problookup (line 32) | const fn problookup() -> [u8; 65536] { function test_branch_update_false (line 130) | fn test_branch_update_false() { function test_branch_update_true (line 153) | fn test_branch_update_true() { function test_all_probabilities (line 177) | fn test_all_probabilities() { FILE: lib/src/structs/idct.rs constant _W1 (line 12) | const _W1: i32 = 2841; constant _W2 (line 13) | const _W2: i32 = 2676; constant _W3 (line 14) | const _W3: i32 = 2408; constant _W5 (line 15) | const _W5: i32 = 1609; constant _W6 (line 16) | const _W6: i32 = 1108; constant _W7 (line 17) | const _W7: i32 = 565; constant W3 (line 19) | const W3: i32 = 2408; constant W6 (line 20) | const W6: i32 = 1108; constant W7 (line 21) | const W7: i32 = 565; constant W1PW7 (line 23) | const W1PW7: i32 = _W1 + _W7; constant W1MW7 (line 24) | const W1MW7: i32 = _W1 - _W7; constant W2PW6 (line 25) | const W2PW6: i32 = _W2 + _W6; constant W2MW6 (line 26) | const W2MW6: i32 = _W2 - _W6; constant W3PW5 (line 27) | const W3PW5: i32 = _W3 + _W5; constant W3MW5 (line 28) | const W3MW5: i32 = _W3 - _W5; constant R2 (line 30) | const R2: i32 = 181; function run_idct (line 33) | pub fn run_idct(block: &[i32x8; 8]) -> AlignedBlock { function get_q (line 144) | fn get_q(offset: usize, q_transposed: &AlignedBlock) -> i32x8 { function get_c (line 153) | fn get_c(offset: usize, q_transposed: &AlignedBlock) -> i32x8 { function test_idct (line 159) | fn test_idct(test_data: &AlignedBlock, test_q: &[u16; 64]) { function test_idct_with_simple_block (line 326) | pub fn test_idct_with_simple_block() { function test_idct_with_random_blocks (line 340) | pub fn test_idct_with_random_blocks() { function benchmark_idct (line 360) | pub fn benchmark_idct() -> Box { function test_benchmark_idct (line 375) | fn test_benchmark_idct() { FILE: lib/src/structs/lepton_decoder.rs function lepton_decode_row_range (line 36) | pub fn lepton_decode_row_range( function parse_token (line 211) | fn parse_token( function read_coefficient_block (line 249) | pub fn read_coefficient_block( function decode_edge (line 390) | fn decode_edge( function decode_one_edge (line 437) | fn decode_one_edge( function process_row (line 149) | fn process_row( function serialize_tokens (line 212) | fn serialize_tokens( function write_coefficient_block (line 258) | pub fn write_coefficient_block( function encode_edge (line 405) | fn encode_edge( function count_non_zero (line 461) | fn count_non_zero(v: i16) -> u8 { function encode_one_edge (line 465) | fn encode_one_edge Box { function roundtrip_read_write_coefficients (line 794) | fn roundtrip_read_write_coefficients( function benchmark_roundtrip_coefficient (line 1070) | pub fn benchmark_roundtrip_coefficient() -> Box { function test_benchmark_roundtrip_coefficient (line 1168) | fn test_benchmark_roundtrip_coefficient() { FILE: lib/src/structs/lepton_file_reader.rs function decode_lepton (line 44) | pub fn decode_lepton( function decode_lepton_file_image (line 74) | pub fn decode_lepton_file_image( type DecoderState (line 141) | enum DecoderState { type LimitedOutputWriter (line 153) | struct LimitedOutputWriter<'a, W: Write> { method write (line 159) | fn write(&mut self, buf: &[u8]) -> std::io::Result { method flush (line 176) | fn flush(&mut self) -> std::io::Result<()> { type FixedBufferOuputWriter (line 183) | struct FixedBufferOuputWriter<'a> { method write (line 190) | fn write(&mut self, buf: &[u8]) -> std::io::Result { method flush (line 205) | fn flush(&mut self) -> std::io::Result<()> { type LeptonFileReader (line 214) | pub struct LeptonFileReader<'a> { function new (line 228) | pub fn new(features: EnabledFeatures, thread_pool: ThreadPoolHolder<'a>)... function process_buffer (line 253) | pub fn process_buffer( function process_limited_buffer (line 440) | pub fn process_limited_buffer( function take_metrics (line 468) | pub fn take_metrics(&mut self) -> Metrics { function metrics (line 473) | pub fn metrics(&self) -> &Metrics { function process_progressive (line 477) | fn process_progressive( function process_cmp (line 522) | fn process_cmp( function verify_eof_file_size (line 565) | fn verify_eof_file_size(total_read_size: u64, in_buffer: &mut PartialBuf... function run_lepton_decoder_threads (line 587) | fn run_lepton_decoder_threads( function write_tail (line 635) | fn write_tail(lh: &mut LeptonHeader, output: &mut impl Write) -> Result<... function progressive_decoding_thread (line 648) | fn progressive_decoding_thread( function baseline_decoding_thread (line 685) | fn baseline_decoding_thread( function write_garbage_data (line 766) | fn write_garbage_data( function parse_and_write_header (line 804) | fn parse_and_write_header() { function test_simple_parse_progressive (line 865) | fn test_simple_parse_progressive() { function test_simple_parse_baseline (line 870) | fn test_simple_parse_baseline() { function test_simple_parse_trailing (line 875) | fn test_simple_parse_trailing() { function test_zero_dqt (line 880) | fn test_zero_dqt() { function test_pixelated (line 886) | fn test_pixelated() { function test_truncate4 (line 893) | fn test_truncate4() { function test_decode_single_threaded (line 898) | fn test_decode_single_threaded() { function test_encode_single_threaded (line 919) | fn test_encode_single_threaded() { function test_file (line 935) | fn test_file(filename: &str) { type RecordStreamPosition (line 962) | struct RecordStreamPosition { method write (line 968) | fn write(&mut self, buf: &[u8]) -> std::io::Result { method flush (line 979) | fn flush(&mut self) -> std::io::Result<()> { function test_streaming_results (line 985) | fn test_streaming_results() { function test_too_small_output (line 1011) | fn test_too_small_output() { function verifydecode (line 1027) | fn verifydecode(filename: &str) { function test_truncated_with_bad_truncation_version (line 1049) | fn test_truncated_with_bad_truncation_version() { function test_truncated_with_ok_truncation_version (line 1056) | fn test_truncated_with_ok_truncation_version() { function test_truncated_with_bad_garbage_data (line 1064) | fn test_truncated_with_bad_garbage_data() { FILE: lib/src/structs/lepton_file_writer.rs function encode_lepton (line 38) | pub fn encode_lepton( function encode_lepton_verify (line 72) | pub fn encode_lepton_verify( function read_jpeg (line 126) | pub fn read_jpeg( function string_to_int (line 196) | const fn string_to_int(s: &str) -> u8 { function get_git_version (line 214) | pub fn get_git_version() -> &'static str { function get_cargo_pkg_version (line 218) | pub fn get_cargo_pkg_version() -> u8 { function get_git_revision (line 224) | fn get_git_revision(lp: &mut LeptonHeader) { function run_lepton_encoder_threads (line 236) | fn run_lepton_encoder_threads( function split_row_handoffs_to_threads (line 304) | fn split_row_handoffs_to_threads( function get_number_of_threads_for_encoding (line 360) | fn get_number_of_threads_for_encoding( function test_get_git_revision (line 389) | fn test_get_git_revision() { function test_too_small_output (line 398) | fn test_too_small_output() { function test_slrcity (line 415) | fn test_slrcity() { function test_file (line 419) | fn test_file(filename: &str) { FILE: lib/src/structs/lepton_header.rs constant FIXED_HEADER_SIZE (line 17) | pub const FIXED_HEADER_SIZE: usize = 28; type LeptonHeader (line 20) | pub struct LeptonHeader { method bad_truncation_version (line 54) | pub fn bad_truncation_version(&self) -> bool { method read_lepton_fixed_header (line 58) | pub fn read_lepton_fixed_header( method read_compressed_lepton_header (line 117) | pub fn read_compressed_lepton_header( method advance_next_header_segment (line 200) | pub fn advance_next_header_segment( method read_lepton_compressed_header (line 218) | fn read_lepton_compressed_header(&mut self, src: &mut R) -> R... method write_lepton_header (line 335) | pub fn write_lepton_header( method write_lepton_jpeg_header (line 414) | fn write_lepton_jpeg_header(&self, mrw: &mut W) -> Result<()> { method write_lepton_pad_bit (line 427) | fn write_lepton_pad_bit(&self, mrw: &mut W) -> Result<()> { method write_lepton_luma_splits (line 437) | fn write_lepton_luma_splits(&self, mrw: &mut W) -> Result<()> { method write_lepton_jpeg_restarts_if_needed (line 447) | fn write_lepton_jpeg_restarts_if_needed(&self, mrw: &mut W) ... method write_lepton_jpeg_restart_errors_if_needed (line 462) | fn write_lepton_jpeg_restart_errors_if_needed(&self, mrw: &m... method write_lepton_early_eof_truncation_data_if_needed (line 476) | fn write_lepton_early_eof_truncation_data_if_needed( method write_lepton_jpeg_garbage_if_needed (line 496) | fn write_lepton_jpeg_garbage_if_needed( function test_roundtrip_fixed_header (line 519) | fn test_roundtrip_fixed_header() { function parse_and_write_header (line 569) | fn parse_and_write_header() { function make_minimal_lepton_header (line 613) | fn make_minimal_lepton_header() -> Box { function verify_roundtrip (line 671) | fn verify_roundtrip( FILE: lib/src/structs/model.rs constant BLOCK_TYPES (line 21) | const BLOCK_TYPES: usize = 2; constant NUMERIC_LENGTH_MAX (line 23) | const NUMERIC_LENGTH_MAX: usize = 12; constant MAX_EXPONENT (line 24) | pub const MAX_EXPONENT: usize = 11; constant COEF_BITS (line 25) | const COEF_BITS: usize = MAX_EXPONENT - 1; constant NON_ZERO_7X7_COUNT_BITS (line 27) | const NON_ZERO_7X7_COUNT_BITS: usize = 49_usize.ilog2() as usize + 1; constant NON_ZERO_EDGE_COUNT_BITS (line 28) | const NON_ZERO_EDGE_COUNT_BITS: usize = 7_usize.ilog2() as usize + 1; constant NUM_NON_ZERO_7X7_BINS (line 30) | const NUM_NON_ZERO_7X7_BINS: usize = 9; constant NUM_NON_ZERO_EDGE_BINS (line 31) | const NUM_NON_ZERO_EDGE_BINS: usize = 7; type NumNonZerosCountsT (line 33) | type NumNonZerosCountsT = [[[Branch; 1 << NON_ZERO_EDGE_COUNT_BITS]; 8];... constant RESIDUAL_THRESHOLD_COUNTS_D1 (line 35) | const RESIDUAL_THRESHOLD_COUNTS_D1: usize = 1 << (1 + RESIDUAL_NOISE_FLO... constant RESIDUAL_THRESHOLD_COUNTS_D2 (line 37) | const RESIDUAL_THRESHOLD_COUNTS_D2: usize = 1 + RESIDUAL_NOISE_FLOOR - 2; constant RESIDUAL_THRESHOLD_COUNTS_D3 (line 38) | const RESIDUAL_THRESHOLD_COUNTS_D3: usize = 1 << RESIDUAL_NOISE_FLOOR; type Model (line 41) | pub struct Model { method walk (line 57) | pub fn walk(&mut self, mut walker: impl FnMut(&mut Branch)) { method model_checksum (line 127) | pub fn model_checksum(&mut self) -> u64 { method get_per_color (line 569) | pub fn get_per_color(&mut self, color_index: usize) -> &mut ModelPerCo... method read_dc (line 573) | pub fn read_dc( method write_dc (line 594) | pub fn write_dc( method get_dc_branches (line 618) | fn get_dc_branches( method read_length_sign_coef (line 642) | fn read_length_sign_coef( method write_length_sign_coef (line 678) | fn write_length_sign_coef( type ModelPerColor (line 146) | pub struct ModelPerColor { method read_coef (line 187) | pub fn read_coef( method write_coef (line 209) | pub fn write_coef( method get_coef_branches (line 234) | fn get_coef_branches( method write_non_zero_7x7_count (line 266) | pub fn write_non_zero_7x7_count( method write_non_zero_edge_count (line 284) | pub fn write_non_zero_edge_count( method read_non_zero_7x7_count (line 303) | pub fn read_non_zero_7x7_count( method read_non_zero_edge_count (line 316) | pub fn read_non_zero_edge_count( method read_edge_coefficient (line 330) | pub fn read_edge_coefficient( method write_edge_coefficient (line 427) | pub fn write_edge_coefficient( method get_residual_threshold_counts_mut (line 533) | fn get_residual_threshold_counts_mut( method get_non_zero_counts_edge_mut (line 555) | fn get_non_zero_counts_edge_mut( type Counts7x7 (line 165) | struct Counts7x7 { type CountsEdge (line 171) | struct CountsEdge { type CountsDC (line 180) | struct CountsDC { FILE: lib/src/structs/multiplexer.rs type Message (line 26) | enum Message { type MultiplexWriter (line 31) | pub struct MultiplexWriter { constant WRITE_BUFFER_SIZE (line 37) | const WRITE_BUFFER_SIZE: usize = 65536; method write (line 40) | fn write(&mut self, buf: &[u8]) -> std::io::Result { method flush (line 60) | fn flush(&mut self) -> std::io::Result<()> { type ThreadResults (line 74) | struct ThreadResults { function new (line 79) | fn new() -> Self { function send_results (line 86) | fn send_results Result + Send + 'static>( function receive_results (line 102) | fn receive_results(&mut self) -> Result> { function multiplex_write (line 133) | pub fn multiplex_write( type MultiplexReader (line 234) | pub struct MultiplexReader { method read_slow (line 268) | fn read_slow(&mut self, buf: &mut [u8]) -> std::io::Result { method read (line 253) | fn read(&mut self, buf: &mut [u8]) -> std::io::Result { type MultiplexReaderState (line 307) | pub struct MultiplexReaderState { type State (line 316) | enum State { type MultiplexReadResult (line 322) | pub enum MultiplexReadResult { function multiplex_read (line 337) | pub fn multiplex_read( function spawn_processor_threads (line 406) | fn spawn_processor_threads( function process_buffer (line 436) | pub fn process_buffer(&mut self, source: &mut PartialBuffer<'_>) -> Resu... function retrieve_result (line 493) | pub fn retrieve_result(&mut self, complete: bool) -> Result Metrics { function test_multiplex_end_to_end (line 598) | fn test_multiplex_end_to_end() { function test_read (line 623) | fn test_read(output: &[u8], w: &[usize], max_processor_threads: usize) { function test_multiplex_read_error (line 675) | fn test_multiplex_read_error() { function test_multiplex_read_panic (line 692) | fn test_multiplex_read_panic() { function test_multiplex_write_error (line 709) | fn test_multiplex_write_error() { function test_multiplex_write_panic (line 735) | fn test_multiplex_write_panic() { FILE: lib/src/structs/neighbor_summary.rs type NeighborSummary (line 12) | pub struct NeighborSummary { method new (line 38) | pub fn new( method get_num_non_zeros (line 55) | pub fn get_num_non_zeros(&self) -> u8 { method get_vertical_pix (line 59) | pub fn get_vertical_pix(&self) -> i16x8 { method get_horizontal_pix (line 63) | pub fn get_horizontal_pix(&self) -> i16x8 { method get_vertical_coef (line 67) | pub fn get_vertical_coef(&self) -> i32x8 { method get_horizontal_coef (line 71) | pub fn get_horizontal_coef(&self) -> i32x8 { method checksum (line 77) | pub fn checksum(&self) -> u32 { method default (line 31) | fn default() -> Self { FILE: lib/src/structs/partial_buffer.rs type PartialBuffer (line 20) | pub struct PartialBuffer<'a> { function new (line 32) | pub fn new(slice: &'a [u8], extra_buffer: &'a mut Vec) -> PartialBuf... function continue_processing (line 41) | pub fn continue_processing(&self) -> bool { function take (line 55) | pub fn take(&mut self, size: usize, retention_bytes: usize) -> Option(&mut self, retention_bytes: usize) -> Opti... function test_taking_simple (line 110) | fn test_taking_simple() { function test_taking_simple_n (line 120) | fn test_taking_simple_n() { function test_taking_extra (line 130) | fn test_taking_extra() { function test_taking_extra_n (line 153) | fn test_taking_extra_n() { function test_taking_reserve (line 176) | fn test_taking_reserve() { FILE: lib/src/structs/probability_tables.rs type ProbabilityTables (line 20) | pub struct ProbabilityTables { method new (line 40) | pub const fn new(in_left_present: bool, in_above_present: bool) -> Pro... method is_all_present (line 48) | pub fn is_all_present(&self) -> bool { method is_left_present (line 52) | pub fn is_left_present(&self) -> bool { method is_above_present (line 55) | pub fn is_above_present(&self) -> bool { method adv_predict_or_unpredict_dc (line 59) | pub fn adv_predict_or_unpredict_dc( method get_color_index (line 81) | pub fn get_color_index(component: usize) -> usize { method num_non_zeros_to_bin_7x7 (line 86) | pub fn num_non_zeros_to_bin_7x7(num_non_zeros: usize) -> usize { method calc_num_non_zeros_7x7_context_bin (line 90) | pub fn calc_num_non_zeros_7x7_context_bin( method calc_coefficient_context_7x7_aavg_block (line 121) | pub fn calc_coefficient_context_7x7_aavg_block( method predict_current_edges (line 171) | pub fn predict_current_edges( method predict_next_edges (line 196) | pub fn predict_next_edges(raster: &[i32x8; 8]) -> (i32x8, i32x8) { method calc_coefficient_context8_lak (line 212) | pub fn calc_coefficient_context8_lak( type PredictDCResult (line 31) | pub struct PredictDCResult { FILE: lib/src/structs/quantization_tables.rs type QuantizationTables (line 12) | pub struct QuantizationTables { method new (line 23) | pub fn new(jpeg_header: &JpegHeader, component: usize) -> Self { method new_from_table (line 29) | pub fn new_from_table(quantization_table: &[u16; 64]) -> Self { method construct_quantization_tables (line 66) | pub fn construct_quantization_tables( method get_quantization_table (line 77) | pub fn get_quantization_table(&self) -> &[u16; 64] { method get_quantization_table_transposed (line 81) | pub fn get_quantization_table_transposed(&self) -> &[u16; 64] { method get_min_noise_threshold (line 85) | pub fn get_min_noise_threshold(&self, coef: usize) -> u8 { FILE: lib/src/structs/simple_hash.rs type SimpleHash (line 12) | pub struct SimpleHash { method new (line 39) | pub fn new() -> Self { method hash (line 43) | pub fn hash(&mut self, v: T) { method get (line 47) | pub fn get(&self) -> u32 { type SimpleHashProvider (line 16) | pub trait SimpleHashProvider { method get_u64 (line 17) | fn get_u64(&self) -> u64; method get_u64 (line 21) | fn get_u64(&self) -> u64 { method get_u64 (line 27) | fn get_u64(&self) -> u64 { method get_u64 (line 33) | fn get_u64(&self) -> u64 { FILE: lib/src/structs/simple_threadpool.rs type LeptonThreadPool (line 26) | pub trait LeptonThreadPool { method max_parallelism (line 28) | fn max_parallelism(&self) -> usize; method run (line 31) | fn run(&self, f: Box); method max_parallelism (line 46) | fn max_parallelism(&self) -> usize { method run (line 52) | fn run(&self, f: Box) { method max_parallelism (line 155) | fn max_parallelism(&self) -> usize { method run (line 158) | fn run(&self, f: Box) { method max_parallelism (line 191) | fn max_parallelism(&self) -> usize { method run (line 194) | fn run(&self, _f: Box) { type ThreadPoolHolder (line 38) | pub enum ThreadPoolHolder<'a> { type LeptonThreadPriority (line 62) | pub enum LeptonThreadPriority { type SimpleThreadPool (line 75) | pub struct SimpleThreadPool { method new (line 82) | pub const fn new(priority: LeptonThreadPriority) -> Self { method get_idle_threads (line 91) | pub fn get_idle_threads(&self) -> usize { method execute (line 96) | fn execute(&self, f: F) function test_threadpool (line 166) | fn test_threadpool() { type SingleThreadPool (line 188) | pub struct SingleThreadPool {} FILE: lib/src/structs/thread_handoff.rs type ThreadHandoff (line 14) | pub struct ThreadHandoff { method deserialize (line 25) | pub fn deserialize(num_threads: u8, data: &mut R) -> Result(data: &Vec, retval: &mut W) ... method get_combine_thread_range_segment_size (line 80) | pub fn get_combine_thread_range_segment_size( method combine_thread_ranges (line 88) | pub fn combine_thread_ranges(from: &ThreadHandoff, to: &ThreadHandoff)... FILE: lib/src/structs/vpx_bool_reader.rs constant BITS_IN_BYTE (line 33) | const BITS_IN_BYTE: u32 = 8; constant BITS_IN_VALUE (line 34) | const BITS_IN_VALUE: u32 = 64; constant BITS_IN_VALUE_MINUS_LAST_BYTE (line 35) | const BITS_IN_VALUE_MINUS_LAST_BYTE: u32 = BITS_IN_VALUE - BITS_IN_BYTE; constant VALUE_MASK (line 36) | const VALUE_MASK: u64 = (1 << BITS_IN_VALUE_MINUS_LAST_BYTE) - 1; type VPXBoolReader (line 38) | pub struct VPXBoolReader { function new (line 48) | pub fn new(reader: R) -> lepton_error::Result { function drain_stats (line 66) | pub fn drain_stats(&mut self) -> Metrics { function get (line 96) | pub fn get( function get_grid (line 159) | pub fn get_grid( function get_unary_encoded (line 198) | pub fn get_unary_encoded( function get_n_bits (line 296) | pub fn get_n_bits( function get_bit (line 328) | pub fn get_bit(&mut self, branch: &mut Branch, _cmp: ModelComponent) -> ... function vpx_reader_fill (line 349) | fn vpx_reader_fill(mut tmp_value: u64, upstream_reader: &mut R) -> Resul... function mul_prob (line 376) | fn mul_prob(tmp_range: u64, probability: u64) -> u64 { FILE: lib/src/structs/vpx_bool_writer.rs type VPXBoolWriter (line 32) | pub struct VPXBoolWriter { function new (line 43) | pub fn new(writer: W) -> Result { function drain_stats (line 60) | pub fn drain_stats(&mut self) -> Metrics { function put (line 65) | pub fn put( function carry (line 160) | fn carry(&mut self) { function put_grid (line 174) | pub fn put_grid( function put_n_bits (line 215) | pub fn put_n_bits( function put_unary_encoded (line 244) | pub fn put_unary_encoded( function put_bit (line 271) | pub fn put_bit( function finish (line 290) | pub fn finish(&mut self) -> Result<()> { function flush_non_final_data (line 315) | pub fn flush_non_final_data(&mut self) -> Result<()> { function put_6bytes (line 335) | fn put_6bytes(buffer: &mut Vec, v: u64) { function test_roundtrip_vpxboolwriter_n_bits (line 344) | fn test_roundtrip_vpxboolwriter_n_bits() { function test_roundtrip_vpxboolwriter_unary (line 382) | fn test_roundtrip_vpxboolwriter_unary() { function test_roundtrip_vpxboolwriter_grid (line 419) | fn test_roundtrip_vpxboolwriter_grid() { function test_roundtrip_vpxboolwriter_single_bit (line 450) | fn test_roundtrip_vpxboolwriter_single_bit() { FILE: python/src/lib.rs type ThreadOptions (line 7) | enum ThreadOptions { type RayonThreadPool (line 13) | struct RayonThreadPool { method run (line 18) | fn run(&self, f: Box) { method max_parallelism (line 21) | fn max_parallelism(&self) -> usize { function parse_config (line 30) | fn parse_config( function compress_bytes (line 90) | pub fn compress_bytes( function decompress_bytes (line 117) | pub fn decompress_bytes( function lepton_jpeg_python (line 145) | fn lepton_jpeg_python(m: &Bound<'_, PyModule>) -> PyResult<()> { FILE: python/tests/test_compress.py function test_compress_decompress (line 3) | def test_compress_decompress(): FILE: tests/end_to_end.rs function assert_eq_array (line 20) | pub fn assert_eq_array(a: &[T], b: &[T]) { function read_file (line 53) | pub fn read_file(filename: &str, ext: &str) -> Vec { function verify_decode (line 70) | fn verify_decode( function verify_decode_scalar_overflow (line 134) | fn verify_decode_scalar_overflow() { function verify_encode (line 160) | fn verify_encode( function verify_fail_encode (line 221) | fn verify_fail_encode(#[values("half_scan", "narrowrst", "nofsync")] fil... function verify_16bitmath (line 234) | fn verify_16bitmath() { function verify_encode_verify (line 280) | fn verify_encode_verify(#[values("slrcity")] file: &str) { function assert_exception (line 291) | fn assert_exception(expected_error: ExitCode, result: Result Result { function parse_u32 (line 42) | fn parse_u32(s: &str) -> Result { function parse_u64 (line 46) | fn parse_u64(s: &str) -> Result { function parse_path (line 50) | fn parse_path(s: &OsStr) -> Result { function override_if (line 54) | fn override_if( type UtilError (line 66) | struct UtilError(LeptonError); method message (line 69) | fn message(&self) -> &str { method exit_code (line 73) | fn exit_code(&self) -> ExitCode { method from (line 80) | fn from(e: pico_args::Error) -> Self { method from (line 89) | fn from(e: LeptonError) -> Self { method from (line 96) | fn from(e: std::io::Error) -> Self { type RecordStreamPosition (line 101) | struct RecordStreamPosition { method write (line 107) | fn write(&mut self, buf: &[u8]) -> std::io::Result { method flush (line 113) | fn flush(&mut self) -> std::io::Result<()> { method position (line 119) | fn position(&mut self) -> u64 { function main_with_result (line 125) | fn main_with_result() -> Result<(), UtilError> { function id_file_type (line 456) | fn id_file_type(input_data: &[u8]) -> Result { function execute_cpp_verify (line 470) | fn execute_cpp_verify( function do_work (line 511) | fn do_work( type VerifyWriter (line 554) | struct VerifyWriter { function new (line 563) | pub fn new(output: W, mut reader: R) -> Self { method seek (line 574) | fn seek(&mut self, pos: std::io::SeekFrom) -> std::io::Result { method write (line 580) | fn write(&mut self, buf: &[u8]) -> std::io::Result { method flush (line 600) | fn flush(&mut self) -> std::io::Result<()> { function main (line 605) | fn main() { function call_executable_with_input (line 621) | pub fn call_executable_with_input( FILE: util/src/verifydir.rs type RecursiveFiles (line 10) | pub struct RecursiveFiles { method new (line 15) | pub fn new(root: impl AsRef) -> std::io::Result { type Item (line 23) | type Item = PathBuf; method next (line 25) | fn next(&mut self) -> Option { type RayonPool (line 52) | struct RayonPool {} method max_parallelism (line 55) | fn max_parallelism(&self) -> usize { method run (line 59) | fn run(&self, f: Box) { function corrupt_data_if_enabled (line 65) | pub fn corrupt_data_if_enabled(seed: &mut Option, input_data: &mut ... function verify_dir (line 112) | pub fn verify_dir( function call_executable_with_input (line 129) | pub fn call_executable_with_input(