Home
last modified time | relevance | path

Searched refs:num_bands (Results 1 – 25 of 39) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_processing/
Dsplitting_filter.cc20 size_t num_bands, in SplittingFilter() argument
22 : num_bands_(num_bands) { in SplittingFilter()
35 RTC_DCHECK_EQ(num_bands_, bands->num_bands()); in Analysis()
38 bands->num_frames_per_band() * bands->num_bands()); in Analysis()
39 if (bands->num_bands() == 2) { in Analysis()
41 } else if (bands->num_bands() == 3) { in Analysis()
48 RTC_DCHECK_EQ(num_bands_, bands->num_bands()); in Synthesis()
51 bands->num_frames_per_band() * bands->num_bands()); in Synthesis()
52 if (bands->num_bands() == 2) { in Synthesis()
54 } else if (bands->num_bands() == 3) { in Synthesis()
Daudio_buffer.cc36 size_t num_bands = 1; in NumBandsFromSamplesPerChannel() local
39 num_bands = rtc::CheckedDivExact(num_frames, kSamplesPer16kHzChannel); in NumBandsFromSamplesPerChannel()
41 return num_bands; in NumBandsFromSamplesPerChannel()
365 size_t AudioBuffer::num_bands() const { in num_bands() function in webrtc::AudioBuffer
Dnoise_suppression_impl.cc100 audio->num_bands(), in ProcessCaptureAudio()
105 audio->num_bands(), in ProcessCaptureAudio()
Dgain_control_impl.cc146 audio->num_bands(), in AnalyzeCaptureAudio()
162 audio->num_bands(), in AnalyzeCaptureAudio()
204 audio->num_bands(), in ProcessCaptureAudio()
Dsplitting_filter.h48 SplittingFilter(size_t num_channels, size_t num_bands, size_t num_frames);
/external/webrtc/webrtc/common_audio/
Dchannel_buffer.h44 size_t num_bands = 1)
46 channels_(new T*[num_channels * num_bands]), in data_()
47 bands_(new T*[num_channels * num_bands]), in data_()
49 num_frames_per_band_(num_frames / num_bands), in data_()
51 num_bands_(num_bands) { in data_()
119 size_t num_bands() const { return num_bands_; } in num_bands() function
145 IFChannelBuffer(size_t num_frames, size_t num_channels, size_t num_bands = 1);
155 size_t num_bands() const { return ibuf_.num_bands(); } in num_bands() function
Dchannel_buffer.cc17 size_t num_bands) in IFChannelBuffer() argument
19 ibuf_(num_frames, num_channels, num_bands), in IFChannelBuffer()
21 fbuf_(num_frames, num_channels, num_bands) {} in IFChannelBuffer()
/external/libxaac/decoder/
Dixheaacd_freq_sca.c334 WORD16 num_bands; in ixheaacd_calc_master_frq_bnd_tbl() local
337 num_bands = (WORD16)(k2 - k0); in ixheaacd_calc_master_frq_bnd_tbl()
338 num_bands = num_bands - (num_bands & 0x1); in ixheaacd_calc_master_frq_bnd_tbl()
341 num_bands = (WORD16)((k2 - k0) + 2) >> 2; in ixheaacd_calc_master_frq_bnd_tbl()
342 num_bands = num_bands << 1; in ixheaacd_calc_master_frq_bnd_tbl()
344 if (num_bands < 1) { in ixheaacd_calc_master_frq_bnd_tbl()
347 k2_achived = k0 + (num_bands << (dk - 1)); in ixheaacd_calc_master_frq_bnd_tbl()
351 for (k = 0; k < num_bands; k++) { in ixheaacd_calc_master_frq_bnd_tbl()
361 k = sub_d(num_bands, 1); in ixheaacd_calc_master_frq_bnd_tbl()
369 for (k = 1; k <= num_bands; k++) in ixheaacd_calc_master_frq_bnd_tbl()
[all …]
Dixheaacd_mps_hybfilter.h28 WORD32 num_bands, WORD32 num_samples,
33 WORD32 num_bands, WORD32 num_samples,
Dixheaacd_mps_hybrid_filt.c175 WORD32 num_bands, WORD32 num_samples, in ixheaacd_mps_qmf_hybrid_analysis() argument
203 for (k = 0; k < num_bands - lf_qmf_bands; k++) { in ixheaacd_mps_qmf_hybrid_analysis()
210 for (k = 0; k < num_bands - lf_qmf_bands; k++) { in ixheaacd_mps_qmf_hybrid_analysis()
259 for (k = 0; k < num_bands - lf_qmf_bands; k++) { in ixheaacd_mps_qmf_hybrid_analysis()
269 WORD32 num_bands, WORD32 num_samples, in ixheaacd_mps_qmf_hybrid_synthesis() argument
288 for (k = 3; k < num_bands; k++) { in ixheaacd_mps_qmf_hybrid_synthesis()
/external/aac/libSBRdec/src/
Dsbrdec_freq_sca.cpp120 static void CalcBands(UCHAR *diff, UCHAR start, UCHAR stop, UCHAR num_bands);
483 static FIXP_SGL calcFactorPerBand(int k_start, int k_stop, int num_bands) { in calcFactorPerBand() argument
505 for (j = 0; j < num_bands; j++) in calcFactorPerBand()
546 int num_bands; in numberOfBands() local
563 num_bands = 2 * ((LONG)num_bands_div128 >> (FRACT_BITS - 7)); in numberOfBands()
565 return (num_bands); in numberOfBands()
578 UCHAR num_bands) /*!< Desired number of bands */ in CalcBands() argument
584 FIXP_SGL bandfactor = calcFactorPerBand(start, stop, num_bands); in CalcBands()
590 for (i = num_bands - 1; i >= 0; i--) { in CalcBands()
646 UCHAR *v_k_master, UCHAR num_bands, in sbrdecUpdateHiRes() argument
[all …]
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Dgain_control.h107 size_t num_bands,
135 size_t num_bands,
176 size_t num_bands,
Danalog_agc.c115 int WebRtcAgc_AddMic(void *state, int16_t* const* in_mic, size_t num_bands, in WebRtcAgc_AddMic() argument
169 for (j = 0; j < num_bands; ++j) in WebRtcAgc_AddMic()
285 size_t num_bands, size_t samples, int32_t micLevelIn, in WebRtcAgc_VirtualMic() argument
400 for (j = 1; j < num_bands; ++j) in WebRtcAgc_VirtualMic()
419 if (WebRtcAgc_AddMic(agcInst, in_near, num_bands, samples) != 0) in WebRtcAgc_VirtualMic()
1137 size_t num_bands, size_t samples, in WebRtcAgc_Process() argument
1181 num_bands, in WebRtcAgc_Process()
Ddigital_agc.c296 size_t num_bands, in WebRtcAgc_ProcessDigital() argument
331 for (i = 0; i < num_bands; ++i) in WebRtcAgc_ProcessDigital()
567 for (i = 0; i < num_bands; ++i) in WebRtcAgc_ProcessDigital()
595 for (i = 0; i < num_bands; ++i) in WebRtcAgc_ProcessDigital()
Ddigital_agc.h59 size_t num_bands,
/external/webrtc/webrtc/modules/audio_processing/aec/
Decho_cancellation.c108 size_t num_bands,
115 size_t num_bands,
340 size_t num_bands, in WebRtcAec_Process() argument
373 num_bands, in WebRtcAec_Process()
381 num_bands, in WebRtcAec_Process()
574 size_t num_bands, in ProcessNormal() argument
625 for (i = 0; i < num_bands; ++i) { in ProcessNormal()
711 num_bands, in ProcessNormal()
722 size_t num_bands, in ProcessExtended() argument
750 for (i = 0; i < num_bands; ++i) { in ProcessExtended()
[all …]
Daec_core.c485 if (aec->num_bands > 1) { in ComfortNoise()
1199 if (aec->num_bands > 1) { in EchoSuppression()
1209 for (j = 0; j < aec->num_bands - 1; ++j) { in EchoSuppression()
1221 for (j = 0; j < aec->num_bands - 1; ++j) { in EchoSuppression()
1235 for (j = 0; j < aec->num_bands - 1; ++j) { in EchoSuppression()
1278 for (i = 0; i < aec->num_bands - 1; ++i) { in ProcessBlock()
1417 for (i = 0; i < aec->num_bands - 1; ++i) { in ProcessBlock()
1572 aec->num_bands = 1; in WebRtcAec_InitAec()
1576 aec->num_bands = (size_t)(sampFreq / 16000); in WebRtcAec_InitAec()
1654 if (aec->num_bands > 1) { in WebRtcAec_InitAec()
[all …]
Decho_cancellation.h162 size_t num_bands,
Daec_core.h70 size_t num_bands,
/external/webrtc/webrtc/modules/audio_processing/ns/
Dnoise_suppression_x.c42 int num_bands, in WebRtcNsx_Process() argument
45 num_bands, outFrame); in WebRtcNsx_Process()
Dnoise_suppression.c44 size_t num_bands, in WebRtcNs_Process() argument
46 WebRtcNs_ProcessCore((NoiseSuppressionC*)NS_inst, spframe, num_bands, in WebRtcNs_Process()
Dnoise_suppression_x.h81 int num_bands,
Dnoise_suppression.h97 size_t num_bands,
/external/libxaac/decoder/drc_src/
Dimpd_drc_process.c364 WORD32 c, g, e, i, num_bands; in impd_filter_banks_process() local
391 num_bands = 1; in impd_filter_banks_process()
395 num_bands = 1; in impd_filter_banks_process()
403 num_bands = str_drc_instruction_str->band_count_of_ch_group[g]; in impd_filter_banks_process()
421 num_bands = 1; in impd_filter_banks_process()
423 switch (num_bands) { in impd_filter_banks_process()
/external/aac/libSBRenc/src/
Dsbrenc_freq_sca.cpp120 static void CalcBands(INT *diff, INT start, INT stop, INT num_bands);
562 static void CalcBands(INT *diff, INT start, INT stop, INT num_bands) { in CalcBands() argument
569 for (i = 1; i <= num_bands; i++) { in CalcBands()
571 exp = fDivNorm((FIXP_DBL)i, (FIXP_DBL)num_bands, &qe); in CalcBands()

12