History

Remove tabs where a simple space is just enough

Martin Storsjö committed 11 years ago

Commit ca51ee01 parent 51efa5754 files · +769 −772Browse files

Showing the changes to codec/decoder/core/src/fmo.cpp (1 of 54 files). Show all

Unified · Split

codec/decoder/core/src/fmo.cpp+11−11
@@ -93,7 +93,7 @@ static inline int32_t FmoGenerateMbAllocMapType1 (PFmo pFmo, PPps pPps, const in · 92 unmodified lines
9393 int32_t i = 0;
9494 WELS_VERIFY_RETURN_IF (1, (NULL == pFmo || NULL == pPps))
9595 uiNumSliceGroups = pPps->uiNumSliceGroups;
96− iMbNum = pFmo->iCountMbNum;
96+ iMbNum = pFmo->iCountMbNum;
9797 WELS_VERIFY_RETURN_IF (1, (NULL == pFmo->pMbAllocMap || iMbNum <= 0 || kiMbWidth == 0
9898 || uiNumSliceGroups >= MAX_SLICEGROUP_IDS))
9999
@@ -124,7 +124,7 @@ static inline int32_t FmoGenerateSliceGroup (PFmo pFmo, const PPps kpPps, const · 24 unmodified lines
124124 // the cases we would not like
125125 WELS_VERIFY_RETURN_IF (1, (NULL == pFmo || NULL == kpPps))
126126
127− iNumMb = pFmo->iCountMbNum;
127+ iNumMb = pFmo->iCountMbNum;
128128
129129 iNumMb = kiMbWidth * kiMbHeight;
130130
@@ -133,15 +133,15 @@ static inline int32_t FmoGenerateSliceGroup (PFmo pFmo, const PPps kpPps, const · 2 unmodified lines
133133
134134
135135 WelsFree (pFmo->pMbAllocMap, "_fmo->pMbAllocMap");
136− pFmo->pMbAllocMap = (uint8_t*)WelsMallocz (iNumMb * sizeof (uint8_t), "_fmo->pMbAllocMap");
137− WELS_VERIFY_RETURN_IF (1, (NULL == pFmo->pMbAllocMap)) // out of memory
136+ pFmo->pMbAllocMap = (uint8_t*)WelsMallocz (iNumMb * sizeof (uint8_t), "_fmo->pMbAllocMap");
137+ WELS_VERIFY_RETURN_IF (1, (NULL == pFmo->pMbAllocMap)) // out of memory
138138
139− pFmo->iCountMbNum = iNumMb;
139+ pFmo->iCountMbNum = iNumMb;
140140
141141 if (kpPps->uiNumSliceGroups < 2 && iNumMb > 0) { // only one slice group, exactly it is single slice based
142142 memset (pFmo->pMbAllocMap, 0, iNumMb * sizeof (int8_t)); // for safe
143143
144− pFmo->iSliceGroupCount = 1;
144+ pFmo->iSliceGroupCount = 1;
145145
146146 return 0;
147147 }
@@ -150,7 +150,7 @@ static inline int32_t FmoGenerateSliceGroup (PFmo pFmo, const PPps kpPps, const · 2 unmodified lines
150150 || ((int32_t)kpPps->uiNumSliceGroups != pFmo->iSliceGroupCount)) {
151151 switch (kpPps->uiSliceGroupMapType) {
152152 case 0:
153− iErr = FmoGenerateMbAllocMapType0 (pFmo, kpPps);
153+ iErr = FmoGenerateMbAllocMapType0 (pFmo, kpPps);
154154 break;
155155 case 1:
156156 iErr = FmoGenerateMbAllocMapType1 (pFmo, kpPps, kiMbWidth);
@@ -161,7 +161,7 @@ static inline int32_t FmoGenerateSliceGroup (PFmo pFmo, const PPps kpPps, const · 4 unmodified lines
161161 case 5:
162162 case 6:
163163 // Reserve for others slice group type
164− iErr = 1;
164+ iErr = 1;
165165 break;
166166 default:
167167 return 1;
@@ -213,7 +213,7 @@ void UninitFmoList (PFmo pFmo, const int32_t kiCnt, const int32_t kiAvail) { · 45 unmodified lines
213213 if (NULL != pIter->pMbAllocMap) {
214214 WelsFree (pIter->pMbAllocMap, "pIter->pMbAllocMap");
215215
216− pIter->pMbAllocMap = NULL;
216+ pIter->pMbAllocMap = NULL;
217217 }
218218 pIter->iSliceGroupCount = 0;
219219 pIter->iSliceGroupType = -1;
@@ -272,7 +272,7 @@ bool FmoParamUpdate (PFmo pFmo, PSps pSps, PPps pPps, int32_t* pActiveFmoNum) { · 52 unmodified lines
272272 } else {
273273 if (!pFmo->bActiveFlag && *pActiveFmoNum < MAX_PPS_COUNT) {
274274 ++ (*pActiveFmoNum);
275− pFmo->bActiveFlag = true;
275+ pFmo->bActiveFlag = true;
276276 }
277277 }
278278 }
@@ -318,7 +318,7 @@ MB_XY_T FmoNextMb (PFmo pFmo, const MB_XY_T kiMbXy) { · 39 unmodified lines
318318 do {
319319 ++ iNextMb;
320320 if (iNextMb >= kiTotalMb) {
321− iNextMb = -1;
321+ iNextMb = -1;
322322 break;
323323 }
324324 if (kpMbMap[iNextMb] == kuiSliceGroupIdc) {

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