Skip to content
1 viewer

rust 1,859,989 · typescript 235,537 · javascript 132,952 · python 20,426 · 6,407 files · digest 4f42637fac12 · built in 1.2 s · crystals off

crates/cre8-util-dsp/src/layout.rs

cre8-util-dsp · module layout · src · 1,232 lines (983 code, 152 comment) · sha ed32c840fbc9e445

Items

enum Speaker impl Speaker const FL const FR const FC const LFE const BL const BR const SL const SR const KNOWN_SPEAKERS struct ChannelLayout impl ChannelLayout impl Display for ChannelLayout struct ChannelLayoutWire impl From for ChannelLayoutWire impl TryFrom for ChannelLayout enum ChannelGroup struct ChannelGroups impl Iterator for ChannelGroups struct RemixMatrix impl RemixMatrix const SCALE const EPS const H

Functions

By call-graph weight (PageRank; 1.0 is the average function). 81 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
RemixMatrix::newsrc/layout.rs:445method25112886
ChannelLayout::discretesrc/layout.rs:230method1031505.6
Speaker::bitsrc/layout.rs:78method31805.6
ChannelLayout::channelssrc/layout.rs:259method311704.6
ChannelLayout::containssrc/layout.rs:272method31214
RemixMatrix::gainsrc/layout.rs:533method311003.8
RemixMatrix::apply_frame_f32src/layout.rs:564method175703.3
ChannelLayout::speakers_for_countsrc/layout.rs:247method106813.2
ChannelLayout::speakerssrc/layout.rs:288method31512.9
ChannelLayout::from_known_masksrc/layout.rs:218method31102.4
ChannelLayout::index_ofsrc/layout.rs:277method32622.3
RemixMatrix::remix_interleaved_i16src/layout.rs:607method238912.2
ChannelLayout::from_masksrc/layout.rs:224method331012.2
pan_gainssrc/layout.rs:708fn4813722.1
RemixMatrix::setsrc/layout.rs:475method31201.8
assert_rowssrc/layout.rs:764fn103831.8
ChannelLayout::groupssrc/layout.rs:310method31501.7
foldsrc/layout.rs:636fn3720221.6
ChannelLayout::is_discretesrc/layout.rs:268method31501.6
RemixMatrix::peak_row_gainsrc/layout.rs:544method31311.6
Speaker::azimuth_degreessrc/layout.rs:111method2211101.4
fold_surroundsrc/layout.rs:676fn122121.2
RemixMatrix::inputssrc/layout.rs:524method31201.2
RemixMatrix::outputssrc/layout.rs:528method31201.2
RemixMatrix::zerossrc/layout.rs:471method31101.1
RemixMatrix::apply_web_audio_tablesrc/layout.rs:488method225111.1
RemixMatrix::upmix_monosrc/layout.rs:513method104131.1
RemixMatrix::normalizedsrc/layout.rs:550method103511
Speaker::labelsrc/layout.rs:83method2218300.8
ChannelLayout::speakersrc/layout.rs:283method31310.8
RemixMatrix::remix_interleaved_f32src/layout.rs:583method114210.8
stereo_pan_azimuthsrc/layout.rs:691fn31210.8
RemixMatrix::is_identitysrc/layout.rs:538method31200.7
lcg_i16src/layout.rs:1063fn41200.7
Speaker::loudness_weightsrc/layout.rs:171method73100.6
ChannelLayout::masksrc/layout.rs:264method31100.6
half_sumsrc/layout.rs:1093nested fn42100.6
Speaker::mirrorsrc/layout.rs:137method1713100.6
Speaker::is_leftsrc/layout.rs:156method111100.6
ChannelLayout::loudness_weightsrc/layout.rs:294method93040.5
ChannelLayout::fmtsrc/layout.rs:316trait impl2613030.5
ChannelLayoutWire::fromsrc/layout.rs:352trait impl31000.5
ChannelLayout::try_fromsrc/layout.rs:360trait impl215020.5
ChannelGroups::nextsrc/layout.rs:400trait impl288060.5
RemixMatrix::addsrc/layout.rs:479method31000.5
named_layouts_use_the_wave_channel_ordersrc/layout.rs:776fn101040.5
index_of_counts_lower_bitssrc/layout.rs:788fn101030.5
masks_outside_the_known_positions_are_refusedsrc/layout.rs:800fn51010.5
discrete_counts_clampsrc/layout.rs:807fn51030.5
bare_counts_resolve_to_the_conventional_speaker_layoutssrc/layout.rs:814fn91020.5
display_names_the_common_layoutssrc/layout.rs:825fn61030.5
serde_round_trips_and_rejects_inconsistent_wire_valuessrc/layout.rs:833fn112010.5
groups_pair_mirrored_speakers_and_leave_the_rest_singlesrc/layout.rs:846fn121010.5
discrete_groups_pair_adjacent_channelssrc/layout.rs:860fn51020.5
groups_cover_every_channel_exactly_oncesrc/layout.rs:867fn164020.5
web_audio_mono_upmix_rowssrc/layout.rs:888fn81020.5
web_audio_stereo_and_quad_upmix_rowssrc/layout.rs:898fn181020.5
web_audio_mono_downmix_rowssrc/layout.rs:918fn91020.5
web_audio_stereo_and_quad_downmix_rowssrc/layout.rs:929fn161020.5
seven_one_folds_backs_and_sides_into_the_frontssrc/layout.rs:947fn103030.5
lfe_survives_only_where_the_target_has_onesrc/layout.rs:959fn61020.5
back_centre_splits_to_the_nearest_pairsrc/layout.rs:967fn72050.5
height_speakers_fold_into_the_bedsrc/layout.rs:976fn61040.5
every_speaker_reaches_a_mono_or_stereo_targetsrc/layout.rs:984fn144060.5
discrete_layouts_copy_by_indexsrc/layout.rs:1000fn71040.5
identity_is_detected_and_copies_bit_for_bitsrc/layout.rs:1009fn91030.5
stereo_to_mono_matches_the_halved_sum_bit_for_bitsrc/layout.rs:1020fn102020.5
mono_to_stereo_duplicates_bit_for_bitsrc/layout.rs:1032fn82020.5
normalization_only_ever_attenuatessrc/layout.rs:1042fn91040.5
remix_interleaved_puts_centre_in_both_sides_and_drops_lfesrc/layout.rs:1053fn82020.5
i16_identity_returns_every_sample_and_drops_a_partial_framesrc/layout.rs:1069fn81020.5
i16_mono_to_stereo_duplicates_every_samplesrc/layout.rs:1079fn92030.5
i16_stereo_to_mono_is_the_half_sum_rounded_away_from_zerosrc/layout.rs:1090fn265050.5
i16_fold_downs_are_boundedsrc/layout.rs:1118fn194040.5
i16_remix_tracks_the_f32_remix_within_one_stepsrc/layout.rs:1139fn173050.5
stereo_panning_matches_stereo_panner_nodesrc/layout.rs:1158fn122020.5
panning_is_constant_power_around_a_surround_ringsrc/layout.rs:1172fn123020.5
panning_lands_on_speakers_and_never_feeds_the_lfesrc/layout.rs:1186fn143010.5
a_frontal_layout_snaps_rear_sources_to_the_nearer_frontsrc/layout.rs:1202fn91010.5
unpannable_layouts_report_false_and_stay_silentsrc/layout.rs:1213fn101030.5
loudness_weights_follow_bs1770src/layout.rs:1225fn71010.5

Source not readable from this process.