webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
webrtc::SimulcastRateAllocatorTest Class Reference
Inheritance diagram for webrtc::SimulcastRateAllocatorTest:
webrtc::ScreenshareRateAllocationTest

Public Member Functions

 SimulcastRateAllocatorTest ()
 
virtual ~SimulcastRateAllocatorTest ()
 
template<size_t S>
void ExpectEqual (uint32_t(&expected)[S], const std::vector< uint32_t > &actual)
 
template<size_t S>
void ExpectEqual (uint32_t(&expected)[S], const BitrateAllocation &actual)
 
void CreateAllocator ()
 
virtual std::unique_ptr< TemporalLayersFactoryGetTlFactory ()
 
BitrateAllocation GetAllocation (uint32_t target_bitrate)
 

Protected Attributes

VideoCodec codec_
 
std::unique_ptr< SimulcastRateAllocatorallocator_
 
std::vector< std::unique_ptr< TemporalLayers > > tl_factories_
 

Static Protected Attributes

static const int kDefaultFrameRate = 30
 

Constructor & Destructor Documentation

◆ SimulcastRateAllocatorTest()

webrtc::SimulcastRateAllocatorTest::SimulcastRateAllocatorTest ( )
inline

◆ ~SimulcastRateAllocatorTest()

virtual webrtc::SimulcastRateAllocatorTest::~SimulcastRateAllocatorTest ( )
inlinevirtual

Member Function Documentation

◆ CreateAllocator()

void webrtc::SimulcastRateAllocatorTest::CreateAllocator ( )
inline

◆ ExpectEqual() [1/2]

template<size_t S>
void webrtc::SimulcastRateAllocatorTest::ExpectEqual ( uint32_t(&)  expected[S],
const std::vector< uint32_t > &  actual 
)
inline

◆ ExpectEqual() [2/2]

template<size_t S>
void webrtc::SimulcastRateAllocatorTest::ExpectEqual ( uint32_t(&)  expected[S],
const BitrateAllocation actual 
)
inline

◆ GetAllocation()

BitrateAllocation webrtc::SimulcastRateAllocatorTest::GetAllocation ( uint32_t  target_bitrate)
inline

◆ GetTlFactory()

virtual std::unique_ptr<TemporalLayersFactory> webrtc::SimulcastRateAllocatorTest::GetTlFactory ( )
inlinevirtual

Member Data Documentation

◆ allocator_

std::unique_ptr<SimulcastRateAllocator> webrtc::SimulcastRateAllocatorTest::allocator_
protected

◆ codec_

VideoCodec webrtc::SimulcastRateAllocatorTest::codec_
protected

◆ kDefaultFrameRate

const int webrtc::SimulcastRateAllocatorTest::kDefaultFrameRate = 30
staticprotected

◆ tl_factories_

std::vector<std::unique_ptr<TemporalLayers> > webrtc::SimulcastRateAllocatorTest::tl_factories_
protected

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