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

Classes

class  TestEncoder
 
class  TestSink
 

Public Member Functions

 ViEEncoderTest ()
 
void SetUp () override
 
void ConfigureEncoder (VideoEncoderConfig video_encoder_config, bool nack_enabled)
 
void ResetEncoder (const std::string &payload_name, size_t num_streams, size_t num_temporal_layers, bool nack_enabled)
 
VideoFrame CreateFrame (int64_t ntp_time_ms, rtc::Event *destruction_event) const
 
VideoFrame CreateFrame (int64_t ntp_time_ms, int width, int height) const
 

Public Attributes

VideoSendStream::Config video_send_config_
 
VideoEncoderConfig video_encoder_config_
 
int codec_width_
 
int codec_height_
 
TestEncoder fake_encoder_
 
std::unique_ptr< SendStatisticsProxystats_proxy_
 
TestSink sink_
 
AdaptingFrameForwarder video_source_
 
std::unique_ptr< ViEEncoderUnderTest > vie_encoder_
 

Static Public Attributes

static const int kDefaultTimeoutMs = 30 * 1000
 

Additional Inherited Members

- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void TearDown ()
 

Constructor & Destructor Documentation

◆ ViEEncoderTest()

webrtc::ViEEncoderTest::ViEEncoderTest ( )
inline

Member Function Documentation

◆ ConfigureEncoder()

void webrtc::ViEEncoderTest::ConfigureEncoder ( VideoEncoderConfig  video_encoder_config,
bool  nack_enabled 
)
inline

◆ CreateFrame() [1/2]

VideoFrame webrtc::ViEEncoderTest::CreateFrame ( int64_t  ntp_time_ms,
rtc::Event destruction_event 
) const
inline

◆ CreateFrame() [2/2]

VideoFrame webrtc::ViEEncoderTest::CreateFrame ( int64_t  ntp_time_ms,
int  width,
int  height 
) const
inline

◆ ResetEncoder()

void webrtc::ViEEncoderTest::ResetEncoder ( const std::string payload_name,
size_t  num_streams,
size_t  num_temporal_layers,
bool  nack_enabled 
)
inline

◆ SetUp()

void webrtc::ViEEncoderTest::SetUp ( )
inlineoverridevirtual

Reimplemented from testing::Test.

Member Data Documentation

◆ codec_height_

int webrtc::ViEEncoderTest::codec_height_

◆ codec_width_

int webrtc::ViEEncoderTest::codec_width_

◆ fake_encoder_

TestEncoder webrtc::ViEEncoderTest::fake_encoder_

◆ kDefaultTimeoutMs

const int webrtc::ViEEncoderTest::kDefaultTimeoutMs = 30 * 1000
static

◆ sink_

TestSink webrtc::ViEEncoderTest::sink_

◆ stats_proxy_

std::unique_ptr<SendStatisticsProxy> webrtc::ViEEncoderTest::stats_proxy_

◆ video_encoder_config_

VideoEncoderConfig webrtc::ViEEncoderTest::video_encoder_config_

◆ video_send_config_

VideoSendStream::Config webrtc::ViEEncoderTest::video_send_config_

◆ video_source_

AdaptingFrameForwarder webrtc::ViEEncoderTest::video_source_

◆ vie_encoder_

std::unique_ptr<ViEEncoderUnderTest> webrtc::ViEEncoderTest::vie_encoder_

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