Merge pull request #764 from dongzha/Deblock

Remove useless code
This commit is contained in:
HaiboZhu 2014-04-29 14:50:22 +08:00
commit c27c02bc0a
2 changed files with 2 additions and 6 deletions

View File

@ -1056,11 +1056,9 @@ void WelsBlockFuncInit (SBlockFunc* pFunc, int32_t iCpu) {
void SetNonZeroCount_c (int16_t* pBlock, int8_t* pNonZeroCount) {
int32_t i;
int32_t iIndex;
for (i = 0; i < 24; i++) {
iIndex = g_kuiMbNonZeroCountIdx[i];
pNonZeroCount[iIndex] = !!pNonZeroCount[iIndex];
pNonZeroCount[i] = !!pNonZeroCount[i];
}
}

View File

@ -784,11 +784,9 @@ void PerformDeblockingFilter (sWelsEncCtx* pEnc) {
void WelsNonZeroCount_c (int8_t* pNonZeroCount) {
int32_t i;
int32_t iIndex;
for (i = 0; i < 24; i++) {
iIndex = g_kuiMbCountScan4Idx[i];
pNonZeroCount[iIndex] = !!pNonZeroCount[iIndex];
pNonZeroCount[i] = !!pNonZeroCount[i];
}
}
void WelsBlockFuncInit (PSetNoneZeroCountZeroFunc* pfSetNZCZero, int32_t iCpu) {