Home
last modified time | relevance | path

Searched refs:RTC_CHECK_EQ (Results 1 – 25 of 61) sorted by relevance

123

/external/webrtc/webrtc/tools/agc/
Dagc_harness.cc110 RTC_CHECK_EQ(0, base_->Init(nullptr, audioproc)); in SetUp()
123 RTC_CHECK_EQ(0, in SetUp()
125 RTC_CHECK_EQ(0, channel_transport_->SetLocalReceiver(rx_port)); in SetUp()
127 RTC_CHECK_EQ(0, hardware_->SetRecordingDevice(capture_idx_)); in SetUp()
128 RTC_CHECK_EQ(0, hardware_->SetPlayoutDevice(render_idx_)); in SetUp()
133 RTC_CHECK_EQ(0, codec_->GetCodec(i, codec_params)); in SetUp()
140 RTC_CHECK_EQ(0, codec_->SetSendCodec(channel_, codec_params)); in SetUp()
149 RTC_CHECK_EQ(0, base_->DeleteChannel(channel_)); in TearDown()
150 RTC_CHECK_EQ(0, base_->Terminate()); in TearDown()
161 RTC_CHECK_EQ(0, hardware_->GetNumOfRecordingDevices(num_devices)); in PrintDevices()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus.cc100 RTC_CHECK_EQ(0, WebRtcOpus_EncoderFree(inst_)); in ~AudioEncoderOpus()
146 RTC_CHECK_EQ(input_buffer_.size(), in EncodeInternal()
202 RTC_CHECK_EQ( in SetProjectedPacketLossRate()
212 RTC_CHECK_EQ(0, WebRtcOpus_SetBitRate(inst_, config_.bitrate_bps)); in SetTargetBitrate()
230 RTC_CHECK_EQ(0, WebRtcOpus_EncoderFree(inst_)); in RecreateEncoderInstance()
233 RTC_CHECK_EQ(0, WebRtcOpus_EncoderCreate(&inst_, config.num_channels, in RecreateEncoderInstance()
235 RTC_CHECK_EQ(0, WebRtcOpus_SetBitRate(inst_, config.bitrate_bps)); in RecreateEncoderInstance()
237 RTC_CHECK_EQ(0, WebRtcOpus_EnableFec(inst_)); in RecreateEncoderInstance()
239 RTC_CHECK_EQ(0, WebRtcOpus_DisableFec(inst_)); in RecreateEncoderInstance()
241 RTC_CHECK_EQ( in RecreateEncoderInstance()
[all …]
/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dmatrix.h124 RTC_CHECK_EQ(num_rows_, num_columns_); in Trace()
141 RTC_CHECK_EQ(operand.num_rows_, num_columns_); in Transpose()
142 RTC_CHECK_EQ(operand.num_columns_, num_rows_); in Transpose()
163 RTC_CHECK_EQ(num_rows_, operand.num_rows_); in Add()
164 RTC_CHECK_EQ(num_columns_, operand.num_columns_); in Add()
179 RTC_CHECK_EQ(num_rows_, operand.num_rows_); in Subtract()
180 RTC_CHECK_EQ(num_columns_, operand.num_columns_); in Subtract()
195 RTC_CHECK_EQ(num_rows_, operand.num_rows_); in PointwiseMultiply()
196 RTC_CHECK_EQ(num_columns_, operand.num_columns_); in PointwiseMultiply()
211 RTC_CHECK_EQ(num_rows_, operand.num_rows_); in PointwiseDivide()
[all …]
Dcovariance_matrix_generator.cc30 RTC_CHECK_EQ(1u, x.num_rows()); in Norm()
46 RTC_CHECK_EQ(geometry.size(), mat->num_rows()); in UniformCovarianceMatrix()
47 RTC_CHECK_EQ(geometry.size(), mat->num_columns()); in UniformCovarianceMatrix()
71 RTC_CHECK_EQ(geometry.size(), mat->num_rows()); in AngledCovarianceMatrix()
72 RTC_CHECK_EQ(geometry.size(), mat->num_columns()); in AngledCovarianceMatrix()
97 RTC_CHECK_EQ(1u, mat->num_rows()); in PhaseAlignmentMasks()
98 RTC_CHECK_EQ(geometry.size(), mat->num_columns()); in PhaseAlignmentMasks()
Dnonlinear_beamformer.cc82 RTC_CHECK_EQ(1u, norm_mat.num_rows()); in Norm()
83 RTC_CHECK_EQ(norm_mat.num_columns(), mat.num_rows()); in Norm()
84 RTC_CHECK_EQ(norm_mat.num_columns(), mat.num_columns()); in Norm()
105 RTC_CHECK_EQ(1u, lhs.num_rows()); in ConjugateDotProduct()
106 RTC_CHECK_EQ(1u, rhs.num_rows()); in ConjugateDotProduct()
107 RTC_CHECK_EQ(lhs.num_columns(), rhs.num_columns()); in ConjugateDotProduct()
153 RTC_CHECK_EQ(1u, in.num_rows()); in TransposedConjugatedProduct()
154 RTC_CHECK_EQ(out->num_rows(), in.num_columns()); in TransposedConjugatedProduct()
155 RTC_CHECK_EQ(out->num_columns(), in.num_columns()); in TransposedConjugatedProduct()
415 RTC_CHECK_EQ(kNumFreqBins, num_freq_bins); in ProcessAudioBlock()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/
Daudio_encoder_isac_t_impl.h77 RTC_CHECK_EQ(0, T::Free(isac_state_)); in ~AudioEncoderIsacT()
162 RTC_CHECK_EQ(0, T::Free(isac_state_)); in RecreateEncoderInstance()
163 RTC_CHECK_EQ(0, T::Create(&isac_state_)); in RecreateEncoderInstance()
164 RTC_CHECK_EQ(0, T::EncoderInit(isac_state_, config.adaptive_mode ? 0 : 1)); in RecreateEncoderInstance()
165 RTC_CHECK_EQ(0, T::SetEncSampRate(isac_state_, config.sample_rate_hz)); in RecreateEncoderInstance()
168 RTC_CHECK_EQ(0, T::ControlBwe(isac_state_, bit_rate, config.frame_size_ms, in RecreateEncoderInstance()
171 RTC_CHECK_EQ(0, T::Control(isac_state_, bit_rate, config.frame_size_ms)); in RecreateEncoderInstance()
174 RTC_CHECK_EQ( in RecreateEncoderInstance()
177 RTC_CHECK_EQ(0, T::SetMaxRate(isac_state_, config.max_bit_rate)); in RecreateEncoderInstance()
183 RTC_CHECK_EQ(0, T::SetDecSampRate(isac_state_, config.sample_rate_hz)); in RecreateEncoderInstance()
Daudio_decoder_isac_t_impl.h27 RTC_CHECK_EQ(0, T::Create(&isac_state_)); in AudioDecoderIsacT()
38 RTC_CHECK_EQ(0, T::Free(isac_state_)); in ~AudioDecoderIsacT()
50 RTC_CHECK_EQ(0, T::SetDecSampRate(isac_state_, sample_rate_hz)); in DecodeInternal()
/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_file_processor.cc61 RTC_CHECK_EQ(kNoErr, in ProcessChunk()
130 RTC_CHECK_EQ(kNoErr, ap_->Initialize(config)); in HandleMessage()
135 RTC_CHECK_EQ(in_buf_->num_channels(), in HandleMessage()
139 RTC_CHECK_EQ(in_buf_->num_frames() * sizeof(*in_buf_->channels()[i]), in HandleMessage()
146 RTC_CHECK_EQ(kNoErr, ap_->set_stream_delay_ms(msg.delay())); in HandleMessage()
151 RTC_CHECK_EQ(kNoErr, in HandleMessage()
161 RTC_CHECK_EQ(reverse_buf_->num_channels(), in HandleMessage()
165 RTC_CHECK_EQ(reverse_buf_->num_frames() * sizeof(*in_buf_->channels()[i]), in HandleMessage()
174 RTC_CHECK_EQ(kNoErr, ap_->ProcessReverseStream( in HandleMessage()
Daudioproc_float.cc119 RTC_CHECK_EQ(kNoErr, ap->echo_cancellation()->Enable(FLAGS_aec || FLAGS_all)); in main()
120 RTC_CHECK_EQ(kNoErr, ap->gain_control()->Enable(FLAGS_agc || FLAGS_all)); in main()
121 RTC_CHECK_EQ(kNoErr, ap->high_pass_filter()->Enable(FLAGS_hpf || FLAGS_all)); in main()
122 RTC_CHECK_EQ(kNoErr, ap->noise_suppression()->Enable(FLAGS_ns || FLAGS_all)); in main()
124 RTC_CHECK_EQ(kNoErr, in main()
Dtest_utils.cc40 RTC_CHECK_EQ(file_->num_channels(), buffer->num_channels()); in Read()
57 RTC_CHECK_EQ(file_->num_channels(), buffer.num_channels()); in Write()
149 RTC_CHECK_EQ(result.size(), num_mics) in ParseArrayGeometry()
/external/webrtc/webrtc/common_audio/
Dwav_file.cc59 RTC_CHECK_EQ(kWavFormat, format); in WavReader()
60 RTC_CHECK_EQ(kBytesPerSample, bytes_per_sample); in WavReader()
97 RTC_CHECK_EQ(0, fclose(file_handle_)); in Close()
114 RTC_CHECK_EQ(1u, fwrite(blank_header, kWavHeaderSize, 1, file_handle_)); in WavWriter()
127 RTC_CHECK_EQ(num_samples, written); in WriteSamples()
143 RTC_CHECK_EQ(0, fseek(file_handle_, 0, SEEK_SET)); in Close()
147 RTC_CHECK_EQ(1u, fwrite(header, kWavHeaderSize, 1, file_handle_)); in Close()
148 RTC_CHECK_EQ(0, fclose(file_handle_)); in Close()
Dreal_fourier_openmax.cc32 RTC_CHECK_EQ(r, OMX_Sts_NoErr); in CreateOpenmaxState()
38 RTC_CHECK_EQ(r, OMX_Sts_NoErr); in CreateOpenmaxState()
58 RTC_CHECK_EQ(r, OMX_Sts_NoErr); in Forward()
65 RTC_CHECK_EQ(r, OMX_Sts_NoErr); in Inverse()
Dlapped_transform.cc27 RTC_CHECK_EQ(num_input_channels, parent_->num_in_channels_); in ProcessBlock()
28 RTC_CHECK_EQ(num_output_channels, parent_->num_out_channels_); in ProcessBlock()
29 RTC_CHECK_EQ(parent_->block_length_, num_frames); in ProcessBlock()
40 RTC_CHECK_EQ(parent_->cplx_length_, block_length); in ProcessBlock()
92 RTC_CHECK_EQ(0u, block_length_ & (block_length_ - 1)); in LappedTransform()
Daudio_ring_buffer.cc36 RTC_CHECK_EQ(written, frames); in Write()
45 RTC_CHECK_EQ(read, frames); in Read()
63 RTC_CHECK_EQ(moved, frames); in MoveReadPositionForward()
71 RTC_CHECK_EQ(moved, frames); in MoveReadPositionBackward()
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/
Daudio_encoder_g722.cc116 RTC_CHECK_EQ(num_10ms_frames_buffered_, num_10ms_frames_per_packet_); in EncodeInternal()
123 RTC_CHECK_EQ(encoded, samples_per_channel / 2); in EncodeInternal()
149 RTC_CHECK_EQ(0, WebRtcG722_EncoderInit(encoders_[i].encoder)); in Reset()
153 RTC_CHECK_EQ(0, WebRtcG722_CreateEncoder(&encoder)); in EncoderState()
157 RTC_CHECK_EQ(0, WebRtcG722_FreeEncoder(encoder)); in ~EncoderState()
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Daudio_encoder_ilbc.cc56 RTC_CHECK_EQ(0, WebRtcIlbcfix_EncoderFree(encoder_)); in ~AudioEncoderIlbc()
133 RTC_CHECK_EQ(0, WebRtcIlbcfix_EncoderFree(encoder_)); in Reset()
135 RTC_CHECK_EQ(0, WebRtcIlbcfix_EncoderCreate(&encoder_)); in Reset()
139 RTC_CHECK_EQ(0, WebRtcIlbcfix_EncoderInit(encoder_, encoder_frame_size_ms)); in Reset()
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dresample_input_audio_file.cc23 RTC_CHECK_EQ(samples_to_read * output_rate_hz, samples * file_rate_hz_) in Read()
30 RTC_CHECK_EQ(resampler_.Push(temp_destination.get(), samples_to_read, in Read()
33 RTC_CHECK_EQ(samples, output_length); in Read()
Dinput_audio_file.cc50 RTC_CHECK_EQ(0, fseek(fp_, 0, SEEK_END)); // Move to end of file. in Seek()
59 RTC_CHECK_EQ(0, fseek(fp_, new_pos, SEEK_SET)); in Seek()
/external/webrtc/webrtc/video/
Dvideo_receive_stream.cc211 RTC_CHECK_EQ(0, vie_channel_->SetReceiveTimestampOffsetStatus(true, id)); in VideoReceiveStream()
213 RTC_CHECK_EQ(0, vie_channel_->SetReceiveAbsoluteSendTimeStatus(true, id)); in VideoReceiveStream()
215 RTC_CHECK_EQ(0, vie_channel_->SetReceiveVideoRotationStatus(true, id)); in VideoReceiveStream()
217 RTC_CHECK_EQ(0, in VideoReceiveStream()
232 RTC_CHECK_EQ(0, vie_channel_->SetReceiveCodec(codec)); in VideoReceiveStream()
240 RTC_CHECK_EQ(0, vie_channel_->SetReceiveCodec(codec)); in VideoReceiveStream()
275 RTC_CHECK_EQ(0, vie_channel_->SetReceiveCodec(codec)); in VideoReceiveStream()
/external/webrtc/webrtc/modules/audio_device/android/
Densure_initialized.cc33 RTC_CHECK_EQ(0, jni->GetJavaVM(&jvm)); in EnsureInitializedOnce()
41 RTC_CHECK_EQ(0, pthread_once(&g_initialize_once, &EnsureInitializedOnce)); in EnsureInitialized()
/external/webrtc/talk/app/webrtc/test/
Dandroidtestinitializer.cc58 RTC_CHECK_EQ(0, jni->GetJavaVM(&jvm)); in EnsureInitializedOnce()
71 RTC_CHECK_EQ(0, pthread_once(&g_initialize_once, &EnsureInitializedOnce)); in InitializeAndroidObjects()
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng.cc27 RTC_CHECK_EQ(0, WebRtcCng_CreateEnc(cng_inst.accept())); in CreateCngInst()
28 RTC_CHECK_EQ(0, in CreateCngInst()
106 RTC_CHECK_EQ(speech_buffer_.size(), in EncodeInternal()
253 RTC_CHECK_EQ(info.encoded_bytes, 0u) in EncodeActive()
/external/webrtc/webrtc/common_audio/vad/
Dvad.cc48 RTC_CHECK_EQ(WebRtcVad_Init(handle_), 0); in Reset()
49 RTC_CHECK_EQ(WebRtcVad_set_mode(handle_, aggressiveness_), 0); in Reset()
/external/webrtc/webrtc/system_wrappers/source/
Devent_timer_posix.cc63 RTC_CHECK_EQ(0, pthread_mutex_lock(&mutex_)); in Set()
72 RTC_CHECK_EQ(0, pthread_mutex_lock(&mutex_)); in Wait()
120 RTC_CHECK_EQ(0, pthread_mutex_lock(&mutex_)); in Wait()
/external/webrtc/webrtc/modules/audio_processing/vad/
Dvoice_activity_detector.cc45 RTC_CHECK_EQ( in ProcessChunk()
56 RTC_CHECK_EQ(standalone_vad_->AddAudio(resampled_ptr, length), 0); in ProcessChunk()

123