Showing the changes to codec/encoder/core/src/slice_multi_threading.cpp (1 of 17 files). Show all
Unified · Split
| @@ -211,7 +211,7 @@ void DynamicAdjustSlicing (sWelsEncCtx* pCtx, · 210 unmodified lines | ||
| 211 | 211 | iNumMbInEachGom = pWelsSvcRc->iNumberMbGom; |
| 212 | 212 | |
| 213 | 213 | if (iNumMbInEachGom <= 0) { |
| 214 | − WelsLog (&(pCtx->sLogCtx), WELS_LOG_ERROR, | |
| 214 | + WelsLog (& (pCtx->sLogCtx), WELS_LOG_ERROR, | |
| 215 | 215 | "[MT] DynamicAdjustSlicing(), invalid iNumMbInEachGom= %d from RC, iDid= %d, iCountNumMb= %d\n", iNumMbInEachGom, |
| 216 | 216 | iCurDid, kiCountNumMb); |
| 217 | 217 | return; |
| @@ -940,7 +940,7 @@ WELS_THREAD_ROUTINE_TYPE CodingSliceThreadProc (void* arg) { · 722 unmodified lines | ||
| 940 | 940 | WelsEventSignal ( |
| 941 | 941 | &pEncPEncCtx->pSliceThreading->pFinUpdateMbListEvent[iEventIdx]); // mean finished update pMb list for this pSlice |
| 942 | 942 | } else { // WELS_THREAD_ERROR_WAIT_TIMEOUT, or WELS_THREAD_ERROR_WAIT_FAILED |
| 943 | − WelsLog (&(pEncPEncCtx->sLogCtx), WELS_LOG_WARNING, | |
| 943 | + WelsLog (& (pEncPEncCtx->sLogCtx), WELS_LOG_WARNING, | |
| 944 | 944 | "[MT] CodingSliceThreadProc(), waiting pReadySliceCodingEvent[%d] failed(%d) and thread%d terminated!\n", iEventIdx, |
| 945 | 945 | iWaitRet, iThreadIdx); |
| 946 | 946 | uiThrdRet = 1; |
| @@ -978,7 +978,7 @@ int32_t FiredSliceThreads (sWelsEncCtx* pCtx, SSliceThreadPrivateData* pPriData, · 31 unmodified lines | ||
| 978 | 978 | const int32_t kiEventCnt = uiNumThreads; |
| 979 | 979 | |
| 980 | 980 | if (pPriData == NULL || pLbi == NULL || kiEventCnt <= 0 || pEventsList == NULL) { |
| 981 | − WelsLog (&(pCtx->sLogCtx), WELS_LOG_ERROR, | |
| 981 | + WelsLog (& (pCtx->sLogCtx), WELS_LOG_ERROR, | |
| 982 | 982 | "FiredSliceThreads(), fail due pPriData == %p || pLbi == %p || iEventCnt(%d) <= 0 || pEventsList == %p!!\n", |
| 983 | 983 | (void*)pPriData, (void*)pLbi, uiNumThreads, (void*)pEventsList); |
| 984 | 984 | return 1; |