Searched refs:pThreadCtx (Results 1 – 5 of 5) sorted by relevance
511 void* pThreadCtx; member555 if (pCtx->pThreadCtx != NULL) { in GetThreadCount()556 PWelsDecoderThreadCTX pThreadCtx = (PWelsDecoderThreadCTX)pCtx->pThreadCtx; in GetThreadCount() local557 iThreadCount = pThreadCtx->sThreadInfo.uiThrMaxNum; in GetThreadCount()564 PWelsDecoderThreadCTX pThreadCtx = (PWelsDecoderThreadCTX)pCtx->pThreadCtx; in GetPrevFrameNum() local565 int32_t iThreadCount = int32_t (pThreadCtx->sThreadInfo.uiThrMaxNum); in GetPrevFrameNum()566 int32_t uiThrNum = int32_t (pThreadCtx->sThreadInfo.uiThrNum); in GetPrevFrameNum()569 if (id != 0 && pThreadCtx[id].pCtx->uiDecodingTimeStamp == pCtx->uiDecodingTimeStamp - 1) { in GetPrevFrameNum()570 if (pThreadCtx[id].pCtx->pDec != NULL) { in GetPrevFrameNum()571 int32_t iFrameNum = pThreadCtx[id].pCtx->pDec->iFrameNum; in GetPrevFrameNum()[all …]
2490 PWelsDecoderThreadCTX pThreadCtx = NULL; in DecodeCurrentAccessUnit() local2491 if (pCtx->pThreadCtx != NULL) { in DecodeCurrentAccessUnit()2492 pThreadCtx = (PWelsDecoderThreadCTX)pCtx->pThreadCtx; in DecodeCurrentAccessUnit()2571 if (pThreadCtx != NULL) { in DecodeCurrentAccessUnit()2572 pThreadCtx->pDec = pCtx->pDec; in DecodeCurrentAccessUnit()2585 if (pThreadCtx != NULL) { in DecodeCurrentAccessUnit()2586 pThreadCtx->iPicBuffIdx = pCtx->pDec->iPicBuffIdx; in DecodeCurrentAccessUnit()2723 SET_EVENT (&pThreadCtx->sSliceDecodeStart); in DecodeCurrentAccessUnit()2809 int32_t id = pThreadCtx->sThreadInfo.uiThrNum; in DecodeCurrentAccessUnit()2811 if (i == id || pThreadCtx[i - id].pCtx->uiDecodingTimeStamp == 0) continue; in DecodeCurrentAccessUnit()[all …]
568 PWelsDecoderThreadCTX pThreadCtx = (PWelsDecoderThreadCTX) (pCtx->pThreadCtx); in WelsFreeDynamicMemory() local569 int32_t threadCount = pThreadCtx->sThreadInfo.uiThrMaxNum; in WelsFreeDynamicMemory()570 int32_t id = pThreadCtx->sThreadInfo.uiThrNum; in WelsFreeDynamicMemory()572 if (pThreadCtx[i - id].pCtx != NULL) { in WelsFreeDynamicMemory()573 pThreadCtx[i - id].pCtx->pPicBuff = NULL; in WelsFreeDynamicMemory()
126 if (pCtx->pThreadCtx != NULL) { in AllocPicture()
389 m_pDecThrCtx[i].pCtx->pThreadCtx = &m_pDecThrCtx[i]; in InitDecoder()