webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | Static Public Attributes | List of all members
webrtc::ScreenshareLayers Class Reference

#include <screenshare_layers.h>

Inheritance diagram for webrtc::ScreenshareLayers:
webrtc::TemporalLayers webrtc::TemporalLayers

Public Member Functions

 ScreenshareLayers (int num_temporal_layers, uint8_t initial_tl0_pic_idx, Clock *clock)
 
virtual ~ScreenshareLayers ()
 
int EncodeFlags (uint32_t timestamp) override
 
std::vector< uint32_tOnRatesUpdated (int bitrate_kbps, int max_bitrate_kbps, int framerate) override
 
bool UpdateConfiguration (vpx_codec_enc_cfg_t *cfg) override
 
void PopulateCodecSpecific (bool base_layer_sync, CodecSpecificInfoVP8 *vp8_info, uint32_t timestamp) override
 
void FrameEncoded (unsigned int size, uint32_t timestamp, int qp) override
 
int CurrentLayerId () const override
 
 ScreenshareLayers (int num_temporal_layers, uint8_t initial_tl0_pic_idx, Clock *clock)
 
virtual ~ScreenshareLayers ()
 
int EncodeFlags (uint32_t timestamp) override
 
std::vector< uint32_tOnRatesUpdated (int bitrate_kbps, int max_bitrate_kbps, int framerate) override
 
bool UpdateConfiguration (vpx_codec_enc_cfg_t *cfg) override
 
void PopulateCodecSpecific (bool base_layer_sync, CodecSpecificInfoVP8 *vp8_info, uint32_t timestamp) override
 
void FrameEncoded (unsigned int size, uint32_t timestamp, int qp) override
 
int CurrentLayerId () const override
 
- Public Member Functions inherited from webrtc::TemporalLayers
virtual ~TemporalLayers ()
 
virtual ~TemporalLayers ()
 

Static Public Attributes

static const double kMaxTL0FpsReduction = 2.5
 
static const double kAcceptableTargetOvershoot = 2.0
 
static const int kTl0Flags
 
static const int kTl1Flags
 
static const int kTl1SyncFlags
 
static const int kMaxFrameIntervalMs = 2000
 

Constructor & Destructor Documentation

◆ ScreenshareLayers() [1/2]

webrtc::ScreenshareLayers::ScreenshareLayers ( int  num_temporal_layers,
uint8_t  initial_tl0_pic_idx,
Clock clock 
)

◆ ~ScreenshareLayers() [1/2]

webrtc::ScreenshareLayers::~ScreenshareLayers ( )
virtual

◆ ScreenshareLayers() [2/2]

webrtc::ScreenshareLayers::ScreenshareLayers ( int  num_temporal_layers,
uint8_t  initial_tl0_pic_idx,
Clock clock 
)

◆ ~ScreenshareLayers() [2/2]

virtual webrtc::ScreenshareLayers::~ScreenshareLayers ( )
virtual

Member Function Documentation

◆ CurrentLayerId() [1/2]

int webrtc::ScreenshareLayers::CurrentLayerId ( ) const
overridevirtual

◆ CurrentLayerId() [2/2]

int webrtc::ScreenshareLayers::CurrentLayerId ( ) const
overridevirtual

◆ EncodeFlags() [1/2]

int webrtc::ScreenshareLayers::EncodeFlags ( uint32_t  timestamp)
overridevirtual

◆ EncodeFlags() [2/2]

int webrtc::ScreenshareLayers::EncodeFlags ( uint32_t  timestamp)
overridevirtual

◆ FrameEncoded() [1/2]

void webrtc::ScreenshareLayers::FrameEncoded ( unsigned int  size,
uint32_t  timestamp,
int  qp 
)
overridevirtual

◆ FrameEncoded() [2/2]

void webrtc::ScreenshareLayers::FrameEncoded ( unsigned int  size,
uint32_t  timestamp,
int  qp 
)
overridevirtual

◆ OnRatesUpdated() [1/2]

std::vector<uint32_t> webrtc::ScreenshareLayers::OnRatesUpdated ( int  bitrate_kbps,
int  max_bitrate_kbps,
int  framerate 
)
overridevirtual

◆ OnRatesUpdated() [2/2]

std::vector< uint32_t > webrtc::ScreenshareLayers::OnRatesUpdated ( int  bitrate_kbps,
int  max_bitrate_kbps,
int  framerate 
)
overridevirtual

◆ PopulateCodecSpecific() [1/2]

void webrtc::ScreenshareLayers::PopulateCodecSpecific ( bool  base_layer_sync,
CodecSpecificInfoVP8 vp8_info,
uint32_t  timestamp 
)
overridevirtual

◆ PopulateCodecSpecific() [2/2]

void webrtc::ScreenshareLayers::PopulateCodecSpecific ( bool  base_layer_sync,
CodecSpecificInfoVP8 vp8_info,
uint32_t  timestamp 
)
overridevirtual

◆ UpdateConfiguration() [1/2]

bool webrtc::ScreenshareLayers::UpdateConfiguration ( vpx_codec_enc_cfg_t cfg)
overridevirtual

◆ UpdateConfiguration() [2/2]

bool webrtc::ScreenshareLayers::UpdateConfiguration ( vpx_codec_enc_cfg_t cfg)
overridevirtual

Member Data Documentation

◆ kAcceptableTargetOvershoot

static const double webrtc::ScreenshareLayers::kAcceptableTargetOvershoot = 2.0
static

◆ kMaxFrameIntervalMs

static const int webrtc::ScreenshareLayers::kMaxFrameIntervalMs = 2000
static

◆ kMaxTL0FpsReduction

static const double webrtc::ScreenshareLayers::kMaxTL0FpsReduction = 2.5
static

◆ kTl0Flags

static const int webrtc::ScreenshareLayers::kTl0Flags
static
Initial value:
=
VP8_EFLAG_NO_UPD_GF | VP8_EFLAG_NO_UPD_ARF | VP8_EFLAG_NO_REF_GF |
VP8_EFLAG_NO_REF_ARF

◆ kTl1Flags

static const int webrtc::ScreenshareLayers::kTl1Flags
static
Initial value:
=
VP8_EFLAG_NO_REF_ARF | VP8_EFLAG_NO_UPD_ARF | VP8_EFLAG_NO_UPD_LAST

◆ kTl1SyncFlags

static const int webrtc::ScreenshareLayers::kTl1SyncFlags
static
Initial value:
=
VP8_EFLAG_NO_REF_ARF | VP8_EFLAG_NO_REF_GF | VP8_EFLAG_NO_UPD_ARF |
VP8_EFLAG_NO_UPD_LAST

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