Home
last modified time | relevance | path

Searched refs:packetLoss (Results 1 – 1 of 1) sorted by relevance

/external/webrtc/modules/video_coding/
Dmedia_opt_util.cc290 uint8_t packetLoss = rtc::saturated_cast<uint8_t>(255 * parameters->lossPr); in ProtectionFactor() local
291 if (packetLoss == 0) { in ProtectionFactor()
346 if (packetLoss >= kPacketLossMax) { in ProtectionFactor()
347 packetLoss = kPacketLossMax - 1; in ProtectionFactor()
349 uint16_t indexTable = rateIndexTable * kPacketLossMax + packetLoss; in ProtectionFactor()
357 if (packetLoss > lossThr && avgTotPackets > packetNumThr) { in ProtectionFactor()
382 uint16_t indexTableKey = rateIndexTable * kPacketLossMax + packetLoss; in ProtectionFactor()
401 VCM_MAX(packetLoss, VCM_MAX(boostKeyProt, codeRateKey))); in ProtectionFactor()