webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
webrtc::media_optimization::VCMLossProtectionLogic Class Reference

#include <media_opt_util.h>

Public Member Functions

 VCMLossProtectionLogic (int64_t nowMs)
 
 ~VCMLossProtectionLogic ()
 
void SetMethod (VCMProtectionMethodEnum newMethodType)
 
void UpdateRtt (int64_t rtt)
 
void UpdateFilteredLossPr (uint8_t packetLossEnc)
 
void UpdateBitRate (float bitRate)
 
void UpdatePacketsPerFrame (float nPackets, int64_t nowMs)
 
void UpdatePacketsPerFrameKey (float nPackets, int64_t nowMs)
 
void UpdateKeyFrameSize (float keyFrameSize)
 
void UpdateFrameRate (float frameRate)
 
void UpdateFrameSize (size_t width, size_t height)
 
void UpdateNumLayers (int numLayers)
 
void UpdateFECRates (uint8_t fecRateKey, uint8_t fecRateDelta)
 
bool UpdateMethod ()
 
VCMProtectionMethodSelectedMethod () const
 
VCMProtectionMethodEnum SelectedType () const
 
uint8_t FilteredLoss (int64_t nowMs, FilterPacketLossMode filter_mode, uint8_t lossPr255)
 
void Reset (int64_t nowMs)
 
void Release ()
 
 VCMLossProtectionLogic (int64_t nowMs)
 
 ~VCMLossProtectionLogic ()
 
void SetMethod (VCMProtectionMethodEnum newMethodType)
 
void UpdateRtt (int64_t rtt)
 
void UpdateFilteredLossPr (uint8_t packetLossEnc)
 
void UpdateBitRate (float bitRate)
 
void UpdatePacketsPerFrame (float nPackets, int64_t nowMs)
 
void UpdatePacketsPerFrameKey (float nPackets, int64_t nowMs)
 
void UpdateKeyFrameSize (float keyFrameSize)
 
void UpdateFrameRate (float frameRate)
 
void UpdateFrameSize (size_t width, size_t height)
 
void UpdateNumLayers (int numLayers)
 
void UpdateFECRates (uint8_t fecRateKey, uint8_t fecRateDelta)
 
bool UpdateMethod ()
 
VCMProtectionMethodSelectedMethod () const
 
VCMProtectionMethodEnum SelectedType () const
 
uint8_t FilteredLoss (int64_t nowMs, FilterPacketLossMode filter_mode, uint8_t lossPr255)
 
void Reset (int64_t nowMs)
 
void Release ()
 

Constructor & Destructor Documentation

◆ VCMLossProtectionLogic() [1/2]

webrtc::media_optimization::VCMLossProtectionLogic::VCMLossProtectionLogic ( int64_t  nowMs)
explicit

◆ ~VCMLossProtectionLogic() [1/2]

webrtc::media_optimization::VCMLossProtectionLogic::~VCMLossProtectionLogic ( )

◆ VCMLossProtectionLogic() [2/2]

webrtc::media_optimization::VCMLossProtectionLogic::VCMLossProtectionLogic ( int64_t  nowMs)
explicit

◆ ~VCMLossProtectionLogic() [2/2]

webrtc::media_optimization::VCMLossProtectionLogic::~VCMLossProtectionLogic ( )

Member Function Documentation

◆ FilteredLoss() [1/2]

uint8_t webrtc::media_optimization::VCMLossProtectionLogic::FilteredLoss ( int64_t  nowMs,
FilterPacketLossMode  filter_mode,
uint8_t  lossPr255 
)

◆ FilteredLoss() [2/2]

uint8_t webrtc::media_optimization::VCMLossProtectionLogic::FilteredLoss ( int64_t  nowMs,
FilterPacketLossMode  filter_mode,
uint8_t  lossPr255 
)

◆ Release() [1/2]

void webrtc::media_optimization::VCMLossProtectionLogic::Release ( )

◆ Release() [2/2]

void webrtc::media_optimization::VCMLossProtectionLogic::Release ( )

◆ Reset() [1/2]

void webrtc::media_optimization::VCMLossProtectionLogic::Reset ( int64_t  nowMs)

◆ Reset() [2/2]

void webrtc::media_optimization::VCMLossProtectionLogic::Reset ( int64_t  nowMs)

◆ SelectedMethod() [1/2]

VCMProtectionMethod * webrtc::media_optimization::VCMLossProtectionLogic::SelectedMethod ( ) const

◆ SelectedMethod() [2/2]

VCMProtectionMethod* webrtc::media_optimization::VCMLossProtectionLogic::SelectedMethod ( ) const

◆ SelectedType() [1/2]

VCMProtectionMethodEnum webrtc::media_optimization::VCMLossProtectionLogic::SelectedType ( ) const

◆ SelectedType() [2/2]

VCMProtectionMethodEnum webrtc::media_optimization::VCMLossProtectionLogic::SelectedType ( ) const

◆ SetMethod() [1/2]

void webrtc::media_optimization::VCMLossProtectionLogic::SetMethod ( VCMProtectionMethodEnum  newMethodType)

◆ SetMethod() [2/2]

void webrtc::media_optimization::VCMLossProtectionLogic::SetMethod ( VCMProtectionMethodEnum  newMethodType)

◆ UpdateBitRate() [1/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdateBitRate ( float  bitRate)

◆ UpdateBitRate() [2/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdateBitRate ( float  bitRate)

◆ UpdateFECRates() [1/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdateFECRates ( uint8_t  fecRateKey,
uint8_t  fecRateDelta 
)
inline

◆ UpdateFECRates() [2/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdateFECRates ( uint8_t  fecRateKey,
uint8_t  fecRateDelta 
)
inline

◆ UpdateFilteredLossPr() [1/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdateFilteredLossPr ( uint8_t  packetLossEnc)

◆ UpdateFilteredLossPr() [2/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdateFilteredLossPr ( uint8_t  packetLossEnc)

◆ UpdateFrameRate() [1/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdateFrameRate ( float  frameRate)
inline

◆ UpdateFrameRate() [2/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdateFrameRate ( float  frameRate)
inline

◆ UpdateFrameSize() [1/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdateFrameSize ( size_t  width,
size_t  height 
)

◆ UpdateFrameSize() [2/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdateFrameSize ( size_t  width,
size_t  height 
)

◆ UpdateKeyFrameSize() [1/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdateKeyFrameSize ( float  keyFrameSize)

◆ UpdateKeyFrameSize() [2/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdateKeyFrameSize ( float  keyFrameSize)

◆ UpdateMethod() [1/2]

bool webrtc::media_optimization::VCMLossProtectionLogic::UpdateMethod ( )

◆ UpdateMethod() [2/2]

bool webrtc::media_optimization::VCMLossProtectionLogic::UpdateMethod ( )

◆ UpdateNumLayers() [1/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdateNumLayers ( int  numLayers)

◆ UpdateNumLayers() [2/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdateNumLayers ( int  numLayers)

◆ UpdatePacketsPerFrame() [1/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdatePacketsPerFrame ( float  nPackets,
int64_t  nowMs 
)

◆ UpdatePacketsPerFrame() [2/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdatePacketsPerFrame ( float  nPackets,
int64_t  nowMs 
)

◆ UpdatePacketsPerFrameKey() [1/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdatePacketsPerFrameKey ( float  nPackets,
int64_t  nowMs 
)

◆ UpdatePacketsPerFrameKey() [2/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdatePacketsPerFrameKey ( float  nPackets,
int64_t  nowMs 
)

◆ UpdateRtt() [1/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdateRtt ( int64_t  rtt)

◆ UpdateRtt() [2/2]

void webrtc::media_optimization::VCMLossProtectionLogic::UpdateRtt ( int64_t  rtt)

The documentation for this class was generated from the following files: