/external/webrtc/modules/audio_processing/ |
D | splitting_filter.cc | 41 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 …]
|
D | three_band_filter_bank.cc | 153 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() 257 RTC_DCHECK_EQ(in[band].size(), kSplitBandSize); in Synthesis()
|
/external/webrtc/modules/audio_processing/agc2/rnn_vad/ |
D | rnn_gru.cc | 63 RTC_DCHECK_EQ(input.size(), input_size); in ComputeUpdateResetGate() 64 RTC_DCHECK_EQ(state.size(), output_size); in ComputeUpdateResetGate() 65 RTC_DCHECK_EQ(bias.size(), output_size); in ComputeUpdateResetGate() 66 RTC_DCHECK_EQ(weights.size(), input_size * output_size); in ComputeUpdateResetGate() 67 RTC_DCHECK_EQ(recurrent_weights.size(), output_size * output_size); in ComputeUpdateResetGate() 100 RTC_DCHECK_EQ(input.size(), input_size); in ComputeStateGate() 103 RTC_DCHECK_EQ(bias.size(), output_size); in ComputeStateGate() 104 RTC_DCHECK_EQ(weights.size(), input_size * output_size); in ComputeStateGate() 105 RTC_DCHECK_EQ(recurrent_weights.size(), output_size * output_size); in ComputeStateGate() 106 RTC_DCHECK_EQ(state.size(), output_size); in ComputeStateGate() [all …]
|
D | spectral_features_internal.cc | 104 RTC_DCHECK_EQ(x.size(), kFrameSize20ms24kHz); in ComputeCrossCorrelation() 105 RTC_DCHECK_EQ(x.size(), y.size()); in ComputeCrossCorrelation() 106 RTC_DCHECK_EQ(x[1], 0.f) << "The Nyquist coefficient must be zeroed."; in ComputeCrossCorrelation() 107 RTC_DCHECK_EQ(y[1], 0.f) << "The Nyquist coefficient must be zeroed."; in ComputeCrossCorrelation() 122 RTC_DCHECK_EQ(k, kFrameSize20ms24kHz / 2); // Nyquist coefficient never used. in ComputeCrossCorrelation()
|
D | pitch_search.cc | 33 RTC_DCHECK_EQ(pitch_buffer_12kHz_.size(), pitch_buffer_12kHz_view.size()); in Estimate() 36 RTC_DCHECK_EQ(auto_correlation_12kHz_.size(), in Estimate() 56 RTC_DCHECK_EQ(y_energy_24kHz_.size(), y_energy_24kHz_view.size()); in Estimate()
|
/external/webrtc/modules/audio_processing/aec3/ |
D | frame_blocker.cc | 38 RTC_DCHECK_EQ(num_bands_, block->NumBands()); in InsertSubFrameAndExtractBlock() 39 RTC_DCHECK_EQ(num_bands_, sub_frame.size()); in InsertSubFrameAndExtractBlock() 41 RTC_DCHECK_EQ(num_channels_, block->NumChannels()); in InsertSubFrameAndExtractBlock() 42 RTC_DCHECK_EQ(num_channels_, sub_frame[band].size()); in InsertSubFrameAndExtractBlock() 45 RTC_DCHECK_EQ(kSubFrameLength, sub_frame[band][channel].size()); in InsertSubFrameAndExtractBlock() 67 RTC_DCHECK_EQ(num_bands_, block->NumBands()); in ExtractBlock() 68 RTC_DCHECK_EQ(num_channels_, block->NumChannels()); in ExtractBlock() 72 RTC_DCHECK_EQ(kBlockSize, buffer_[band][channel].size()); in ExtractBlock()
|
D | block_framer.cc | 38 RTC_DCHECK_EQ(num_bands_, block.NumBands()); in InsertBlock() 39 RTC_DCHECK_EQ(num_channels_, block.NumChannels()); in InsertBlock() 42 RTC_DCHECK_EQ(0, buffer_[band][channel].size()); in InsertBlock() 55 RTC_DCHECK_EQ(num_bands_, block.NumBands()); in InsertBlockAndExtractSubFrame() 56 RTC_DCHECK_EQ(num_channels_, block.NumChannels()); in InsertBlockAndExtractSubFrame() 57 RTC_DCHECK_EQ(num_bands_, sub_frame->size()); in InsertBlockAndExtractSubFrame() 59 RTC_DCHECK_EQ(num_channels_, (*sub_frame)[0].size()); in InsertBlockAndExtractSubFrame() 64 RTC_DCHECK_EQ(kSubFrameLength, (*sub_frame)[band][channel].size()); in InsertBlockAndExtractSubFrame()
|
D | block_delay_buffer.cc | 30 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() 47 RTC_DCHECK_EQ(delay_, buf_[ch][band].size()); in DelaySignal()
|
D | render_buffer.cc | 30 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()
|
D | downsampled_render_buffer.h | 28 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()
|
D | fft_buffer.h | 30 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()
|
D | block_buffer.h | 30 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() 40 RTC_DCHECK_EQ(buffer.size(), static_cast<size_t>(size)); in OffsetIndex()
|
D | spectrum_buffer.h | 31 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()
|
/external/webrtc/modules/audio_coding/acm2/ |
D | acm_remixing.cc | 18 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/ |
D | audio_transport_impl.cc | 60 RTC_DCHECK_EQ(0, error) << "ProcessStream() error: " << error; in ProcessCaptureFrame() 143 RTC_DCHECK_EQ(2 * number_of_channels, bytes_per_sample); in RecordedDataIsAvailable() 146 RTC_DCHECK_EQ(number_of_frames * 100, sample_rate); in RecordedDataIsAvailable() 210 RTC_DCHECK_EQ(sizeof(int16_t) * nChannels, nBytesPerSample); in NeedMorePlayData() 218 RTC_DCHECK_EQ(nSamples * 100, samplesPerSec); in NeedMorePlayData() 229 RTC_DCHECK_EQ(error, AudioProcessing::kNoError); in NeedMorePlayData() 234 RTC_DCHECK_EQ(nSamplesOut, nChannels * nSamples); in NeedMorePlayData() 249 RTC_DCHECK_EQ(bits_per_sample, 16); in PullRenderData() 254 RTC_DCHECK_EQ(number_of_frames * 100, sample_rate); in PullRenderData() 265 RTC_DCHECK_EQ(output_samples, number_of_channels * number_of_frames); in PullRenderData()
|
/external/webrtc/modules/audio_processing/utility/ |
D | pffft_wrapper.cc | 97 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/api/video_codecs/ |
D | video_codec.cc | 76 RTC_DCHECK_EQ(codecType, kVideoCodecVP8); in VP8() 81 RTC_DCHECK_EQ(codecType, kVideoCodecVP8); in VP8() 86 RTC_DCHECK_EQ(codecType, kVideoCodecVP9); in VP9() 91 RTC_DCHECK_EQ(codecType, kVideoCodecVP9); in VP9() 96 RTC_DCHECK_EQ(codecType, kVideoCodecH264); in H264() 101 RTC_DCHECK_EQ(codecType, kVideoCodecH264); in H264()
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | rtp_header_extensions.cc | 56 RTC_DCHECK_EQ(data.size(), 3); in Write() 131 RTC_DCHECK_EQ(data.size(), ValueSize(extension)); in Write() 182 RTC_DCHECK_EQ(data.size(), 1); in Write() 269 RTC_DCHECK_EQ(data.size(), 3); in Write() 295 RTC_DCHECK_EQ(data.size(), ValueSize(transport_sequence_number)); in Write() 353 RTC_DCHECK_EQ(data.size(), in Write() 393 RTC_DCHECK_EQ(data.size(), 1); in Write() 407 RTC_DCHECK_EQ(data.size(), 1); in Write() 437 RTC_DCHECK_EQ(data.size(), 3); in Write() 473 RTC_DCHECK_EQ(data.size(), 1); in Write() [all …]
|
D | rtp_dependency_descriptor_writer.cc | 253 RTC_DCHECK_EQ(templates[0].spatial_id, 0); in WriteTemplateLayers() 254 RTC_DCHECK_EQ(templates[0].temporal_id, 0); in WriteTemplateLayers() 267 RTC_DCHECK_EQ(current_template.decode_target_indications.size(), in WriteTemplateDtis() 296 RTC_DCHECK_EQ(structure_.decode_target_protected_by_chain.size(), in WriteTemplateChains() 304 RTC_DCHECK_EQ(frame_template.chain_diffs.size(), structure_.num_chains); in WriteTemplateChains() 315 RTC_DCHECK_EQ(structure_.resolutions.size(), max_spatial_id + 1); in WriteResolutions() 361 RTC_DCHECK_EQ(descriptor_.frame_dependencies.decode_target_indications.size(), in WriteFrameDtis() 385 RTC_DCHECK_EQ(descriptor_.frame_dependencies.chain_diffs.size(), in WriteFrameChains()
|
/external/webrtc/modules/audio_processing/aecm/ |
D | aecm_core_neon.cc | 112 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/ |
D | loss_notification_unittest.cc | 103 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/video_coding/codecs/multiplex/ |
D | multiplex_encoded_image_packer.cc | 40 RTC_DCHECK_EQ(offset, kMultiplexImageHeaderSize); in PackHeader() 65 RTC_DCHECK_EQ(offset, kMultiplexImageHeaderSize); in UnpackHeader() 95 RTC_DCHECK_EQ(offset, kMultiplexImageComponentHeaderSize); in PackFrameHeader() 129 RTC_DCHECK_EQ(offset, kMultiplexImageComponentHeaderSize); in UnpackFrameHeader() 197 RTC_DCHECK_EQ(header.first_component_header_offset, in PackAndRelease() 204 RTC_DCHECK_EQ(relative_offset, kMultiplexImageComponentHeaderSize); in PackAndRelease() 207 RTC_DCHECK_EQ(header_offset, in PackAndRelease()
|
D | multiplex_decoder_adapter.cc | 63 RTC_DCHECK_EQ(kAXXStream, stream_idx); in DecodedImageData() 108 RTC_DCHECK_EQ(settings.codec_type(), kVideoCodecMultiplex); in Configure() 195 RTC_DCHECK_EQ(kAXXStream, other_image_data.stream_idx_); in Decoded() 201 RTC_DCHECK_EQ(kYUVStream, other_image_data.stream_idx_); in Decoded() 202 RTC_DCHECK_EQ(kAXXStream, stream_idx); in Decoded() 240 RTC_DCHECK_EQ(yuv_buffer->width(), alpha_buffer->width()); in MergeAlphaImages() 241 RTC_DCHECK_EQ(yuv_buffer->height(), alpha_buffer->height()); in MergeAlphaImages()
|
/external/webrtc/pc/test/ |
D | fake_rtc_certificate_generator.h | 147 RTC_DCHECK_EQ(key_params.rsa_params().mod_size, 1024); in GenerateCertificateAsync() 148 RTC_DCHECK_EQ(key_params.rsa_params().pub_exp, 0x10001); in GenerateCertificateAsync() 150 RTC_DCHECK_EQ(key_params.type(), rtc::KT_ECDSA); in GenerateCertificateAsync() 151 RTC_DCHECK_EQ(key_params.ec_curve(), rtc::EC_NIST_P256); in GenerateCertificateAsync()
|
/external/webrtc/modules/audio_mixer/ |
D | gain_change_calculator.cc | 29 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()
|