* Description: * class CWelsDecoder constructor function, do initialization and * alloc memory required * * Input parameters: none * * return: none ***************************************************************************/
| 89 | * return: none |
| 90 | ***************************************************************************/ |
| 91 | DECLARE_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 | |
| 99 | static DECODING_STATE ConstructAccessUnit (CWelsDecoder* pWelsDecoder, PWelsDecoderThreadCTX pThrCtx) { |
| 100 | int iRet = dsErrorFree; |
nothing calls this directly
no test coverage detected