MCPcopy Create free account
hub / github.com/cisco/openh264 / SetUp

Method SetUp

test/api/BaseEncoderTest.cpp:71–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69BaseEncoderTest::BaseEncoderTest() : encoder_ (NULL) {}
70
71void BaseEncoderTest::SetUp() {
72 int rv = WelsCreateSVCEncoder (&encoder_);
73 ASSERT_EQ (0, rv);
74 ASSERT_TRUE (encoder_ != NULL);
75
76 unsigned int uiTraceLevel = WELS_LOG_ERROR;
77 encoder_->SetOption (ENCODER_OPTION_TRACE_LEVEL, &uiTraceLevel);
78}
79
80void BaseEncoderTest::TearDown() {
81 if (encoder_) {

Callers

nothing calls this directly

Calls 2

WelsCreateSVCEncoderFunction · 0.85
SetOptionMethod · 0.45

Tested by

no test coverage detected