webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
webrtc::video_coding::TestFrameBuffer2 Class Reference
Inheritance diagram for webrtc::video_coding::TestFrameBuffer2:
testing::Test

Protected Member Functions

 TestFrameBuffer2 ()
 
void SetUp () override
 
void TearDown () override
 
template<typename... T>
int InsertFrame (uint16_t picture_id, uint8_t spatial_layer, int64_t ts_ms, bool inter_layer_predicted, T... refs)
 
void ExtractFrame (int64_t max_wait_time=0)
 
void CheckFrame (size_t index, int picture_id, int spatial_layer)
 
void CheckNoFrame (size_t index)
 
uint32_t Rand ()
 
- Protected Member Functions inherited from testing::Test
 Test ()
 

Static Protected Member Functions

static void ExtractLoop (void *obj)
 

Protected Attributes

SimulatedClock clock_
 
VCMTimingFake timing_
 
::testing::NiceMock< VCMJitterEstimatorMockjitter_estimator_
 
FrameBuffer buffer_
 
std::vector< std::unique_ptr< FrameObject > > frames_
 
Random rand_
 
::testing::NiceMock< VCMReceiveStatisticsCallbackMockstats_callback_
 
int64_t max_wait_time_
 
bool tear_down_
 
rtc::PlatformThread extract_thread_
 
rtc::Event trigger_extract_event_
 
rtc::Event crit_acquired_event_
 
rtc::CriticalSection crit_
 

Static Protected Attributes

static constexpr int kMaxReferences = 5
 
static constexpr int kFps1 = 1000
 
static constexpr int kFps10 = kFps1 / 10
 
static constexpr int kFps20 = kFps1 / 20
 

Constructor & Destructor Documentation

◆ TestFrameBuffer2()

webrtc::video_coding::TestFrameBuffer2::TestFrameBuffer2 ( )
inlineprotected

Member Function Documentation

◆ CheckFrame()

void webrtc::video_coding::TestFrameBuffer2::CheckFrame ( size_t  index,
int  picture_id,
int  spatial_layer 
)
inlineprotected

◆ CheckNoFrame()

void webrtc::video_coding::TestFrameBuffer2::CheckNoFrame ( size_t  index)
inlineprotected

◆ ExtractFrame()

void webrtc::video_coding::TestFrameBuffer2::ExtractFrame ( int64_t  max_wait_time = 0)
inlineprotected

◆ ExtractLoop()

static void webrtc::video_coding::TestFrameBuffer2::ExtractLoop ( void obj)
inlinestaticprotected

◆ InsertFrame()

template<typename... T>
int webrtc::video_coding::TestFrameBuffer2::InsertFrame ( uint16_t  picture_id,
uint8_t  spatial_layer,
int64_t  ts_ms,
bool  inter_layer_predicted,
T...  refs 
)
inlineprotected

◆ Rand()

uint32_t webrtc::video_coding::TestFrameBuffer2::Rand ( )
inlineprotected

◆ SetUp()

void webrtc::video_coding::TestFrameBuffer2::SetUp ( )
inlineoverrideprotectedvirtual

Reimplemented from testing::Test.

◆ TearDown()

void webrtc::video_coding::TestFrameBuffer2::TearDown ( )
inlineoverrideprotectedvirtual

Reimplemented from testing::Test.

Member Data Documentation

◆ buffer_

FrameBuffer webrtc::video_coding::TestFrameBuffer2::buffer_
protected

◆ clock_

SimulatedClock webrtc::video_coding::TestFrameBuffer2::clock_
protected

◆ crit_

rtc::CriticalSection webrtc::video_coding::TestFrameBuffer2::crit_
protected

◆ crit_acquired_event_

rtc::Event webrtc::video_coding::TestFrameBuffer2::crit_acquired_event_
protected

◆ extract_thread_

rtc::PlatformThread webrtc::video_coding::TestFrameBuffer2::extract_thread_
protected

◆ frames_

std::vector<std::unique_ptr<FrameObject> > webrtc::video_coding::TestFrameBuffer2::frames_
protected

◆ jitter_estimator_

::testing::NiceMock<VCMJitterEstimatorMock> webrtc::video_coding::TestFrameBuffer2::jitter_estimator_
protected

◆ kFps1

constexpr int webrtc::video_coding::TestFrameBuffer2::kFps1 = 1000
staticprotected

◆ kFps10

constexpr int webrtc::video_coding::TestFrameBuffer2::kFps10 = kFps1 / 10
staticprotected

◆ kFps20

constexpr int webrtc::video_coding::TestFrameBuffer2::kFps20 = kFps1 / 20
staticprotected

◆ kMaxReferences

constexpr int webrtc::video_coding::TestFrameBuffer2::kMaxReferences = 5
staticprotected

◆ max_wait_time_

int64_t webrtc::video_coding::TestFrameBuffer2::max_wait_time_
protected

◆ rand_

Random webrtc::video_coding::TestFrameBuffer2::rand_
protected

◆ stats_callback_

::testing::NiceMock<VCMReceiveStatisticsCallbackMock> webrtc::video_coding::TestFrameBuffer2::stats_callback_
protected

◆ tear_down_

bool webrtc::video_coding::TestFrameBuffer2::tear_down_
protected

◆ timing_

VCMTimingFake webrtc::video_coding::TestFrameBuffer2::timing_
protected

◆ trigger_extract_event_

rtc::Event webrtc::video_coding::TestFrameBuffer2::trigger_extract_event_
protected

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