Home
last modified time | relevance | path

Searched refs:spkr (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
Ddcadec.c82 int pos, spkr, max_spkr = av_log2(ch_mask); in ff_dca_downmix_to_stereo_fixed() local
93 for (spkr = 0; spkr <= max_spkr; spkr++) { in ff_dca_downmix_to_stereo_fixed()
94 if (!(ch_mask & (1U << spkr))) in ff_dca_downmix_to_stereo_fixed()
97 if (*coeff_l && spkr != DCA_SPEAKER_L) in ff_dca_downmix_to_stereo_fixed()
98 dcadsp->dmix_add(samples[DCA_SPEAKER_L], samples[spkr], in ff_dca_downmix_to_stereo_fixed()
101 if (*coeff_r && spkr != DCA_SPEAKER_R) in ff_dca_downmix_to_stereo_fixed()
102 dcadsp->dmix_add(samples[DCA_SPEAKER_R], samples[spkr], in ff_dca_downmix_to_stereo_fixed()
113 int pos, spkr, max_spkr = av_log2(ch_mask); in ff_dca_downmix_to_stereo_float() local
127 for (spkr = 0; spkr <= max_spkr; spkr++) { in ff_dca_downmix_to_stereo_float()
128 if (!(ch_mask & (1U << spkr))) in ff_dca_downmix_to_stereo_float()
[all …]
Ddca_core.c1910 int pos, spkr; in map_prm_ch_to_spkr() local
1915 spkr = prm_ch_to_spkr_map[s->audio_mode][ch]; in map_prm_ch_to_spkr()
1917 if (s->xxch_core_mask & (1U << spkr)) in map_prm_ch_to_spkr()
1918 return spkr; in map_prm_ch_to_spkr()
1919 if (spkr == DCA_SPEAKER_Ls && (s->xxch_core_mask & DCA_SPEAKER_MASK_Lss)) in map_prm_ch_to_spkr()
1921 if (spkr == DCA_SPEAKER_Rs && (s->xxch_core_mask & DCA_SPEAKER_MASK_Rss)) in map_prm_ch_to_spkr()
1925 return spkr; in map_prm_ch_to_spkr()
1934 for (spkr = DCA_SPEAKER_Cs; spkr < s->xxch_mask_nbits; spkr++) in map_prm_ch_to_spkr()
1935 if (s->xxch_spkr_mask & (1U << spkr)) in map_prm_ch_to_spkr()
1937 return spkr; in map_prm_ch_to_spkr()
[all …]
Ddca_core.h216 static inline int ff_dca_core_map_spkr(DCACoreDecoder *core, int spkr) in ff_dca_core_map_spkr() argument
218 if (core->ch_mask & (1U << spkr)) in ff_dca_core_map_spkr()
219 return spkr; in ff_dca_core_map_spkr()
220 if (spkr == DCA_SPEAKER_Lss && (core->ch_mask & DCA_SPEAKER_MASK_Ls)) in ff_dca_core_map_spkr()
222 if (spkr == DCA_SPEAKER_Rss && (core->ch_mask & DCA_SPEAKER_MASK_Rs)) in ff_dca_core_map_spkr()
Ddca_xll.c1283 int n, spkr, shift, round; in combine_residual_frame() local
1290 spkr = ff_dca_core_map_spkr(&dca->core, c->ch_remap[ch]); in combine_residual_frame()
1291 if (spkr < 0) { in combine_residual_frame()
1305 src = dca->core.output_samples[spkr]; in combine_residual_frame()
/third_party/eudev/rules/
D60-persistent-input.rules19 DRIVERS=="pcspkr", ENV{.INPUT_CLASS}="spkr"