Lines Matching full:datasize
115 transport_overhead_per_packet_(DataSize::Zero()), in PacingController()
120 media_debt_(DataSize::Zero()), in PacingController()
121 padding_debt_(DataSize::Zero()), in PacingController()
131 congestion_window_size_(DataSize::PlusInfinity()), in PacingController()
132 outstanding_data_(DataSize::Zero()), in PacingController()
171 void PacingController::SetCongestionWindow(DataSize congestion_window_size) { in SetCongestionWindow()
180 void PacingController::UpdateOutstandingData(DataSize outstanding_data) { in UpdateOutstandingData()
250 void PacingController::SetTransportOverhead(DataSize overhead_per_packet) { in SetTransportOverhead()
268 DataSize PacingController::QueueSizeData() const { in QueueSizeData()
272 DataSize PacingController::CurrentBufferLevel() const { in CurrentBufferLevel()
292 prober_.OnIncomingPacket(DataSize::Bytes(packet->payload_size())); in EnqueuePacketInternal()
437 DataSize keepalive_data_sent = DataSize::Zero(); in ProcessPackets()
439 packet_sender_->GeneratePadding(DataSize::Bytes(1)); in ProcessPackets()
442 DataSize::Bytes(packet->payload_size() + packet->padding_size()); in ProcessPackets()
458 DataSize queue_size_data = packet_queue_.Size(); in ProcessPackets()
459 if (queue_size_data > DataSize::Zero()) { in ProcessPackets()
490 DataSize recommended_probe_size = DataSize::Zero(); in ProcessPackets()
499 RTC_DCHECK_GT(recommended_probe_size, DataSize::Zero()); in ProcessPackets()
506 DataSize data_sent = DataSize::Zero(); in ProcessPackets()
514 auto padding = packet_sender_->GeneratePadding(DataSize::Bytes(1)); in ProcessPackets()
544 DataSize padding_to_add = PaddingToAdd(recommended_probe_size, data_sent); in ProcessPackets()
545 if (padding_to_add > DataSize::Zero()) { in ProcessPackets()
566 DataSize packet_size = DataSize::Bytes(rtp_packet->payload_size() + in ProcessPackets()
570 packet_size += DataSize::Bytes(rtp_packet->headers_size()) + in ProcessPackets()
604 probing_send_failure_ = data_sent == DataSize::Zero(); in ProcessPackets()
611 DataSize PacingController::PaddingToAdd(DataSize recommended_probe_size, in PaddingToAdd()
612 DataSize data_sent) const { in PaddingToAdd()
615 return DataSize::Zero(); in PaddingToAdd()
620 return DataSize::Zero(); in PaddingToAdd()
626 return DataSize::Zero(); in PaddingToAdd()
633 return DataSize::Zero(); in PaddingToAdd()
637 return DataSize::Bytes(padding_budget_.bytes_remaining()); in PaddingToAdd()
639 padding_debt_ == DataSize::Zero()) { in PaddingToAdd()
642 return DataSize::Zero(); in PaddingToAdd()
688 DataSize packet_size, in OnPacketSent()
702 void PacingController::OnPaddingSent(DataSize data_sent) { in OnPaddingSent()
703 if (data_sent > DataSize::Zero()) { in OnPaddingSent()
721 void PacingController::UpdateBudgetWithSentData(DataSize size) { in UpdateBudgetWithSentData()