Showing the changes to codec/decoder/core/src/decode_slice.cpp (1 of 120 files). Show all
Unified · Split
| @@ -441,7 +441,7 @@ int32_t WelsActualDecodeMbCavlcISlice (PWelsDecoderContext pCtx) { · 440 unmodified lines | |||
| 441 | int32_t iMbX = pCurLayer->iMbX; | 441 | int32_t iMbX = pCurLayer->iMbX; |
| 442 | int32_t iMbY = pCurLayer->iMbY; | 442 | int32_t iMbY = pCurLayer->iMbY; |
| 443 | const int32_t iMbXy = pCurLayer->iMbXyIndex; | 443 | const int32_t iMbXy = pCurLayer->iMbXyIndex; |
| 444 | int8_t *pNzc = pCurLayer->pNzc[iMbXy]; | 444 | int8_t* pNzc = pCurLayer->pNzc[iMbXy]; |
| 445 | int32_t i; | 445 | int32_t i; |
| 446 | uint32_t uiMbType = 0, uiCbp = 0, uiCbpL = 0, uiCbpC = 0; | 446 | uint32_t uiMbType = 0, uiCbp = 0, uiCbpL = 0, uiCbpC = 0; |
| 447 | uint32_t uiCode; | 447 | uint32_t uiCode; |
| @@ -844,7 +844,7 @@ int32_t WelsActualDecodeMbCavlcPSlice (PWelsDecoderContext pCtx) { · 396 unmodified lines | |||
| 844 | uiCbpL = pCurLayer->pCbp[iMbXy] & 15; | 844 | uiCbpL = pCurLayer->pCbp[iMbXy] & 15; |
| 845 | } | 845 | } |
| 846 | 846 | ||
| 847 | memset(pCurLayer->pScaledTCoeff[iMbXy], 0, MB_COEFF_LIST_SIZE * sizeof(int16_t)); | 847 | memset (pCurLayer->pScaledTCoeff[iMbXy], 0, MB_COEFF_LIST_SIZE * sizeof (int16_t)); |
| 848 | 848 | ||
| 849 | ST32A4 (&pNzc[0], 0); | 849 | ST32A4 (&pNzc[0], 0); |
| 850 | ST32A4 (&pNzc[4], 0); | 850 | ST32A4 (&pNzc[4], 0); |
| @@ -975,7 +975,7 @@ int32_t WelsDecodeMbCavlcPSlice (PWelsDecoderContext pCtx, PNalUnit pNalCur) { · 124 unmodified lines | |||
| 975 | PSliceHeader pSliceHeader = &pSlice->sSliceHeaderExt.sSliceHeader; | 975 | PSliceHeader pSliceHeader = &pSlice->sSliceHeaderExt.sSliceHeader; |
| 976 | 976 | ||
| 977 | const int32_t iMbXy = pCurLayer->iMbXyIndex; | 977 | const int32_t iMbXy = pCurLayer->iMbXyIndex; |
| 978 | int8_t *pNzc = pCurLayer->pNzc[iMbXy]; | 978 | int8_t* pNzc = pCurLayer->pNzc[iMbXy]; |
| 979 | int32_t iBaseModeFlag, i; | 979 | int32_t iBaseModeFlag, i; |
| 980 | int32_t iRet = 0; //should have the return value to indicate decoding error or not, It's NECESSARY--2010.4.15 | 980 | int32_t iRet = 0; //should have the return value to indicate decoding error or not, It's NECESSARY--2010.4.15 |
| 981 | uint32_t uiCode; | 981 | uint32_t uiCode; |
| @@ -1048,7 +1048,7 @@ void WelsBlockFuncInit (SBlockFunc* pFunc, int32_t iCpu) { · 66 unmodified lines | |||
| 1048 | pFunc->pWelsSetNonZeroCountFunc = SetNonZeroCount_c; | 1048 | pFunc->pWelsSetNonZeroCountFunc = SetNonZeroCount_c; |
| 1049 | 1049 | ||
| 1050 | #ifdef HAVE_NEON | 1050 | #ifdef HAVE_NEON |
| 1051 | if ( iCpu & WELS_CPU_NEON ) { | 1051 | if (iCpu & WELS_CPU_NEON) { |
| 1052 | pFunc->pWelsSetNonZeroCountFunc = SetNonZeroCount_neon; | 1052 | pFunc->pWelsSetNonZeroCountFunc = SetNonZeroCount_neon; |
| 1053 | } | 1053 | } |
| 1054 | #endif | 1054 | #endif |