Home
last modified time | relevance | path

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

12345678

/external/webrtc/modules/audio_processing/include/
Daudio_frame_view.h47 RTC_DCHECK_LE(0, idx); in channel()
48 RTC_DCHECK_LE(idx, num_channels_); in channel()
53 RTC_DCHECK_LE(0, idx); in channel()
54 RTC_DCHECK_LE(idx, num_channels_); in channel()
/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/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/rtc_base/
Dstring_encode.cc308 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
314 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
320 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
326 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
332 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
338 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
344 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
350 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
357 RTC_DCHECK_LE(len, arraysize(buf)); in ToString()
364 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()
Dbit_buffer.cc22 RTC_DCHECK_LE(bit_count, 8); in LowestBits()
29 RTC_DCHECK_LE(bit_count, 8); in HighestBits()
164 RTC_DCHECK_LE(num_values, uint32_t{1} << 31); in ReadNonSymmetric()
316 RTC_DCHECK_LE(num_values, uint32_t{1} << 31); in WriteNonSymmetric()
333 RTC_DCHECK_LE(num_values, uint32_t{1} << 31); in SizeNonSymmetricBits()
/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Dsymmetric_matrix_buffer.h60 RTC_DCHECK_LE(static_cast<size_t>(0), index); in Push()
74 RTC_DCHECK_LE(0, row); in GetValue()
76 RTC_DCHECK_LE(1, col) << "Not enforcing row < col and row != col."; in GetValue()
79 RTC_DCHECK_LE(0, index); in GetValue()
Dpitch_search_internal.cc29 RTC_DCHECK_LE(lag, kMaxPitch24kHz); in GetInvertedLag()
38 RTC_DCHECK_LE(inv_lag, max_pitch_period); in ComputeAutoCorrelationCoeff()
205 RTC_DCHECK_LE(i, kMaxPitch24kHz + kFrameSize20ms24kHz); in ComputeSlidingFrameSquareEnergies()
206 RTC_DCHECK_LE(i, kMaxPitch24kHz); in ComputeSlidingFrameSquareEnergies()
302 RTC_DCHECK_LE(kMinPitch48kHz, initial_pitch_period_48kHz); in CheckLowerPitchPeriodsAndComputePitchGain()
303 RTC_DCHECK_LE(initial_pitch_period_48kHz, kMaxPitch48kHz); in CheckLowerPitchPeriodsAndComputePitchGain()
325 RTC_DCHECK_LE(0.f, xx * yy); in CheckLowerPitchPeriodsAndComputePitchGain()
390 RTC_DCHECK_LE(0.f, best_pitch.yy); in CheckLowerPitchPeriodsAndComputePitchGain()
Dspectral_features_internal.cc127 RTC_DCHECK_LE(bands_energy.size(), kNumBands); in ComputeSmoothedLogMagnitudeSpectrum()
173 RTC_DCHECK_LE(in.size(), kNumBands); in ComputeDct()
174 RTC_DCHECK_LE(1, out.size()); in ComputeDct()
175 RTC_DCHECK_LE(out.size(), in.size()); in ComputeDct()
/external/webrtc/audio/voip/
Daudio_egress.cc44 RTC_DCHECK_LE(payload_type, 127); in SetEncoder()
69 RTC_DCHECK_LE(audio_frame->num_channels_, 8); in SendAudioData()
137 RTC_DCHECK_LE(rtp_payload_type, 127); in RegisterTelephoneEventType()
146 RTC_DCHECK_LE(dtmf_event, 255); in SendTelephoneEvent()
148 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/modules/audio_processing/agc2/
Dinterpolated_gain_curve.cc181 RTC_DCHECK_LE(0, index); in LookUpGainToApply()
183 RTC_DCHECK_LE(approximation_params_x_[index], input_level); in LookUpGainToApply()
185 RTC_DCHECK_LE(input_level, approximation_params_x_[index + 1]); in LookUpGainToApply()
191 RTC_DCHECK_LE(0.f, gain); in LookUpGainToApply()
/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()
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_dependency_descriptor_writer.cc225 RTC_DCHECK_LE(structure_.num_decode_targets, in WriteTemplateDependencyStructure()
243 RTC_DCHECK_LE(templates.size(), DependencyDescriptor::kMaxTemplates); in WriteTemplateLayers()
250 RTC_DCHECK_LE(next_layer_idc, 3); in WriteTemplateLayers()
281 RTC_DCHECK_LE(structure_.num_chains, structure_.num_decode_targets); in WriteTemplateChains()
309 RTC_DCHECK_LE(resolution.Width(), 1 << 16); in WriteResolutions()
311 RTC_DCHECK_LE(resolution.Height(), 1 << 16); in WriteResolutions()
363 RTC_DCHECK_LE(fdiff, 1 << 12); in WriteFrameFdiffs()
Drtp_header_extensions.cc56 RTC_DCHECK_LE(time_24bits, 0x00FFFFFF); in Write()
219 RTC_DCHECK_LE(rtp_time, 0x00ffffff); in Write()
391 RTC_DCHECK_LE(0, playout_delay.min_ms); in Write()
392 RTC_DCHECK_LE(playout_delay.min_ms, playout_delay.max_ms); in Write()
393 RTC_DCHECK_LE(playout_delay.max_ms, kMaxMs); in Write()
523 RTC_DCHECK_LE(offset, kValueSizeBytes - sizeof(uint16_t)); in Write()
638 RTC_DCHECK_LE(static_cast<uint8_t>(range), 3); in CombineRangeAndChromaSiting()
639 RTC_DCHECK_LE(static_cast<uint8_t>(chroma_siting_horizontal), 3); in CombineRangeAndChromaSiting()
640 RTC_DCHECK_LE(static_cast<uint8_t>(chroma_siting_vertical), 3); in CombineRangeAndChromaSiting()
727 RTC_DCHECK_LE(p.x, 1.0f); in WriteChromaticity()
[all …]
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()
Drtp_sequence_number_map.cc27 RTC_DCHECK_LE(max_entries_, 1 << 15); in RtpSequenceNumberMap()
54 RTC_DCHECK_LE(associations_.size(), max_entries_); in InsertPacket()
87 RTC_DCHECK_LE(packet_count, std::numeric_limits<size_t>::max()); in InsertFrame()
/external/webrtc/audio/
Daudio_transport_impl.cc109 RTC_DCHECK_LE(number_of_channels, 2); in RecordedDataIsAvailable()
114 RTC_DCHECK_LE(bytes_per_sample * number_of_frames * number_of_channels, in RecordedDataIsAvailable()
183 RTC_DCHECK_LE(nChannels, 2); in NeedMorePlayData()
190 RTC_DCHECK_LE(nBytesPerSample * nSamples * nChannels, in NeedMorePlayData()
226 RTC_DCHECK_LE(bits_per_sample / 8 * number_of_frames * number_of_channels, in PullRenderData()
/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/modules/audio_processing/aec3/
Dmatched_filter_lag_aggregator.cc28 RTC_DCHECK_LE(thresholds_.initial, thresholds_.converged); in MatchedFilterLagAggregator()
64 RTC_DCHECK_LE(0, histogram_data_[histogram_data_index_]); in Aggregate()
71 RTC_DCHECK_LE(0, histogram_data_[histogram_data_index_]); in Aggregate()
/external/webrtc/modules/video_coding/
Dvideo_codec_initializer.cc92 RTC_DCHECK_LE(streams.size(), kMaxSimulcastStreams); in VideoEncoderConfigToVideoCodec()
155 RTC_DCHECK_LE(video_codec.VP8()->numberOfTemporalLayers, in VideoEncoderConfigToVideoCodec()
172 RTC_DCHECK_LE(video_codec.VP9()->numberOfTemporalLayers, in VideoEncoderConfigToVideoCodec()
236 RTC_DCHECK_LE(video_codec.VP9()->numberOfSpatialLayers, in VideoEncoderConfigToVideoCodec()
242 RTC_DCHECK_LE(video_codec.VP9()->numberOfTemporalLayers, in VideoEncoderConfigToVideoCodec()
254 RTC_DCHECK_LE(video_codec.H264()->numberOfTemporalLayers, in VideoEncoderConfigToVideoCodec()
/external/webrtc/modules/desktop_capture/linux/
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()
/external/webrtc/logging/rtc_event_log/encoder/
Ddelta_encoding.cc69 RTC_DCHECK_LE(bit_width, 64); in MaxUnsignedValueOfBitWidth()
593 RTC_DCHECK_LE(delta, params_.delta_mask()); in EncodeSignedDelta()
748 RTC_DCHECK_LE(read_buffer, 64 - 1); // See encoding for -1's rationale. in Create()
771 RTC_DCHECK_LE(read_buffer, 1); in Create()
778 RTC_DCHECK_LE(read_buffer, 64 - 1); // See encoding for -1's rationale. in Create()
820 RTC_DCHECK_LE(exists, 1u); in Decode()
902 RTC_DCHECK_LE(base, MaxUnsignedValueOfBitWidth(params_.value_width_bits())); in ApplyDelta()
903 RTC_DCHECK_LE(delta, MaxUnsignedValueOfBitWidth(params_.delta_width_bits())); in ApplyDelta()
911 RTC_DCHECK_LE(base, MaxUnsignedValueOfBitWidth(params_.value_width_bits())); in ApplyUnsignedDelta()
912 RTC_DCHECK_LE(delta, MaxUnsignedValueOfBitWidth(params_.delta_width_bits())); in ApplyUnsignedDelta()
[all …]
/external/webrtc/modules/video_coding/codecs/h264/
Dh264_decoder_impl.cc310 RTC_DCHECK_LE(av_frame_->width, i420_buffer->width()); in Decode()
311 RTC_DCHECK_LE(av_frame_->height, i420_buffer->height()); in Decode()
313 RTC_DCHECK_LE( in Decode()
318 RTC_DCHECK_LE(av_frame_->data[kUPlaneIndex] + in Decode()
323 RTC_DCHECK_LE(av_frame_->data[kVPlaneIndex] + in Decode()

12345678