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

Public Member Functions

void SetUp () override
 
void TearDown () override
 

Protected Member Functions

void WriteYuvFile (FILE *file, uint8_t y, uint8_t u, uint8_t v)
 
void CheckFrameAndMutate (VideoFrame *frame, uint8_t y, uint8_t u, uint8_t v)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 

Protected Attributes

std::string two_frame_filename_
 
std::string one_frame_filename_
 
const int y_size = kFrameWidth * kFrameHeight
 
const int uv_size = ((kFrameHeight + 1) / 2) * ((kFrameWidth + 1) / 2)
 

Member Function Documentation

◆ CheckFrameAndMutate()

void webrtc::test::FrameGeneratorTest::CheckFrameAndMutate ( VideoFrame frame,
uint8_t  y,
uint8_t  u,
uint8_t  v 
)
inlineprotected

◆ SetUp()

void webrtc::test::FrameGeneratorTest::SetUp ( )
inlineoverridevirtual

Reimplemented from testing::Test.

◆ TearDown()

void webrtc::test::FrameGeneratorTest::TearDown ( )
inlineoverridevirtual

Reimplemented from testing::Test.

◆ WriteYuvFile()

void webrtc::test::FrameGeneratorTest::WriteYuvFile ( FILE *  file,
uint8_t  y,
uint8_t  u,
uint8_t  v 
)
inlineprotected

Member Data Documentation

◆ one_frame_filename_

std::string webrtc::test::FrameGeneratorTest::one_frame_filename_
protected

◆ two_frame_filename_

std::string webrtc::test::FrameGeneratorTest::two_frame_filename_
protected

◆ uv_size

const int webrtc::test::FrameGeneratorTest::uv_size = ((kFrameHeight + 1) / 2) * ((kFrameWidth + 1) / 2)
protected

◆ y_size

const int webrtc::test::FrameGeneratorTest::y_size = kFrameWidth * kFrameHeight
protected

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