Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 3 files). Show all
Unified · Split
| @@ -166,16 +166,8 @@ void_t WelsDecoderDefaults (PWelsDecoderContext pCtx) { · 165 unmodified lines | ||
| 166 | 166 | pCtx->bAuReadyFlag = 0; // au data is not ready |
| 167 | 167 | |
| 168 | 168 | |
| 169 | − g_uiCacheLineSize = 16; | |
| 170 | 169 | #if defined(X86_ASM) |
| 171 | 170 | pCtx->uiCpuFlag = WelsCPUFeatureDetect (&iCpuCores); |
| 172 | −#ifdef HAVE_CACHE_LINE_ALIGN | |
| 173 | − if (pCtx->uiCpuFlag & WELS_CPU_CACHELINE_64) { | |
| 174 | − g_uiCacheLineSize = 64; | |
| 175 | − } else if (pCtx->uiCpuFlag & WELS_CPU_CACHELINE_32) { | |
| 176 | − g_uiCacheLineSize = 32; | |
| 177 | − } | |
| 178 | −#endif//HAVE_CACHE_LINE_ALIGN | |
| 179 | 171 | #endif//X86_ASM |
| 180 | 172 | |
| 181 | 173 | pCtx->iImgWidthInPixel = 0; |