Home
last modified time | relevance | path

Searched refs:RTC_DCHECK_EQ (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/external/webrtc/modules/audio_processing/
Dsplitting_filter.cc41 RTC_DCHECK_EQ(num_bands_, bands->num_bands()); in Analysis()
42 RTC_DCHECK_EQ(data->num_channels(), bands->num_channels()); in Analysis()
43 RTC_DCHECK_EQ(data->num_frames(), in Analysis()
54 RTC_DCHECK_EQ(num_bands_, bands->num_bands()); in Synthesis()
55 RTC_DCHECK_EQ(data->num_channels(), bands->num_channels()); in Synthesis()
56 RTC_DCHECK_EQ(data->num_frames(), in Synthesis()
67 RTC_DCHECK_EQ(two_bands_states_.size(), data->num_channels()); in TwoBandsAnalysis()
68 RTC_DCHECK_EQ(data->num_frames(), kTwoBandFilterSamplesPerFrame); in TwoBandsAnalysis()
86 RTC_DCHECK_EQ(data->num_frames(), kTwoBandFilterSamplesPerFrame); in TwoBandsSynthesis()
102 RTC_DCHECK_EQ(three_band_filter_banks_.size(), data->num_channels()); in ThreeBandsAnalysis()
[all …]
Dthree_band_filter_bank.cc153 RTC_DCHECK_EQ(state_analysis_.size(), kNumNonZeroFilters); in ThreeBandFilterBank()
154 RTC_DCHECK_EQ(state_synthesis_.size(), kNumNonZeroFilters); in ThreeBandFilterBank()
156 RTC_DCHECK_EQ(state_analysis_[k].size(), kMemorySize); in ThreeBandFilterBank()
157 RTC_DCHECK_EQ(state_synthesis_[k].size(), kMemorySize); in ThreeBandFilterBank()
178 RTC_DCHECK_EQ(out[band].size(), kSplitBandSize); in Analysis()
256 RTC_DCHECK_EQ(in[band].size(), kSplitBandSize); in Synthesis()
/external/webrtc/modules/audio_processing/aec3/
Dblock_framer.cc39 RTC_DCHECK_EQ(num_bands_, block.size()); in InsertBlock()
41 RTC_DCHECK_EQ(num_channels_, block[band].size()); in InsertBlock()
43 RTC_DCHECK_EQ(kBlockSize, block[band][channel].size()); in InsertBlock()
44 RTC_DCHECK_EQ(0, buffer_[band][channel].size()); in InsertBlock()
57 RTC_DCHECK_EQ(num_bands_, block.size()); in InsertBlockAndExtractSubFrame()
58 RTC_DCHECK_EQ(num_bands_, sub_frame->size()); in InsertBlockAndExtractSubFrame()
60 RTC_DCHECK_EQ(num_channels_, block[band].size()); in InsertBlockAndExtractSubFrame()
61 RTC_DCHECK_EQ(num_channels_, (*sub_frame)[0].size()); in InsertBlockAndExtractSubFrame()
65 RTC_DCHECK_EQ(kBlockSize, block[band][channel].size()); in InsertBlockAndExtractSubFrame()
67 RTC_DCHECK_EQ(kSubFrameLength, (*sub_frame)[band][channel].size()); in InsertBlockAndExtractSubFrame()
Dframe_blocker.cc38 RTC_DCHECK_EQ(num_bands_, block->size()); in InsertSubFrameAndExtractBlock()
39 RTC_DCHECK_EQ(num_bands_, sub_frame.size()); in InsertSubFrameAndExtractBlock()
41 RTC_DCHECK_EQ(num_channels_, (*block)[band].size()); in InsertSubFrameAndExtractBlock()
42 RTC_DCHECK_EQ(num_channels_, sub_frame[band].size()); in InsertSubFrameAndExtractBlock()
45 RTC_DCHECK_EQ(kBlockSize, (*block)[band][channel].size()); in InsertSubFrameAndExtractBlock()
46 RTC_DCHECK_EQ(kSubFrameLength, sub_frame[band][channel].size()); in InsertSubFrameAndExtractBlock()
72 RTC_DCHECK_EQ(num_bands_, block->size()); in ExtractBlock()
75 RTC_DCHECK_EQ(num_channels_, (*block)[band].size()); in ExtractBlock()
77 RTC_DCHECK_EQ(kBlockSize, buffer_[band][channel].size()); in ExtractBlock()
78 RTC_DCHECK_EQ(kBlockSize, (*block)[band][channel].size()); in ExtractBlock()
Dblock_delay_buffer.cc30 RTC_DCHECK_EQ(buf_.size(), frame->num_channels()); in DelaySignal()
41 RTC_DCHECK_EQ(buf_[ch].size(), frame->num_bands()); in DelaySignal()
42 RTC_DCHECK_EQ(buf_[ch].size(), num_bands); in DelaySignal()
46 RTC_DCHECK_EQ(delay_, buf_[ch][band].size()); in DelaySignal()
Drender_buffer.cc30 RTC_DCHECK_EQ(block_buffer_->buffer.size(), fft_buffer_->buffer.size()); in RenderBuffer()
31 RTC_DCHECK_EQ(spectrum_buffer_->buffer.size(), fft_buffer_->buffer.size()); in RenderBuffer()
32 RTC_DCHECK_EQ(spectrum_buffer_->read, fft_buffer_->read); in RenderBuffer()
33 RTC_DCHECK_EQ(spectrum_buffer_->write, fft_buffer_->write); in RenderBuffer()
Decho_remover.cc75 RTC_DCHECK_EQ(to.size(), out.size()); in SignalTransition()
81 RTC_DCHECK_EQ(from.size(), to.size()); in SignalTransition()
82 RTC_DCHECK_EQ(from.size(), out.size()); in SignalTransition()
247 RTC_DCHECK_EQ(x.size(), NumBandsForRate(sample_rate_hz_)); in ProcessCapture()
248 RTC_DCHECK_EQ(y->size(), NumBandsForRate(sample_rate_hz_)); in ProcessCapture()
249 RTC_DCHECK_EQ(x[0].size(), num_render_channels_); in ProcessCapture()
250 RTC_DCHECK_EQ((*y)[0].size(), num_capture_channels_); in ProcessCapture()
251 RTC_DCHECK_EQ(x[0][0].size(), kBlockSize); in ProcessCapture()
252 RTC_DCHECK_EQ((*y)[0][0].size(), kBlockSize); in ProcessCapture()
375 RTC_DCHECK_EQ(num_capture_channels_, linear_output[0].size()); in ProcessCapture()
[all …]
Dalignment_mixer.cc68 RTC_DCHECK_EQ(x.size(), num_channels_); in ProduceOutput()
82 RTC_DCHECK_EQ(x.size(), num_channels_); in Downmix()
97 RTC_DCHECK_EQ(x.size(), num_channels_); in SelectChannel()
99 RTC_DCHECK_EQ(cumulative_energies_.size(), num_channels_); in SelectChannel()
115 RTC_DCHECK_EQ(x[ch].size(), kBlockSize); in SelectChannel()
Ddownsampled_render_buffer.h28 RTC_DCHECK_EQ(buffer.size(), static_cast<size_t>(size)); in IncIndex()
33 RTC_DCHECK_EQ(buffer.size(), static_cast<size_t>(size)); in DecIndex()
39 RTC_DCHECK_EQ(buffer.size(), static_cast<size_t>(size)); in OffsetIndex()
Dfft_buffer.h30 RTC_DCHECK_EQ(buffer.size(), static_cast<size_t>(size)); in IncIndex()
35 RTC_DCHECK_EQ(buffer.size(), static_cast<size_t>(size)); in DecIndex()
41 RTC_DCHECK_EQ(buffer.size(), static_cast<size_t>(size)); in OffsetIndex()
Dreverb_model_estimator.cc36 RTC_DCHECK_EQ(num_capture_channels, impulse_responses.size()); in Update()
37 RTC_DCHECK_EQ(num_capture_channels, frequency_responses.size()); in Update()
38 RTC_DCHECK_EQ(num_capture_channels, usable_linear_estimates.size()); in Update()
Dspectrum_buffer.h31 RTC_DCHECK_EQ(buffer.size(), static_cast<size_t>(size)); in IncIndex()
36 RTC_DCHECK_EQ(buffer.size(), static_cast<size_t>(size)); in DecIndex()
42 RTC_DCHECK_EQ(buffer.size(), static_cast<size_t>(size)); in OffsetIndex()
Dblock_buffer.h32 RTC_DCHECK_EQ(buffer.size(), static_cast<size_t>(size)); in IncIndex()
37 RTC_DCHECK_EQ(buffer.size(), static_cast<size_t>(size)); in DecIndex()
42 RTC_DCHECK_EQ(buffer.size(), static_cast<size_t>(size)); in OffsetIndex()
/external/webrtc/modules/audio_coding/acm2/
Dacm_remixing.cc18 RTC_DCHECK_EQ(input.num_channels_, 2); in DownMixFrame()
19 RTC_DCHECK_EQ(output.size(), input.samples_per_channel_); in DownMixFrame()
67 RTC_DCHECK_EQ(out_index, (k + 1) * num_output_channels); in ReMixFrame()
69 RTC_DCHECK_EQ(out_index, input.samples_per_channel_ * num_output_channels); in ReMixFrame()
85 RTC_DCHECK_EQ(in_index, (k + 1) * input.num_channels_); in ReMixFrame()
86 RTC_DCHECK_EQ(out_index, (k + 1) * num_output_channels); in ReMixFrame()
88 RTC_DCHECK_EQ(in_index, input.samples_per_channel_ * input.num_channels_); in ReMixFrame()
89 RTC_DCHECK_EQ(out_index, input.samples_per_channel_ * num_output_channels); in ReMixFrame()
/external/webrtc/audio/
Daudio_transport_impl.cc58 RTC_DCHECK_EQ(0, error) << "ProcessStream() error: " << error; in ProcessCaptureFrame()
110 RTC_DCHECK_EQ(2 * number_of_channels, bytes_per_sample); in RecordedDataIsAvailable()
113 RTC_DCHECK_EQ(number_of_frames * 100, sample_rate); in RecordedDataIsAvailable()
181 RTC_DCHECK_EQ(sizeof(int16_t) * nChannels, nBytesPerSample); in NeedMorePlayData()
189 RTC_DCHECK_EQ(nSamples * 100, samplesPerSec); in NeedMorePlayData()
200 RTC_DCHECK_EQ(error, AudioProcessing::kNoError); in NeedMorePlayData()
205 RTC_DCHECK_EQ(nSamplesOut, nChannels * nSamples); in NeedMorePlayData()
218 RTC_DCHECK_EQ(bits_per_sample, 16); in PullRenderData()
223 RTC_DCHECK_EQ(number_of_frames * 100, sample_rate); in PullRenderData()
234 RTC_DCHECK_EQ(output_samples, number_of_channels * number_of_frames); in PullRenderData()
/external/webrtc/modules/audio_processing/agc2/
Dsignal_classifier.cc48 RTC_DCHECK_EQ(65, spectrum.size()); in PowerSpectrum()
49 RTC_DCHECK_EQ(128, x.size()); in PowerSpectrum()
55 RTC_DCHECK_EQ(X_p, &X[0]); in PowerSpectrum()
58 RTC_DCHECK_EQ(X_p, &X[1]); in PowerSpectrum()
62 RTC_DCHECK_EQ(X_p, &X[2 * k]); in PowerSpectrum()
65 RTC_DCHECK_EQ(X_p, &X[2 * k + 1]); in PowerSpectrum()
111 RTC_DCHECK_EQ(x_old_.size() + x.size(), x_extended.size()); in ExtendFrame()
139 RTC_DCHECK_EQ(signal.size(), sample_rate_hz_ / 100); in Analyze()
/external/webrtc/modules/audio_processing/utility/
Dpffft_wrapper.cc97 RTC_DCHECK_EQ(in.size(), GetBufferSize(fft_size_, fft_type_)); in ForwardTransform()
98 RTC_DCHECK_EQ(in.size(), out->size()); in ForwardTransform()
112 RTC_DCHECK_EQ(in.size(), GetBufferSize(fft_size_, fft_type_)); in BackwardTransform()
113 RTC_DCHECK_EQ(in.size(), out->size()); in BackwardTransform()
128 RTC_DCHECK_EQ(fft_x.size(), GetBufferSize(fft_size_, fft_type_)); in FrequencyDomainConvolve()
129 RTC_DCHECK_EQ(fft_x.size(), fft_y.size()); in FrequencyDomainConvolve()
130 RTC_DCHECK_EQ(fft_x.size(), out->size()); in FrequencyDomainConvolve()
/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Drnn.cc174 RTC_DCHECK_EQ(input_size, input.size()); in ComputeGruLayerOutput()
216 RTC_DCHECK_EQ(input.size(), input_size); in ComputeFullyConnectedLayerOutput()
217 RTC_DCHECK_EQ(bias.size(), output_size); in ComputeFullyConnectedLayerOutput()
218 RTC_DCHECK_EQ(weights.size(), input_size * output_size); in ComputeFullyConnectedLayerOutput()
240 RTC_DCHECK_EQ(input.size(), input_size); in ComputeFullyConnectedLayerOutputSse2()
241 RTC_DCHECK_EQ(bias.size(), output_size); in ComputeFullyConnectedLayerOutputSse2()
242 RTC_DCHECK_EQ(weights.size(), input_size * output_size); in ComputeFullyConnectedLayerOutputSse2()
284 RTC_DCHECK_EQ(output_size_, bias_.size()) in FullyConnectedLayer()
286 RTC_DCHECK_EQ(input_size_ * output_size_, weights_.size()) in FullyConnectedLayer()
335 RTC_DCHECK_EQ(kNumGruGates * output_size_, bias_.size()) in GatedRecurrentLayer()
[all …]
Dspectral_features_internal.cc103 RTC_DCHECK_EQ(x.size(), kFrameSize20ms24kHz); in ComputeCrossCorrelation()
104 RTC_DCHECK_EQ(x.size(), y.size()); in ComputeCrossCorrelation()
105 RTC_DCHECK_EQ(x[1], 0.f) << "The Nyquist coefficient must be zeroed."; in ComputeCrossCorrelation()
106 RTC_DCHECK_EQ(y[1], 0.f) << "The Nyquist coefficient must be zeroed."; in ComputeCrossCorrelation()
121 RTC_DCHECK_EQ(k, kFrameSize20ms24kHz / 2); // Nyquist coefficient never used. in ComputeCrossCorrelation()
/external/webrtc/api/video_codecs/
Dvideo_codec.cc89 RTC_DCHECK_EQ(codecType, kVideoCodecVP8); in VP8()
94 RTC_DCHECK_EQ(codecType, kVideoCodecVP8); in VP8()
99 RTC_DCHECK_EQ(codecType, kVideoCodecVP9); in VP9()
104 RTC_DCHECK_EQ(codecType, kVideoCodecVP9); in VP9()
109 RTC_DCHECK_EQ(codecType, kVideoCodecH264); in H264()
114 RTC_DCHECK_EQ(codecType, kVideoCodecH264); in H264()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_header_extensions.cc55 RTC_DCHECK_EQ(data.size(), 3); in Write()
131 RTC_DCHECK_EQ(data.size(), ValueSize(extension)); in Write()
183 RTC_DCHECK_EQ(data.size(), 1); in Write()
218 RTC_DCHECK_EQ(data.size(), 3); in Write()
245 RTC_DCHECK_EQ(data.size(), ValueSize(transport_sequence_number)); in Write()
304 RTC_DCHECK_EQ(data.size(), in Write()
345 RTC_DCHECK_EQ(data.size(), 1); in Write()
359 RTC_DCHECK_EQ(data.size(), 1); in Write()
390 RTC_DCHECK_EQ(data.size(), 3); in Write()
427 RTC_DCHECK_EQ(data.size(), 1); in Write()
[all …]
/external/webrtc/modules/audio_coding/codecs/red/
Daudio_encoder_copy_red.cc79 RTC_DCHECK_EQ(primary_encoded.size(), info.encoded_bytes); in EncodeImpl()
122 RTC_DCHECK_EQ(header_offset, header_length_bytes - 1); in EncodeImpl()
130 RTC_DCHECK_EQ(info.redundant.size(), 1); in EncodeImpl()
131 RTC_DCHECK_EQ(info.speech, info.redundant[0].speech); in EncodeImpl()
134 RTC_DCHECK_EQ(info.redundant.size(), 2); in EncodeImpl()
138 RTC_DCHECK_EQ(info.redundant.size(), in EncodeImpl()
/external/webrtc/modules/audio_processing/aecm/
Daecm_core_neon.cc112 RTC_DCHECK_EQ(0, (uintptr_t)echo_est % 32); in WebRtcAecm_StoreAdaptiveChannelNeon()
113 RTC_DCHECK_EQ(0, (uintptr_t)aecm->channelStored % 16); in WebRtcAecm_StoreAdaptiveChannelNeon()
114 RTC_DCHECK_EQ(0, (uintptr_t)aecm->channelAdapt16 % 16); in WebRtcAecm_StoreAdaptiveChannelNeon()
169 RTC_DCHECK_EQ(0, (uintptr_t)aecm->channelStored % 16); in WebRtcAecm_ResetAdaptiveChannelNeon()
170 RTC_DCHECK_EQ(0, (uintptr_t)aecm->channelAdapt16 % 16); in WebRtcAecm_ResetAdaptiveChannelNeon()
171 RTC_DCHECK_EQ(0, (uintptr_t)aecm->channelAdapt32 % 32); in WebRtcAecm_ResetAdaptiveChannelNeon()
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dloss_notification_unittest.cc103 RTC_DCHECK_EQ(packet[12], 'L'); in TEST()
104 RTC_DCHECK_EQ(packet[13], 'N'); in TEST()
105 RTC_DCHECK_EQ(packet[14], 'T'); in TEST()
106 RTC_DCHECK_EQ(packet[15], 'F'); in TEST()
/external/webrtc/modules/audio_mixer/
Dgain_change_calculator.cc29 RTC_DCHECK_EQ(in.size(), out.size()); in CalculateGainChange()
43 RTC_DCHECK_EQ(in.size(), out.size()); in CalculateGain()
44 RTC_DCHECK_EQ(in.size(), gain.size()); in CalculateGain()

12345678910>>...13