History

Remove trailing whitespace in comments

The astyle cleanup keeps trailing whitespace within comments, but the whitespace here is not significant nor intentional and thus should be removed.

Martin Storsjö committed 12 years ago

Commit d3ee1de1 parent dba620717 files · +38 −38Browse files

Showing the changes to codec/encoder/core/src/slice_multi_threading.cpp (1 of 17 files). Show all

Unified · Split

codec/encoder/core/src/slice_multi_threading.cpp+8−8
@@ -498,7 +498,7 @@ int32_t RequestMtResource (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingPara · 497 unmodified lines
498498 #ifdef PACKING_ONE_SLICE_PER_LAYER
499499 pSmt->pCountBsSizeInPartition = (uint32_t*)pMa->WelsMalloc (sizeof (uint32_t) * iThreadNum, "pCountBsSizeInPartition");
500500 WELS_VERIFY_RETURN_PROC_IF (1, (NULL == pSmt->pCountBsSizeInPartition), FreeMemorySvc (ppCtx))
501−#endif//PACKING_ONE_SLICE_PER_LAYER
501+#endif//PACKING_ONE_SLICE_PER_LAYER
502502
503503 WelsMutexInit (&pSmt->mutexSliceNumUpdate);
504504
@@ -592,7 +592,7 @@ void ReleaseMtResource (sWelsEncCtx** ppCtx) { · 87 unmodified lines
592592 ename[used_len] = '\0';
593593 WelsEventClose (pSmt->pFinUpdateMbListEvent[iIdx], ename);
594594 #endif//DYNAMIC_SLICE_ASSIGN && TRY_SLICING_BALANCE
595−#endif//_WIN32
595+#endif//_WIN32
596596
597597 ++ iIdx;
598598 }
@@ -930,7 +930,7 @@ WELS_THREAD_ROUTINE_TYPE CodingSliceThreadProc (void* arg) { · 331 unmodified lines
930930 pEventsList[iEventCount++] = pEncPEncCtx->pSliceThreading->pExitEncodeEvent[iEventIdx];
931931 #if defined(DYNAMIC_SLICE_ASSIGN) && defined(TRY_SLICING_BALANCE)
932932 pEventsList[iEventCount++] = pEncPEncCtx->pSliceThreading->pUpdateMbListEvent[iEventIdx];
933−#endif//#if defined(DYNAMIC_SLICE_ASSIGN) && defined(TRY_SLICING_BALANCE)
933+#endif//#if defined(DYNAMIC_SLICE_ASSIGN) && defined(TRY_SLICING_BALANCE)
934934 #endif//_WIN32
935935
936936 do {
@@ -945,7 +945,7 @@ WELS_THREAD_ROUTINE_TYPE CodingSliceThreadProc (void* arg) { · 8 unmodified lines
945945 iEventIdx, (void*) (pEncPEncCtx->pReadySliceCodingEvent[iEventIdx]), (void*)pEncPEncCtx);
946946 #endif
947947 iWaitRet = WelsEventWait (pEncPEncCtx->pSliceThreading->pReadySliceCodingEvent[iEventIdx]);
948−#endif//WIN32
948+#endif//WIN32
949949 if (WELS_THREAD_ERROR_WAIT_OBJECT_0 == iWaitRet) { // start pSlice coding signal waited
950950 SLayerBSInfo* pLbi = pPrivateData->pLayerBs;
951951 const int32_t kiCurDid = pEncPEncCtx->uiDependencyId;
@@ -1052,7 +1052,7 @@ WELS_THREAD_ROUTINE_TYPE CodingSliceThreadProc (void* arg) { · 100 unmodified lines
10521052 eNalRefIdc,
10531053 iSliceSize
10541054 );
1055−#endif//SLICE_INFO_OUTPUT
1055+#endif//SLICE_INFO_OUTPUT
10561056
10571057 #if MT_DEBUG_BS_WR
10581058 pSliceBs->bSliceCodedFlag = TRUE;
@@ -1063,7 +1063,7 @@ WELS_THREAD_ROUTINE_TYPE CodingSliceThreadProc (void* arg) { · 4 unmodified lines
10631063 &pEncPEncCtx->pSliceThreading->pSliceCodedEvent[iEventIdx]); // mean finished coding current pSlice
10641064 #else
10651065 WelsEventSignal (pEncPEncCtx->pSliceThreading->pSliceCodedEvent[iEventIdx]); // mean finished coding current pSlice
1066−#endif//WIN32
1066+#endif//WIN32
10671067 } else { // for SM_DYN_SLICE parallelization
10681068 #ifdef PACKING_ONE_SLICE_PER_LAYER
10691069 SLayerBSInfo* pLbiPacking = NULL;
@@ -1158,7 +1158,7 @@ WELS_THREAD_ROUTINE_TYPE CodingSliceThreadProc (void* arg) { · 88 unmodified lines
11581158 eNalRefIdc,
11591159 iSliceSize
11601160 );
1161−#endif//SLICE_INFO_OUTPUT
1161+#endif//SLICE_INFO_OUTPUT
11621162
11631163 #if defined(ENABLE_TRACE_MT)
11641164 WelsLog (pEncPEncCtx, WELS_LOG_INFO,
@@ -1196,7 +1196,7 @@ WELS_THREAD_ROUTINE_TYPE CodingSliceThreadProc (void* arg) { · 31 unmodified lines
11961196 &pEncPEncCtx->pSliceThreading->pFinUpdateMbListEvent[iEventIdx]); // mean finished update pMb list for this pSlice
11971197 }
11981198 #endif//#if defined(DYNAMIC_SLICE_ASSIGN) && defined(TRY_SLICING_BALANCE)
1199−#endif//WIN32
1199+#endif//WIN32
12001200 else { // WELS_THREAD_ERROR_WAIT_TIMEOUT, or WELS_THREAD_ERROR_WAIT_FAILED
12011201 WelsLog (pEncPEncCtx, WELS_LOG_WARNING,
12021202 "[MT] CodingSliceThreadProc(), waiting pReadySliceCodingEvent[%d] failed(%d) and thread%d terminated!\n", iEventIdx,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t