Home
last modified time | relevance | path

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

12345

/external/webrtc/rtc_base/
Dchecks_unittest.cc18 RTC_CHECK_EQ(i, 0) << "Previous check passed, but i was incremented!"; in TEST()
32 EXPECT_DEATH(RTC_CHECK_EQ(a, b) << 1 << 2u, in TEST()
38 RTC_CHECK_EQ(5, 5); in TEST()
56 EXPECT_DEATH(RTC_CHECK_EQ(a, b) << 1 << 2u, in TEST()
62 RTC_CHECK_EQ(5, 5); in TEST()
/external/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_multi_channel_opus_impl.cc150 RTC_CHECK_EQ(0, WebRtcOpus_EncoderFree(inst_)); in ~AudioEncoderMultiChannelOpusImpl()
182 RTC_CHECK_EQ(0, WebRtcOpus_EncoderFree(inst_)); in RecreateEncoderInstance()
185 RTC_CHECK_EQ( in RecreateEncoderInstance()
195 RTC_CHECK_EQ(0, WebRtcOpus_SetBitRate(inst_, bitrate)); in RecreateEncoderInstance()
198 RTC_CHECK_EQ(0, WebRtcOpus_EnableFec(inst_)); in RecreateEncoderInstance()
201 RTC_CHECK_EQ(0, WebRtcOpus_DisableFec(inst_)); in RecreateEncoderInstance()
204 RTC_CHECK_EQ( in RecreateEncoderInstance()
210 RTC_CHECK_EQ( in RecreateEncoderInstance()
216 RTC_CHECK_EQ(0, WebRtcOpus_EnableDtx(inst_)); in RecreateEncoderInstance()
219 RTC_CHECK_EQ(0, WebRtcOpus_DisableDtx(inst_)); in RecreateEncoderInstance()
[all …]
Daudio_encoder_opus.cc386 RTC_CHECK_EQ(0, WebRtcOpus_EncoderFree(inst_)); in ~AudioEncoderOpusImpl()
419 RTC_CHECK_EQ(0, WebRtcOpus_EnableFec(inst_)); in SetFec()
421 RTC_CHECK_EQ(0, WebRtcOpus_DisableFec(inst_)); in SetFec()
429 RTC_CHECK_EQ(0, WebRtcOpus_EnableDtx(inst_)); in SetDtx()
431 RTC_CHECK_EQ(0, WebRtcOpus_DisableDtx(inst_)); in SetDtx()
588 RTC_CHECK_EQ(input_buffer_.size(), in EncodeImpl()
613 RTC_CHECK_EQ(0, WebRtcOpus_SetBandwidth(inst_, *bandwidth)); in EncodeImpl()
665 RTC_CHECK_EQ(0, WebRtcOpus_EncoderFree(inst_)); in RecreateEncoderInstance()
668 RTC_CHECK_EQ(0, WebRtcOpus_EncoderCreate( in RecreateEncoderInstance()
676 RTC_CHECK_EQ(0, WebRtcOpus_SetBitRate(inst_, bitrate)); in RecreateEncoderInstance()
[all …]
/external/webrtc/modules/audio_coding/codecs/isac/
Daudio_encoder_isac_t_impl.h54 RTC_CHECK_EQ(0, T::Free(isac_state_)); in ~AudioEncoderIsacT()
195 RTC_CHECK_EQ(0, T::Free(isac_state_)); in RecreateEncoderInstance()
196 RTC_CHECK_EQ(0, T::Create(&isac_state_)); in RecreateEncoderInstance()
197 RTC_CHECK_EQ(0, T::EncoderInit(isac_state_, /*coding_mode=*/1)); in RecreateEncoderInstance()
198 RTC_CHECK_EQ(0, T::SetEncSampRate(isac_state_, config.sample_rate_hz)); in RecreateEncoderInstance()
200 RTC_CHECK_EQ(0, T::Control(isac_state_, bit_rate, config.frame_size_ms)); in RecreateEncoderInstance()
203 RTC_CHECK_EQ( in RecreateEncoderInstance()
206 RTC_CHECK_EQ(0, T::SetMaxRate(isac_state_, config.max_bit_rate)); in RecreateEncoderInstance()
212 RTC_CHECK_EQ(0, T::SetDecSampRate(isac_state_, config.sample_rate_hz)); in RecreateEncoderInstance()
Daudio_decoder_isac_t_impl.h28 RTC_CHECK_EQ(0, T::Create(&isac_state_)); in AudioDecoderIsacT()
30 RTC_CHECK_EQ(0, T::SetDecSampRate(isac_state_, sample_rate_hz_)); in AudioDecoderIsacT()
35 RTC_CHECK_EQ(0, T::Free(isac_state_)); in ~AudioDecoderIsacT()
44 RTC_CHECK_EQ(sample_rate_hz_, sample_rate_hz); in DecodeInternal()
/external/webrtc/test/fuzzers/
Drtp_dependency_descriptor_fuzzer.cc71 RTC_CHECK_EQ(descriptor1.first_packet_in_frame, in FuzzOneInput()
73 RTC_CHECK_EQ(descriptor1.last_packet_in_frame, in FuzzOneInput()
75 RTC_CHECK_EQ(descriptor1.attached_structure != nullptr, in FuzzOneInput()
82 RTC_CHECK_EQ(descriptor1.active_decode_targets_bitmask.value_or(0), in FuzzOneInput()
84 RTC_CHECK_EQ(descriptor1.frame_number, descriptor2.frame_number); in FuzzOneInput()
/external/webrtc/modules/audio_coding/codecs/opus/test/
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()
39 RTC_CHECK_EQ(parent_->cplx_length_, block_length); in ProcessBlock()
89 RTC_CHECK_EQ(0, block_length_ & (block_length_ - 1)); in LappedTransform()
Daudio_ring_buffer.cc37 RTC_CHECK_EQ(written, frames); in Write()
46 RTC_CHECK_EQ(read, frames); in Read()
64 RTC_CHECK_EQ(moved, frames); in MoveReadPositionForward()
72 RTC_CHECK_EQ(moved, frames); in MoveReadPositionBackward()
/external/webrtc/modules/audio_coding/neteq/tools/
Drtp_jitter.cc62 RTC_CHECK_EQ(fwrite(payload_ptr, 4, 1, file), 1); in WritePacket()
68 RTC_CHECK_EQ(fwrite(time, sizeof(uint32_t), 1, file), 1); in WritePacket()
73 RTC_CHECK_EQ( in WritePacket()
103 RTC_CHECK_EQ(fread(file_header, sizeof(file_header), 1, in_file), 1); in RunRtpJitter()
104 RTC_CHECK_EQ(fwrite(file_header, sizeof(file_header), 1, out_file), 1); in RunRtpJitter()
Dresample_input_audio_file.cc24 RTC_CHECK_EQ(samples_to_read * output_rate_hz, samples * file_rate_hz_) in Read()
31 RTC_CHECK_EQ(resampler_.Push(temp_destination.get(), samples_to_read, in Read()
34 RTC_CHECK_EQ(samples, output_length); in Read()
Drtp_encode.cc128 RTC_CHECK_EQ(fwrite(&length, sizeof(uint16_t), 1, out_file_), 1); in SendData()
129 RTC_CHECK_EQ(fwrite(&plen, sizeof(uint16_t), 1, out_file_), 1); in SendData()
130 RTC_CHECK_EQ(fwrite(&offset, sizeof(uint32_t), 1, out_file_), 1); in SendData()
145 RTC_CHECK_EQ( in SendData()
150 RTC_CHECK_EQ( in SendData()
332 RTC_CHECK_EQ(fwrite(file_header, sizeof(file_header), 1, out_file), 1); in RunRtpEncode()
/external/webrtc/modules/audio_coding/codecs/ilbc/
Daudio_encoder_ilbc.cc55 RTC_CHECK_EQ(0, WebRtcIlbcfix_EncoderFree(encoder_)); in ~AudioEncoderIlbcImpl()
122 RTC_CHECK_EQ(0, WebRtcIlbcfix_EncoderFree(encoder_)); in Reset()
123 RTC_CHECK_EQ(0, WebRtcIlbcfix_EncoderCreate(&encoder_)); in Reset()
126 RTC_CHECK_EQ(0, WebRtcIlbcfix_EncoderInit(encoder_, encoder_frame_size_ms)); in Reset()
/external/webrtc/modules/audio_coding/codecs/g722/
Daudio_encoder_g722.cc79 RTC_CHECK_EQ(0, WebRtcG722_EncoderInit(encoders_[i].encoder)); in Reset()
107 RTC_CHECK_EQ(num_10ms_frames_buffered_, num_10ms_frames_per_packet_); in EncodeImpl()
114 RTC_CHECK_EQ(bytes_encoded, samples_per_channel / 2); in EncodeImpl()
145 RTC_CHECK_EQ(0, WebRtcG722_CreateEncoder(&encoder)); in EncoderState()
149 RTC_CHECK_EQ(0, WebRtcG722_FreeEncoder(encoder)); in ~EncoderState()
/external/webrtc/modules/audio_processing/test/
Ddebug_dump_replayer.cc123 RTC_CHECK_EQ(AudioProcessing::kNoError, in OnStreamEvent()
132 RTC_CHECK_EQ(input_config_.num_channels(), in OnStreamEvent()
134 RTC_CHECK_EQ(input_config_.num_frames() * sizeof(float), in OnStreamEvent()
142 RTC_CHECK_EQ(AudioProcessing::kNoError, in OnStreamEvent()
153 RTC_CHECK_EQ(reverse_config_.num_channels(), in OnReverseStreamEvent()
155 RTC_CHECK_EQ(reverse_config_.num_frames() * sizeof(float), in OnReverseStreamEvent()
163 RTC_CHECK_EQ( in OnReverseStreamEvent()
Daec_dump_based_simulator.cc89 RTC_CHECK_EQ(sizeof(fwd_frame_.data[0]) * fwd_frame_.data.size(), in PrepareProcessStreamCall()
100 RTC_CHECK_EQ(in_buf_->num_channels(), in PrepareProcessStreamCall()
105 RTC_CHECK_EQ(in_buf_->num_frames() * sizeof(*in_buf_->channels()[i]), in PrepareProcessStreamCall()
144 RTC_CHECK_EQ(AudioProcessing::kNoError, in PrepareProcessStreamCall()
148 RTC_CHECK_EQ(AudioProcessing::kNoError, in PrepareProcessStreamCall()
187 RTC_CHECK_EQ(sizeof(rev_frame_.data[0]) * rev_frame_.data.size(), in PrepareReverseProcessStreamCall()
197 RTC_CHECK_EQ(reverse_in_buf_->num_channels(), in PrepareReverseProcessStreamCall()
202 RTC_CHECK_EQ(reverse_in_buf_->num_frames() * in PrepareReverseProcessStreamCall()
218 RTC_CHECK_EQ(1, artificial_nearend_file->num_channels()) in Process()
/external/webrtc/modules/audio_mixer/
Daudio_mixer_test.cc61 RTC_CHECK_EQ(target_rate_hz, sample_rate_hz_); in GetAudioFrameWithInfo()
141 RTC_CHECK_EQ(sample_rate, source.PreferredSampleRate()); in main()
168 RTC_CHECK_EQ(sample_rate / 100, frame.samples_per_channel_); in main()
169 RTC_CHECK_EQ(sample_rate, frame.sample_rate_hz_); in main()
170 RTC_CHECK_EQ(num_channels, frame.num_channels_); in main()
/external/webrtc/api/test/
Dcreate_peer_connection_quality_test_frame_generator.cc36 RTC_CHECK_EQ(screen_share_config.scrolling_params->source_width, in ValidateScreenShareConfig()
38 RTC_CHECK_EQ(screen_share_config.scrolling_params->source_height, in ValidateScreenShareConfig()
41 RTC_CHECK_EQ(video_config.width, kDefaultSlidesWidth); in ValidateScreenShareConfig()
42 RTC_CHECK_EQ(video_config.height, kDefaultSlidesHeight); in ValidateScreenShareConfig()
/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_geometry_aligner.cc72 RTC_CHECK_EQ(reference_frame->width(), test_frame->width()); in CalculateCropRegion()
73 RTC_CHECK_EQ(reference_frame->height(), test_frame->height()); in CalculateCropRegion()
140 RTC_CHECK_EQ(reference_video->number_of_frames(), in AdjustCropping()
142 RTC_CHECK_EQ(reference_video->width(), test_video->width()); in AdjustCropping()
143 RTC_CHECK_EQ(reference_video->height(), test_video->height()); in AdjustCropping()
Dlinear_least_squares.cc35 RTC_CHECK_EQ(a.size(), b.size()); in DotProduct()
111 RTC_CHECK_EQ(n, column.size()); in GaussianElimination()
114 RTC_CHECK_EQ(n, column.size()); in GaussianElimination()
178 RTC_CHECK_EQ(n, column.size()); in AddObservations()
180 RTC_CHECK_EQ(n, column.size()); in AddObservations()
/external/webrtc/modules/video_coding/codecs/test/
Dencoded_video_frame_producer.cc58 RTC_CHECK_EQ(encoder_.RegisterEncodeCompleteCallback(&encoder_callback), in Encode()
70 RTC_CHECK_EQ(encoder_.Encode(frame, &frame_types), WEBRTC_VIDEO_CODEC_OK); in Encode()
73 RTC_CHECK_EQ(encoder_.RegisterEncodeCompleteCallback(nullptr), in Encode()
/external/webrtc/test/pc/e2e/
Dnetwork_quality_metrics_reporter.cc38 RTC_CHECK_EQ(alice_stats.packets_sent, 0); in Start()
39 RTC_CHECK_EQ(alice_stats.PacketsReceived(), 0); in Start()
41 RTC_CHECK_EQ(bob_stats.packets_sent, 0); in Start()
42 RTC_CHECK_EQ(bob_stats.PacketsReceived(), 0); in Start()
/external/webrtc/modules/audio_device/android/
Densure_initialized.cc36 RTC_CHECK_EQ(0, jni->GetJavaVM(&jvm)); in EnsureInitializedOnce()
43 RTC_CHECK_EQ(0, pthread_once(&g_initialize_once, &EnsureInitializedOnce)); in EnsureInitialized()
/external/webrtc/pc/test/
Dandroid_test_initializer.cc46 RTC_CHECK_EQ(0, jni->GetJavaVM(&jvm)); in EnsureInitializedOnce()
56 RTC_CHECK_EQ(0, pthread_once(&g_initialize_once, &EnsureInitializedOnce)); in InitializeAndroidObjects()
/external/webrtc/common_audio/vad/
Dvad.cc51 RTC_CHECK_EQ(WebRtcVad_Init(handle_), 0); in Reset()
52 RTC_CHECK_EQ(WebRtcVad_set_mode(handle_, aggressiveness_), 0); in Reset()
/external/webrtc/test/testsupport/
Divf_video_frame_generator.cc49 RTC_CHECK_EQ(video_decoder_->RegisterDecodeCompleteCallback(&callback_), in IvfVideoFrameGenerator()
51 RTC_CHECK_EQ( in IvfVideoFrameGenerator()
82 RTC_CHECK_EQ(WEBRTC_VIDEO_CODEC_OK, in NextFrame()

12345