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

Function TEST_F

test/encoder/EncUT_InterfaceTest.cpp:25–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24
25TEST_F (EncInterfaceCallTest, BaseParameterVerify) {
26 int uiTraceLevel = WELS_LOG_QUIET;
27 encoder_->SetOption (ENCODER_OPTION_TRACE_LEVEL, &uiTraceLevel);
28
29 int ret = cmResultSuccess;
30 SEncParamBase baseparam;
31 memset (&baseparam, 0, sizeof (SEncParamBase));
32
33 baseparam.iPicWidth = 0;
34 baseparam.iPicHeight = 7896;
35
36 ret = encoder_->Initialize (&baseparam);
37 EXPECT_EQ (ret, static_cast<int> (cmInitParaError));
38
39 uiTraceLevel = WELS_LOG_ERROR;
40 encoder_->SetOption (ENCODER_OPTION_TRACE_LEVEL, &uiTraceLevel);
41}
42
43void outputData() {
44

Callers

nothing calls this directly

Calls 9

SetLengthMethod · 0.80
LengthMethod · 0.80
dataMethod · 0.80
SetOptionMethod · 0.45
InitializeMethod · 0.45
OpenMethod · 0.45
readMethod · 0.45
EncodeFrameMethod · 0.45
onEncodeFrameMethod · 0.45

Tested by

no test coverage detected