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

Function Initialize

test/decoder/DecUT_ParseSyntax.cpp:108–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108long Initialize (const SDecodingParam* pParam, PWelsDecoderContext pCtx, SLogContext* pLogCtx) {
109 int iRet = ERR_NONE;
110 if (pParam == NULL) {
111 return cmInitParaError;
112 }
113
114 // H.264 decoder initialization,including memory allocation,then open it ready to decode
115 iRet = InitDecoder (pParam, pCtx, pLogCtx);
116 if (iRet)
117 return iRet;
118
119 return cmResultSuccess;
120}
121
122class DecoderParseSyntaxTest : public ::testing::Test {
123 public:

Callers 1

InitMethod · 0.85

Calls 1

InitDecoderFunction · 0.85

Tested by

no test coverage detected