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

Function DECLARE_PROCTHREAD

codec/decoder/plus/src/welsDecoderExt.cpp:91–97  ·  view source on GitHub ↗

* Description: * class CWelsDecoder constructor function, do initialization and * alloc memory required * * Input parameters: none * * return: none ***************************************************************************/

Source from the content-addressed store, hash-verified

89* return: none
90***************************************************************************/
91DECLARE_PROCTHREAD (pThrProcInit, p) {
92 SWelsDecThreadInfo* sThreadInfo = (SWelsDecThreadInfo*)p;
93#if defined(WIN32)
94 _alloca (WELS_DEC_MAX_THREAD_STACK_SIZE * (sThreadInfo->uiThrNum + 1));
95#endif
96 return sThreadInfo->pThrProcMain (p);
97}
98
99static DECODING_STATE ConstructAccessUnit (CWelsDecoder* pWelsDecoder, PWelsDecoderThreadCTX pThrCtx) {
100 int iRet = dsErrorFree;

Callers

nothing calls this directly

Calls 1

ConstructAccessUnitFunction · 0.70

Tested by

no test coverage detected