Home
last modified time | relevance | path

Searched refs:RTC_DCHECK_LE (Results 1 – 25 of 217) sorted by relevance

123456789

/external/webrtc/modules/audio_processing/agc2/
Dagc2_testing_common.cc37 RTC_DCHECK_LE(kMinS16, min_amplitude_); in WhiteNoiseGenerator()
38 RTC_DCHECK_LE(min_amplitude_, kMaxS16); in WhiteNoiseGenerator()
39 RTC_DCHECK_LE(kMinS16, max_amplitude_); in WhiteNoiseGenerator()
40 RTC_DCHECK_LE(max_amplitude_, kMaxS16); in WhiteNoiseGenerator()
55 RTC_DCHECK_LE(amplitude_, kMaxS16); in SineGenerator()
77 RTC_DCHECK_LE(pulse_amplitude_, kMaxS16); in PulseGenerator()
79 RTC_DCHECK_LE(no_pulse_amplitude_, kMaxS16); in PulseGenerator()
Dclipping_predictor.cc36 RTC_DCHECK_LE(input_volume, max_input_volume); in ComputeVolumeUpdate()
142 RTC_DCHECK_LE(level, 255); in EstimateClippedLevelStep()
144 RTC_DCHECK_LE(default_step, 255); in EstimateClippedLevelStep()
146 RTC_DCHECK_LE(min_mic_level, 255); in EstimateClippedLevelStep()
148 RTC_DCHECK_LE(max_mic_level, 255); in EstimateClippedLevelStep()
282 RTC_DCHECK_LE(level, 255); in EstimateClippedLevelStep()
284 RTC_DCHECK_LE(default_step, 255); in EstimateClippedLevelStep()
286 RTC_DCHECK_LE(min_mic_level, 255); in EstimateClippedLevelStep()
288 RTC_DCHECK_LE(max_mic_level, 255); in EstimateClippedLevelStep()
Dinput_volume_controller.cc82 RTC_DCHECK_LE(input_volume, kMaxInputVolume); in ComputeVolumeUpdate()
140 RTC_DCHECK_LE(speech_level_dbfs, kMaxSpeechLevelDbfs); in GetSpeechLevelRmsErrorDb()
170 RTC_DCHECK_LE(min_input_volume_, 255); in MonoInputVolumeController()
172 RTC_DCHECK_LE(min_input_volume_after_clipping_, 255); in MonoInputVolumeController()
174 RTC_DCHECK_LE(max_input_volume_, 255); in MonoInputVolumeController()
177 RTC_DCHECK_LE(speech_probability_threshold_, 1.0f); in MonoInputVolumeController()
179 RTC_DCHECK_LE(speech_ratio_threshold_, 1.0f); in MonoInputVolumeController()
406 RTC_DCHECK_LE(clipped_level_step_, 255); in InputVolumeController()
Dsaturation_protector_buffer.cc24 RTC_DCHECK_LE(size_, buffer_.size()); in operator ==()
25 RTC_DCHECK_LE(b.size_, b.buffer_.size()); in operator ==()
55 RTC_DCHECK_LE(size_, buffer_.size()); in PushBack()
Dinterpolated_gain_curve.cc190 RTC_DCHECK_LE(0, index); in LookUpGainToApply()
192 RTC_DCHECK_LE(approximation_params_x_[index], input_level); in LookUpGainToApply()
194 RTC_DCHECK_LE(input_level, approximation_params_x_[index + 1]); in LookUpGainToApply()
200 RTC_DCHECK_LE(0.f, gain); in LookUpGainToApply()
/external/webrtc/rtc_base/
Dstring_encode.cc205 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
211 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
217 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
223 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
229 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
235 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
241 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
247 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
254 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
261 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
[all …]
Dbounded_inline_vector.h70 RTC_DCHECK_LE(other.size(), fixed_capacity); in BoundedInlineVector()
79 RTC_DCHECK_LE(other.size(), fixed_capacity); in BoundedInlineVector()
90 RTC_DCHECK_LE(other.size(), fixed_capacity);
102 RTC_DCHECK_LE(other.size(), fixed_capacity);
117 RTC_DCHECK_LE(new_size, fixed_capacity); in resize()
/external/webrtc/modules/audio_coding/neteq/
Ddtmf_tone_generator.cc135 RTC_DCHECK_LE(0, fs_index); in Init()
138 RTC_DCHECK_LE(0, event); in Init()
145 RTC_DCHECK_LE(0, attenuation); in Init()
150 RTC_DCHECK_LE(0, fs_index); in Init()
153 RTC_DCHECK_LE(0, event); in Init()
/external/webrtc/modules/audio_processing/include/
Daudio_frame_view.h48 RTC_DCHECK_LE(0, idx); in channel()
49 RTC_DCHECK_LE(idx, num_channels_); in channel()
54 RTC_DCHECK_LE(0, idx); in channel()
55 RTC_DCHECK_LE(idx, num_channels_); in channel()
/external/webrtc/rtc_base/numerics/
Dsample_counter.cc25 RTC_DCHECK_LE(sample, std::numeric_limits<int64_t>::max() - sum_); in Add()
38 RTC_DCHECK_LE(other.sum_, std::numeric_limits<int64_t>::max() - sum_); in Add()
43 RTC_DCHECK_LE(other.num_samples_, in Add()
93 RTC_DCHECK_LE(int64_t{sample} * sample, in Add()
100 RTC_DCHECK_LE(other.sum_squared_, in Add()
/external/webrtc/audio/voip/
Daudio_egress.cc44 RTC_DCHECK_LE(payload_type, 127); in SetEncoder()
74 RTC_DCHECK_LE(audio_frame->num_channels_, 8); in SendAudioData()
148 RTC_DCHECK_LE(rtp_payload_type, 127); in RegisterTelephoneEventType()
157 RTC_DCHECK_LE(dtmf_event, 255); in SendTelephoneEvent()
159 RTC_DCHECK_LE(duration_ms, 65535); in SendTelephoneEvent()
/external/webrtc/modules/audio_processing/
Dsplitting_filter.cc85 RTC_DCHECK_LE(data->num_channels(), two_bands_states_.size()); in TwoBandsSynthesis()
103 RTC_DCHECK_LE(data->num_channels(), three_band_filter_banks_.size()); in ThreeBandsAnalysis()
104 RTC_DCHECK_LE(data->num_channels(), bands->num_channels()); in ThreeBandsAnalysis()
124 RTC_DCHECK_LE(data->num_channels(), three_band_filter_banks_.size()); in ThreeBandsSynthesis()
125 RTC_DCHECK_LE(data->num_channels(), bands->num_channels()); in ThreeBandsSynthesis()
126 RTC_DCHECK_LE(data->num_channels(), three_band_filter_banks_.size()); in ThreeBandsSynthesis()
/external/webrtc/logging/rtc_event_log/events/
Drtc_event_field_extraction.cc44 RTC_DCHECK_LE(bit_width, 64); in MaxUnsignedValueOfBitWidth()
55 RTC_DCHECK_LE(previous, bit_mask); in UnsignedDelta()
56 RTC_DCHECK_LE(current, bit_mask); in UnsignedDelta()
Drtc_event_field_encoding.cc29 RTC_DCHECK_LE(bytes, sizeof(uint64_t)); in SerializeLittleEndian()
126 RTC_DCHECK_LE(delta, params.delta_mask()); in EncodeDeltasV3()
178 RTC_DCHECK_LE(values.size(), batch_size_); in EncodeField()
193 RTC_DCHECK_LE(params.field_id, std::numeric_limits<uint64_t>::max() >> 3); in EncodeField()
246 RTC_DCHECK_LE(params.field_id, std::numeric_limits<uint64_t>::max() >> 3); in EncodeField()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp8.cc40 RTC_DCHECK_LE(hdr_info.pictureId, 0x7FFF); in ValidateHeader()
44 RTC_DCHECK_LE(hdr_info.tl0PicIdx, 0xFF); in ValidateHeader()
48 RTC_DCHECK_LE(hdr_info.temporalIdx, 3); in ValidateHeader()
54 RTC_DCHECK_LE(hdr_info.keyIdx, 0x1F); in ValidateHeader()
Drtp_header_extensions.cc57 RTC_DCHECK_LE(time_24bits, 0x00FFFFFF); in Write()
270 RTC_DCHECK_LE(rtp_time, 0x00ffffff); in Write()
438 RTC_DCHECK_LE(0, playout_delay.min_ms); in Write()
439 RTC_DCHECK_LE(playout_delay.min_ms, playout_delay.max_ms); in Write()
440 RTC_DCHECK_LE(playout_delay.max_ms, kMaxMs); in Write()
568 RTC_DCHECK_LE(offset, kValueSizeBytes - sizeof(uint16_t)); in Write()
682 RTC_DCHECK_LE(static_cast<uint8_t>(range), 3); in CombineRangeAndChromaSiting()
683 RTC_DCHECK_LE(static_cast<uint8_t>(chroma_siting_horizontal), 3); in CombineRangeAndChromaSiting()
684 RTC_DCHECK_LE(static_cast<uint8_t>(chroma_siting_vertical), 3); in CombineRangeAndChromaSiting()
771 RTC_DCHECK_LE(p.x, 1.0f); in WriteChromaticity()
[all …]
Drtp_dependency_descriptor_writer.cc234 RTC_DCHECK_LE(structure_.num_decode_targets, in WriteTemplateDependencyStructure()
252 RTC_DCHECK_LE(templates.size(), DependencyDescriptor::kMaxTemplates); in WriteTemplateLayers()
259 RTC_DCHECK_LE(next_layer_idc, 3); in WriteTemplateLayers()
290 RTC_DCHECK_LE(structure_.num_chains, structure_.num_decode_targets); in WriteTemplateChains()
318 RTC_DCHECK_LE(resolution.Width(), 1 << 16); in WriteResolutions()
320 RTC_DCHECK_LE(resolution.Height(), 1 << 16); in WriteResolutions()
372 RTC_DCHECK_LE(fdiff, 1 << 12); in WriteFrameFdiffs()
Dforward_error_correction_internal.cc155 RTC_DCHECK_LE(num_media_packets, kUlpfecMaxMediaPackets); in LookUp()
156 RTC_DCHECK_LE(num_fec_packets, num_media_packets); in LookUp()
221 RTC_DCHECK_LE(static_cast<size_t>(num_media_packets), kUlpfecMaxMediaPackets); in PickTable()
456 RTC_DCHECK_LE(num_fec_packets, num_media_packets); in GeneratePacketMasks()
457 RTC_DCHECK_LE(num_imp_packets, num_media_packets); in GeneratePacketMasks()
477 RTC_DCHECK_LE(num_sequence_numbers, 8 * kUlpfecPacketMaskSizeLBitSet); in PacketMaskSize()
Drtp_format_vp9.cc98 RTC_DCHECK_LE(hdr.num_ref_pics, kMaxVp9RefPics); in RefIndicesLength()
127 RTC_DCHECK_LE(hdr.num_spatial_layers, kMaxVp9NumberOfSpatialLayers); in SsDataLength()
128 RTC_DCHECK_LE(hdr.gof.num_frames_in_gof, kMaxVp9FramesInGof); in SsDataLength()
139 RTC_DCHECK_LE(hdr.gof.num_ref_pics[i], kMaxVp9RefPics); in SsDataLength()
252 RTC_DCHECK_LE(vp9.num_spatial_layers, kMaxVp9NumberOfSpatialLayers); in WriteSsData()
253 RTC_DCHECK_LE(vp9.gof.num_frames_in_gof, kMaxVp9FramesInGof); in WriteSsData()
/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Dsymmetric_matrix_buffer.h75 RTC_DCHECK_LE(0, row); in GetValue()
77 RTC_DCHECK_LE(1, col) << "Not enforcing row < col and row != col."; in GetValue()
80 RTC_DCHECK_LE(0, index); in GetValue()
Dspectral_features_internal.cc128 RTC_DCHECK_LE(bands_energy.size(), kNumBands); in ComputeSmoothedLogMagnitudeSpectrum()
174 RTC_DCHECK_LE(in.size(), kNumBands); in ComputeDct()
175 RTC_DCHECK_LE(1, out.size()); in ComputeDct()
176 RTC_DCHECK_LE(out.size(), in.size()); in ComputeDct()
Dpitch_search_internal.cc162 RTC_DCHECK_LE(inverted_lags.min, inverted_lags.max); in ComputeAutoCorrelation()
389 RTC_DCHECK_LE(r1.min, r1.max); in ComputePitchPeriod48kHz()
390 RTC_DCHECK_LE(r2.min, r2.max); in ComputePitchPeriod48kHz()
392 RTC_DCHECK_LE(r1.min, r2.min); in ComputePitchPeriod48kHz()
393 RTC_DCHECK_LE(r1.max, r2.max); in ComputePitchPeriod48kHz()
416 RTC_DCHECK_LE(kMinPitch48kHz, initial_pitch_period_48kHz); in ComputeExtendedPitchPeriod48kHz()
417 RTC_DCHECK_LE(initial_pitch_period_48kHz, kMaxPitch48kHz); in ComputeExtendedPitchPeriod48kHz()
499 RTC_DCHECK_LE(0.f, best_pitch.y_energy); in ComputeExtendedPitchPeriod48kHz()
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtarget_bitrate.cc93 RTC_DCHECK_LE(spatial_layer, 0x0F); in AddTargetBitrate()
94 RTC_DCHECK_LE(temporal_layer, 0x0F); in AddTargetBitrate()
95 RTC_DCHECK_LE(target_bitrate_kbps, 0x00FFFFFFU); in AddTargetBitrate()
/external/webrtc/audio/
Daudio_transport_impl.cc142 RTC_DCHECK_LE(number_of_channels, 2); in RecordedDataIsAvailable()
147 RTC_DCHECK_LE(bytes_per_sample * number_of_frames * number_of_channels, in RecordedDataIsAvailable()
212 RTC_DCHECK_LE(nChannels, 2); in NeedMorePlayData()
219 RTC_DCHECK_LE(nBytesPerSample * nSamples * nChannels, in NeedMorePlayData()
257 RTC_DCHECK_LE(bits_per_sample / 8 * number_of_frames * number_of_channels, in PullRenderData()
/external/webrtc/modules/desktop_capture/linux/x11/
Dx_server_pixel_buffer.cc69 RTC_DCHECK_LE(frame->top_left().x(), rect.left()); in FastBlit()
70 RTC_DCHECK_LE(frame->top_left().y(), rect.top()); in FastBlit()
92 RTC_DCHECK_LE(frame->top_left().x(), rect.left()); in SlowBlit()
93 RTC_DCHECK_LE(frame->top_left().y(), rect.top()); in SlowBlit()
336 RTC_DCHECK_LE(rect.right(), window_rect_.width()); in CaptureRect()
337 RTC_DCHECK_LE(rect.bottom(), window_rect_.height()); in CaptureRect()

123456789