Home
last modified time | relevance | path

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

12

/external/webrtc/modules/audio_processing/aec3/
Dblock_delay_buffer.cc18 size_t num_bands, in BlockDelayBuffer() argument
24 std::vector<std::vector<float>>(num_bands, in BlockDelayBuffer()
35 const size_t num_bands = buf_[0].size(); in DelaySignal() local
41 RTC_DCHECK_EQ(buf_[ch].size(), frame->num_bands()); in DelaySignal()
42 RTC_DCHECK_EQ(buf_[ch].size(), num_bands); in DelaySignal()
43 rtc::ArrayView<float* const> frame_ch(frame->split_bands(ch), num_bands); in DelaySignal()
45 for (size_t band = 0; band < num_bands; ++band) { in DelaySignal()
Dblock_delay_buffer_unittest.cc30 size_t num_bands, in PopulateInputFrame() argument
33 for (size_t k = 0; k < num_bands; ++k) { in PopulateInputFrame()
68 size_t num_bands = NumBandsForRate(rate); in TEST_P() local
71 BlockDelayBuffer delay_buffer(num_channels, num_bands, subband_frame_length, in TEST_P()
84 PopulateInputFrame(subband_frame_length, num_bands, first_sample_index, in TEST_P()
90 for (size_t band = 0; band < num_bands; ++band) { in TEST_P()
Dframe_blocker_unittest.cc109 const size_t num_bands = NumBandsForRate(sample_rate_hz); in RunBlockerTest() local
112 num_bands, std::vector<std::vector<float>>( in RunBlockerTest()
115 num_bands, std::vector<std::vector<float>>( in RunBlockerTest()
118 num_bands, std::vector<rtc::ArrayView<float>>(num_channels)); in RunBlockerTest()
119 FrameBlocker blocker(num_bands, num_channels); in RunBlockerTest()
146 const size_t num_bands = NumBandsForRate(sample_rate_hz); in RunBlockerAndFramerTest() local
149 num_bands, std::vector<std::vector<float>>( in RunBlockerAndFramerTest()
152 num_bands, std::vector<std::vector<float>>( in RunBlockerAndFramerTest()
155 num_bands, std::vector<std::vector<float>>( in RunBlockerAndFramerTest()
158 num_bands, std::vector<rtc::ArrayView<float>>(num_channels)); in RunBlockerAndFramerTest()
[all …]
Dblock_buffer.cc18 size_t num_bands, in BlockBuffer() argument
24 num_bands, in BlockBuffer()
Dblock_framer.cc20 BlockFramer::BlockFramer(size_t num_bands, size_t num_channels) in BlockFramer() argument
21 : num_bands_(num_bands), in BlockFramer()
27 RTC_DCHECK_LT(0, num_bands); in BlockFramer()
Dframe_blocker.cc18 FrameBlocker::FrameBlocker(size_t num_bands, size_t num_channels) in FrameBlocker() argument
19 : num_bands_(num_bands), in FrameBlocker()
22 RTC_DCHECK_LT(0, num_bands); in FrameBlocker()
Decho_canceller3.cc79 RTC_DCHECK_EQ(frame->num_bands(), sub_frame_view->size()); in FillSubFrameView()
193 size_t num_bands, in CopyBufferIntoFrame() argument
196 RTC_DCHECK_EQ(num_bands, frame->size()); in CopyBufferIntoFrame()
199 for (size_t band = 0; band < num_bands; ++band) { in CopyBufferIntoFrame()
565 size_t num_bands,
585 size_t num_bands, in RenderWriter() argument
588 num_bands_(num_bands), in RenderWriter()
604 RTC_DCHECK_EQ(num_bands_, input.num_bands()); in Insert()
608 if (num_bands_ != input.num_bands()) in Insert()
744 RTC_DCHECK_EQ(num_bands_, capture->num_bands()); in ProcessCapture()
Dblock_framer_unittest.cc83 const size_t num_bands = NumBandsForRate(sample_rate_hz); in RunFramerTest() local
86 num_bands, std::vector<std::vector<float>>( in RunFramerTest()
89 num_bands, std::vector<std::vector<float>>( in RunFramerTest()
92 num_bands, std::vector<rtc::ArrayView<float>>(num_channels)); in RunFramerTest()
94 BlockFramer framer(num_bands, num_channels); in RunFramerTest()
/external/webrtc/modules/audio_processing/
Dsplitting_filter.cc29 size_t num_bands, in SplittingFilter() argument
31 : num_bands_(num_bands), in SplittingFilter()
41 RTC_DCHECK_EQ(num_bands_, bands->num_bands()); in Analysis()
44 bands->num_frames_per_band() * bands->num_bands()); in Analysis()
45 if (bands->num_bands() == 2) { in Analysis()
47 } else if (bands->num_bands() == 3) { in Analysis()
54 RTC_DCHECK_EQ(num_bands_, bands->num_bands()); in Synthesis()
57 bands->num_frames_per_band() * bands->num_bands()); in Synthesis()
58 if (bands->num_bands() == 2) { in Synthesis()
60 } else if (bands->num_bands() == 3) { in Synthesis()
[all …]
Dgain_control_impl.cc49 size_t num_bands, in ApplyDigitalGain() argument
60 for (size_t b = 0; b < num_bands; ++b) { in ApplyDigitalGain()
168 audio.num_bands(), audio.num_frames_per_band()); in AnalyzeCaptureAudio()
182 audio.num_bands(), audio.num_frames_per_band(), in AnalyzeCaptureAudio()
221 mono_agcs_[ch]->state, split_bands, audio->num_bands(), in ProcessCaptureAudio()
249 audio->num_bands(), split_bands); in ProcessCaptureAudio()
256 ApplyDigitalGain(mono_agcs_[index_to_apply]->gains, audio->num_bands(), in ProcessCaptureAudio()
/external/tensorflow/tensorflow/core/kernels/linalg/
Dbanded_triangular_solve_op.cc68 int num_bands = in_x.dim_size(1); in Run() local
93 if (i < num_bands) { in Run()
101 matrix.block(1, i, num_bands - 1, 1).reverse().transpose() * in Run()
102 output.middleRows(i - (num_bands - 1), num_bands - 1)) / in Run()
118 for (int j = i + 1; j < std::min(matrix_size, i + num_bands); ++j) { in Run()
128 rhs.row(matrix_size - 1) / matrix(num_bands - 1, matrix_size - 1); in Run()
131 if (i < num_bands) { in Run()
133 (rhs.row(k) - matrix.block(num_bands - 1 - i, k, i, 1) in Run()
137 matrix(num_bands - 1, k); in Run()
141 matrix.block(0, k, num_bands - 1, 1).reverse().transpose() * in Run()
[all …]
Dbanded_triangular_solve_op_test.cc32 Node* SetDiag(int num_bands, Graph* g, Node* bands, Node* triangular) { in SetDiag() argument
35 bandwidth.flat<int32>()(0) = -(num_bands - 1); in SetDiag()
69 static Graph* BandedTriangularSolve(int64 num_bands, int64 n, int64 m, in BandedTriangularSolve() argument
72 Tensor in0(type, TensorShape({num_bands, n})); in BandedTriangularSolve()
87 SetDiag(num_bands, g, test::graph::Constant(g, in0), in BandedTriangularSolve()
/external/webrtc/modules/audio_processing/ns/
Dnoise_suppressor_unittest.cc36 size_t num_bands, in PopulateInputFrameWithIdenticalChannels() argument
40 for (size_t b = 0; b < num_bands; ++b) { in PopulateInputFrameWithIdenticalChannels()
50 size_t num_bands, in VerifyIdenticalChannels() argument
55 for (size_t b = 0; b < num_bands; ++b) { in VerifyIdenticalChannels()
76 const size_t num_bands = rate / 16000; in TEST() local
87 PopulateInputFrameWithIdenticalChannels(num_channels, num_bands, in TEST()
93 VerifyIdenticalChannels(num_channels, num_bands, frame_index, in TEST()
/external/libxaac/decoder/
Dixheaacd_freq_sca.c344 WORD16 num_bands; in ixheaacd_calc_master_frq_bnd_tbl() local
347 num_bands = (WORD16)(k2 - k0); in ixheaacd_calc_master_frq_bnd_tbl()
348 num_bands = num_bands - (num_bands & 0x1); in ixheaacd_calc_master_frq_bnd_tbl()
351 num_bands = (WORD16)((k2 - k0) + 2) >> 2; in ixheaacd_calc_master_frq_bnd_tbl()
352 num_bands = num_bands << 1; in ixheaacd_calc_master_frq_bnd_tbl()
354 if (num_bands < 1) { in ixheaacd_calc_master_frq_bnd_tbl()
357 k2_achived = k0 + (num_bands << (dk - 1)); in ixheaacd_calc_master_frq_bnd_tbl()
361 for (k = 0; k < num_bands; k++) { in ixheaacd_calc_master_frq_bnd_tbl()
371 k = sub_d(num_bands, 1); in ixheaacd_calc_master_frq_bnd_tbl()
379 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.c179 WORD32 num_bands, WORD32 num_samples, in ixheaacd_mps_qmf_hybrid_analysis() argument
207 for (k = 0; k < num_bands - lf_qmf_bands; k++) { in ixheaacd_mps_qmf_hybrid_analysis()
214 for (k = 0; k < num_bands - lf_qmf_bands; k++) { in ixheaacd_mps_qmf_hybrid_analysis()
263 for (k = 0; k < num_bands - lf_qmf_bands; k++) { in ixheaacd_mps_qmf_hybrid_analysis()
273 WORD32 num_bands, WORD32 num_samples, in ixheaacd_mps_qmf_hybrid_synthesis() argument
292 for (k = 3; k < num_bands; k++) { in ixheaacd_mps_qmf_hybrid_synthesis()
/external/webrtc/common_audio/
Dchannel_buffer.h45 ChannelBuffer(size_t num_frames, size_t num_channels, size_t num_bands = 1)
47 channels_(new T*[num_channels * num_bands]), in data_()
48 bands_(new T*[num_channels * num_bands]), in data_()
50 num_frames_per_band_(num_frames / num_bands), in data_()
53 num_bands_(num_bands), in data_()
148 size_t num_bands() const { return num_bands_; } in num_bands() function
184 IFChannelBuffer(size_t num_frames, size_t num_channels, size_t num_bands = 1);
201 size_t num_bands() const { return ibuf_.num_bands(); } in num_bands() function
Dchannel_buffer.cc22 size_t num_bands) in IFChannelBuffer() argument
24 ibuf_(num_frames, num_channels, num_bands), in IFChannelBuffer()
26 fbuf_(num_frames, num_channels, num_bands) {} in IFChannelBuffer()
/external/webrtc/modules/audio_processing/agc/legacy/
Dgain_control.h84 size_t num_bands,
112 size_t num_bands,
152 size_t num_bands,
180 size_t num_bands,
Ddigital_agc.h46 size_t num_bands,
52 size_t num_bands,
Danalog_agc.cc139 size_t num_bands, in WebRtcAgc_AddMic() argument
188 for (j = 0; j < num_bands; ++j) { in WebRtcAgc_AddMic()
286 size_t num_bands, in WebRtcAgc_VirtualMic() argument
382 for (j = 1; j < num_bands; ++j) { in WebRtcAgc_VirtualMic()
398 if (WebRtcAgc_AddMic(agcInst, in_near, num_bands, samples) != 0) { in WebRtcAgc_VirtualMic()
937 size_t num_bands, in WebRtcAgc_Analyze() argument
967 WebRtcAgc_ComputeDigitalGains(&stt->digitalAgc, in_near, num_bands, in WebRtcAgc_Analyze()
998 size_t num_bands, in WebRtcAgc_Process() argument
1001 return WebRtcAgc_ApplyDigitalGains(gains, num_bands, stt->fs, in_near, out); in WebRtcAgc_Process()
/external/aac/libSBRdec/src/
Dsbrdec_freq_sca.cpp120 static void CalcBands(UCHAR *diff, UCHAR start, UCHAR stop, UCHAR num_bands);
485 static FIXP_SGL calcFactorPerBand(int k_start, int k_stop, int num_bands) { in calcFactorPerBand() argument
507 for (j = 0; j < num_bands; j++) in calcFactorPerBand()
549 int num_bands; in numberOfBands() local
566 num_bands = 2 * ((LONG)num_bands_div128 >> (FRACT_BITS - 7)); in numberOfBands()
568 return (num_bands); in numberOfBands()
581 UCHAR num_bands) /*!< Desired number of bands */ in CalcBands() argument
587 FIXP_SGL bandfactor = calcFactorPerBand(start, stop, num_bands); in CalcBands()
593 for (i = num_bands - 1; i >= 0; i--) { in CalcBands()
649 UCHAR *v_k_master, UCHAR num_bands, in sbrdecUpdateHiRes() argument
[all …]
/external/libxaac/decoder/drc_src/
Dimpd_drc_process.c190 WORD32 c, g, e, i, num_bands; in impd_filter_banks_process() local
217 num_bands = 1; in impd_filter_banks_process()
221 num_bands = 1; in impd_filter_banks_process()
229 num_bands = str_drc_instruction_str->band_count_of_ch_group[g]; in impd_filter_banks_process()
247 num_bands = 1; in impd_filter_banks_process()
249 switch (num_bands) { in impd_filter_banks_process()
/external/tensorflow/tensorflow/core/ops/
Dlinalg_ops.cc59 DimensionHandle num_bands = c->Dim(lhs, -2); in BandedTriangularSolveShapeFn() local
61 if (c->ValueKnown(num_bands) && c->Value(num_bands) <= 0) { in BandedTriangularSolveShapeFn()
63 c->Value(num_bands)); in BandedTriangularSolveShapeFn()
65 if (c->ValueKnown(num_bands) && c->ValueKnown(m) && in BandedTriangularSolveShapeFn()
66 c->Value(num_bands) > c->Value(m)) { in BandedTriangularSolveShapeFn()
67 return errors::InvalidArgument("Number of bands ", c->Value(num_bands), in BandedTriangularSolveShapeFn()
/external/mesa3d/include/android_stub/system/
Dradio.h143 uint32_t num_bands; /* number of band descriptors */ member
159 uint32_t num_bands; member

12