History

astyle code style for enc

Guangwei Wang committed 9 years ago

Commit 3d150f01 parent bc8317915 files · +184 −172Browse files

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

Unified · Split

codec/encoder/core/src/set_mb_syn_cabac.cpp+3−3
@@ -53,7 +53,7 @@ const int8_t g_kiClz5Table[32] = { · 52 unmodified lines
5353
5454 void PropagateCarry (uint8_t* pBufCur, uint8_t* pBufStart) {
5555 for (; pBufCur > pBufStart; --pBufCur)
56− if (++*(pBufCur - 1))
56+ if (++ * (pBufCur - 1))
5757 break;
5858 }
5959
@@ -133,7 +133,7 @@ void WelsCabacEncodeUpdateLowNontrivial_ (SCabacCtx* pCbCtx) { · 73 unmodified lines
133133 void WelsCabacEncodeDecisionLps_ (SCabacCtx* pCbCtx, int32_t iCtx) {
134134 const int32_t kiState = pCbCtx->m_sStateCtx[iCtx].State();
135135 uint32_t uiRange = pCbCtx->m_uiRange;
136− uint32_t uiRangeLps = g_kuiCabacRangeLps[kiState][(uiRange & 0xff) >> 6];
136+ uint32_t uiRangeLps = g_kuiCabacRangeLps[kiState][ (uiRange & 0xff) >> 6];
137137 uiRange -= uiRangeLps;
138138 pCbCtx->m_sStateCtx[iCtx].Set (g_kuiStateTransTable[kiState][0],
139139 pCbCtx->m_sStateCtx[iCtx].Mps() ^ (kiState == 0));
@@ -193,7 +193,7 @@ void WelsCabacEncodeFlush (SCabacCtx* pCbCtx) { · 53 unmodified lines
193193 if (uiLow & cabac_low_t (1) << (CABAC_LOW_WIDTH - 1))
194194 PropagateCarry (pBufCur, pCbCtx->m_pBufStart);
195195 for (; (iLowBitCnt -= 8) >= 0; uiLow <<= 8)
196− *pBufCur++ = (uint8_t) (uiLow >> (CABAC_LOW_WIDTH - 9));
196+ * pBufCur++ = (uint8_t) (uiLow >> (CABAC_LOW_WIDTH - 9));
197197
198198 pCbCtx->m_pBufCur = pBufCur;
199199 }

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