Remove useless code

This commit is contained in:
dongzhang 2014-04-29 14:14:47 +08:00
parent 1ccaf1175b
commit 793c80df8b
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) {