• Home
  • Raw
  • Download

Lines Matching refs:sThreadInfo

92   SWelsDecThreadInfo* sThreadInfo = (SWelsDecThreadInfo*)p;  in DECLARE_PROCTHREAD()  local
94 _alloca (WELS_DEC_MAX_THREAD_STACK_SIZE * (sThreadInfo->uiThrNum + 1)); in DECLARE_PROCTHREAD()
96 return sThreadInfo->pThrProcMain (p); in DECLARE_PROCTHREAD()
120 RELEASE_SEMAPHORE (pThrCtx->sThreadInfo.sIsBusy); in DECLARE_PROCTHREAD()
121 RELEASE_SEMAPHORE (&pThrCtx->sThreadInfo.sIsIdle); in DECLARE_PROCTHREAD()
122 WAIT_SEMAPHORE (&pThrCtx->sThreadInfo.sIsActivated, WELS_DEC_THREAD_WAIT_INFINITE); in DECLARE_PROCTHREAD()
123 if (pThrCtx->sThreadInfo.uiCommand == WELS_DEC_THREAD_COMMAND_RUN) { in DECLARE_PROCTHREAD()
126 } else if (pThrCtx->sThreadInfo.uiCommand == WELS_DEC_THREAD_COMMAND_ABORT) { in DECLARE_PROCTHREAD()
305 m_pDecThrCtx[i].sThreadInfo.uiThrMaxNum = m_iThreadCount; in OpenDecoderThreads()
306 m_pDecThrCtx[i].sThreadInfo.uiThrNum = i; in OpenDecoderThreads()
307 m_pDecThrCtx[i].sThreadInfo.uiThrStackSize = WELS_DEC_MAX_THREAD_STACK_SIZE; in OpenDecoderThreads()
308 m_pDecThrCtx[i].sThreadInfo.pThrProcMain = pThrProcFrame; in OpenDecoderThreads()
309 m_pDecThrCtx[i].sThreadInfo.sIsBusy = &m_sIsBusy; in OpenDecoderThreads()
310 m_pDecThrCtx[i].sThreadInfo.uiCommand = WELS_DEC_THREAD_COMMAND_RUN; in OpenDecoderThreads()
319 CREATE_SEMAPHORE (&m_pDecThrCtx[i].sThreadInfo.sIsIdle, 0, 1, NULL); in OpenDecoderThreads()
320 CREATE_SEMAPHORE (&m_pDecThrCtx[i].sThreadInfo.sIsActivated, 0, 1, NULL); in OpenDecoderThreads()
321 …CREATE_THREAD (&m_pDecThrCtx[i].sThreadInfo.sThrHandle, pThrProcInit, (void*) (& (m_pDecThrCtx[i])… in OpenDecoderThreads()
328 WAIT_SEMAPHORE (&m_pDecThrCtx[i].sThreadInfo.sIsIdle, WELS_DEC_THREAD_WAIT_INFINITE); in CloseDecoderThreads()
329 m_pDecThrCtx[i].sThreadInfo.uiCommand = WELS_DEC_THREAD_COMMAND_ABORT; in CloseDecoderThreads()
330 RELEASE_SEMAPHORE (&m_pDecThrCtx[i].sThreadInfo.sIsActivated); in CloseDecoderThreads()
331 WAIT_THREAD (&m_pDecThrCtx[i].sThreadInfo.sThrHandle); in CloseDecoderThreads()
335 CLOSE_SEMAPHORE (&m_pDecThrCtx[i].sThreadInfo.sIsIdle); in CloseDecoderThreads()
336 CLOSE_SEMAPHORE (&m_pDecThrCtx[i].sThreadInfo.sIsActivated); in CloseDecoderThreads()
680 …WAIT_SEMAPHORE (&m_pDecThrCtxActive[activeThread]->sThreadInfo.sIsIdle, WELS_DEC_THREAD_WAIT_INFIN… in GetOption()
681 RELEASE_SEMAPHORE (&m_pDecThrCtxActive[activeThread]->sThreadInfo.sIsIdle); in GetOption()
1392 signal = m_pDecThrCtxActive[0]->sThreadInfo.uiThrNum; in ThreadDecodeFrameInternal()
1395 WAIT_SEMAPHORE (&m_pDecThrCtx[signal].sThreadInfo.sIsIdle, WELS_DEC_THREAD_WAIT_INFINITE); in ThreadDecodeFrameInternal()
1422 m_pDecThrCtx[signal].sThreadInfo.uiCommand = WELS_DEC_THREAD_COMMAND_RUN; in ThreadDecodeFrameInternal()
1423 RELEASE_SEMAPHORE (&m_pDecThrCtx[signal].sThreadInfo.sIsActivated); in ThreadDecodeFrameInternal()
1427 WAIT_SEMAPHORE (&m_pDecThrCtxActive[0]->sThreadInfo.sIsIdle, WELS_DEC_THREAD_WAIT_INFINITE); in ThreadDecodeFrameInternal()
1428 RELEASE_SEMAPHORE (&m_pDecThrCtxActive[0]->sThreadInfo.sIsIdle); in ThreadDecodeFrameInternal()