Showing the changes to codec/decoder/core/src/mc.cpp (1 of 3 files). Show all
Unified · Split
| @@ -892,7 +892,7 @@ void McHorVer33_neon (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, in · 891 unmodified lines | ||
| 892 | 892 | |
| 893 | 893 | void McLuma_neon (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 894 | 894 | int16_t iMvX, int16_t iMvY, int32_t iWidth, int32_t iHeight) { |
| 895 | − static PWelsMcWidthHeightFunc pWelsMcFunc[4][4] = { //[x][y] | |
| 895 | + static const PWelsMcWidthHeightFunc pWelsMcFunc[4][4] = { //[x][y] | |
| 896 | 896 | {McCopy_neon, McHorVer01_neon, McHorVer02_neon, McHorVer03_neon}, |
| 897 | 897 | {McHorVer10_neon, McHorVer11_neon, McHorVer12_neon, McHorVer13_neon}, |
| 898 | 898 | {McHorVer20_neon, McHorVer21_neon, McHorVer22_neon, McHorVer23_neon}, |
| @@ -1143,7 +1143,7 @@ void McHorVer33_AArch64_neon (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* · 244 unmodified lines | ||
| 1143 | 1143 | |
| 1144 | 1144 | void McLuma_AArch64_neon (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 1145 | 1145 | int16_t iMvX, int16_t iMvY, int32_t iWidth, int32_t iHeight) { |
| 1146 | − static PWelsMcWidthHeightFunc pWelsMcFunc[4][4] = { //[x][y] | |
| 1146 | + static const PWelsMcWidthHeightFunc pWelsMcFunc[4][4] = { //[x][y] | |
| 1147 | 1147 | {McCopy_AArch64_neon, McHorVer01_AArch64_neon, McHorVer02_AArch64_neon, McHorVer03_AArch64_neon}, |
| 1148 | 1148 | {McHorVer10_AArch64_neon, McHorVer11_AArch64_neon, McHorVer12_AArch64_neon, McHorVer13_AArch64_neon}, |
| 1149 | 1149 | {McHorVer20_AArch64_neon, McHorVer21_AArch64_neon, McHorVer22_AArch64_neon, McHorVer23_AArch64_neon}, |