Showing the changes to codec/encoder/core/src/mc.cpp (1 of 14 files). Show all
Unified · Split
| @@ -213,28 +213,28 @@ static inline void McHorVer22WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStrid · 212 unmodified lines | |||
| 213 | /////////////////////luma MC////////////////////////// | 213 | /////////////////////luma MC////////////////////////// |
| 214 | 214 | ||
| 215 | static inline void McHorVer01WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 215 | static inline void McHorVer01WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 216 | int32_t iHeight) { | 216 | int32_t iHeight) { |
| 217 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 256, 16) | 217 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 256, 16) |
| 218 | 218 | ||
| 219 | McHorVer02WidthEq16_c (pSrc, iSrcStride, pTmp, 16, iHeight); | 219 | McHorVer02WidthEq16_c (pSrc, iSrcStride, pTmp, 16, iHeight); |
| 220 | PixelAvgWidthEq16_c (pDst, iDstStride, pSrc, iSrcStride, pTmp, 16, iHeight); | 220 | PixelAvgWidthEq16_c (pDst, iDstStride, pSrc, iSrcStride, pTmp, 16, iHeight); |
| 221 | } | 221 | } |
| 222 | static inline void McHorVer03WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 222 | static inline void McHorVer03WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 223 | int32_t iHeight) { | 223 | int32_t iHeight) { |
| 224 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 256, 16) | 224 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 256, 16) |
| 225 | 225 | ||
| 226 | McHorVer02WidthEq16_c (pSrc, iSrcStride, pTmp, 16, iHeight); | 226 | McHorVer02WidthEq16_c (pSrc, iSrcStride, pTmp, 16, iHeight); |
| 227 | PixelAvgWidthEq16_c (pDst, iDstStride, pSrc + iSrcStride, iSrcStride, pTmp, 16, iHeight); | 227 | PixelAvgWidthEq16_c (pDst, iDstStride, pSrc + iSrcStride, iSrcStride, pTmp, 16, iHeight); |
| 228 | } | 228 | } |
| 229 | static inline void McHorVer10WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 229 | static inline void McHorVer10WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 230 | int32_t iHeight) { | 230 | int32_t iHeight) { |
| 231 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 256, 16) | 231 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 256, 16) |
| 232 | 232 | ||
| 233 | McHorVer20WidthEq16_c (pSrc, iSrcStride, pTmp, 16, iHeight); | 233 | McHorVer20WidthEq16_c (pSrc, iSrcStride, pTmp, 16, iHeight); |
| 234 | PixelAvgWidthEq16_c (pDst, iDstStride, pSrc, iSrcStride, pTmp, 16, iHeight); | 234 | PixelAvgWidthEq16_c (pDst, iDstStride, pSrc, iSrcStride, pTmp, 16, iHeight); |
| 235 | } | 235 | } |
| 236 | static inline void McHorVer11WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 236 | static inline void McHorVer11WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 237 | int32_t iHeight) { | 237 | int32_t iHeight) { |
| 238 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) | 238 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) |
| 239 | 239 | ||
| 240 | McHorVer20WidthEq16_c (pSrc, iSrcStride, pTmp, 16, iHeight); | 240 | McHorVer20WidthEq16_c (pSrc, iSrcStride, pTmp, 16, iHeight); |
| @@ -242,7 +242,7 @@ static inline void McHorVer11WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStrid · 1 unmodified line | |||
| 242 | PixelAvgWidthEq16_c (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); | 242 | PixelAvgWidthEq16_c (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); |
| 243 | } | 243 | } |
| 244 | static inline void McHorVer12WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 244 | static inline void McHorVer12WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 245 | int32_t iHeight) { | 245 | int32_t iHeight) { |
| 246 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) | 246 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) |
| 247 | 247 | ||
| 248 | McHorVer02WidthEq16_c (pSrc, iSrcStride, pTmp, 16, iHeight); | 248 | McHorVer02WidthEq16_c (pSrc, iSrcStride, pTmp, 16, iHeight); |
| @@ -250,7 +250,7 @@ static inline void McHorVer12WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStrid · 1 unmodified line | |||
| 250 | PixelAvgWidthEq16_c (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); | 250 | PixelAvgWidthEq16_c (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); |
| 251 | } | 251 | } |
| 252 | static inline void McHorVer13WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 252 | static inline void McHorVer13WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 253 | int32_t iHeight) { | 253 | int32_t iHeight) { |
| 254 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) | 254 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) |
| 255 | 255 | ||
| 256 | McHorVer20WidthEq16_c (pSrc + iSrcStride, iSrcStride, pTmp, 16, iHeight); | 256 | McHorVer20WidthEq16_c (pSrc + iSrcStride, iSrcStride, pTmp, 16, iHeight); |
| @@ -258,7 +258,7 @@ static inline void McHorVer13WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStrid · 1 unmodified line | |||
| 258 | PixelAvgWidthEq16_c (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); | 258 | PixelAvgWidthEq16_c (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); |
| 259 | } | 259 | } |
| 260 | static inline void McHorVer21WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 260 | static inline void McHorVer21WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 261 | int32_t iHeight) { | 261 | int32_t iHeight) { |
| 262 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) | 262 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) |
| 263 | 263 | ||
| 264 | McHorVer20WidthEq16_c (pSrc, iSrcStride, pTmp, 16, iHeight); | 264 | McHorVer20WidthEq16_c (pSrc, iSrcStride, pTmp, 16, iHeight); |
| @@ -266,7 +266,7 @@ static inline void McHorVer21WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStrid · 1 unmodified line | |||
| 266 | PixelAvgWidthEq16_c (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); | 266 | PixelAvgWidthEq16_c (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); |
| 267 | } | 267 | } |
| 268 | static inline void McHorVer23WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 268 | static inline void McHorVer23WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 269 | int32_t iHeight) { | 269 | int32_t iHeight) { |
| 270 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) | 270 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) |
| 271 | 271 | ||
| 272 | McHorVer20WidthEq16_c (pSrc + iSrcStride, iSrcStride, pTmp, 16, iHeight); | 272 | McHorVer20WidthEq16_c (pSrc + iSrcStride, iSrcStride, pTmp, 16, iHeight); |
| @@ -274,14 +274,14 @@ static inline void McHorVer23WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStrid · 1 unmodified line | |||
| 274 | PixelAvgWidthEq16_c (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); | 274 | PixelAvgWidthEq16_c (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); |
| 275 | } | 275 | } |
| 276 | static inline void McHorVer30WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 276 | static inline void McHorVer30WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 277 | int32_t iHeight) { | 277 | int32_t iHeight) { |
| 278 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 256, 16) | 278 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 256, 16) |
| 279 | 279 | ||
| 280 | McHorVer20WidthEq16_c (pSrc, iSrcStride, pTmp, 16, iHeight); | 280 | McHorVer20WidthEq16_c (pSrc, iSrcStride, pTmp, 16, iHeight); |
| 281 | PixelAvgWidthEq16_c (pDst, iDstStride, pSrc + 1, iSrcStride, pTmp, 16, iHeight); | 281 | PixelAvgWidthEq16_c (pDst, iDstStride, pSrc + 1, iSrcStride, pTmp, 16, iHeight); |
| 282 | } | 282 | } |
| 283 | static inline void McHorVer31WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 283 | static inline void McHorVer31WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 284 | int32_t iHeight) { | 284 | int32_t iHeight) { |
| 285 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) | 285 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) |
| 286 | 286 | ||
| 287 | McHorVer20WidthEq16_c (pSrc, iSrcStride, pTmp, 16, iHeight); | 287 | McHorVer20WidthEq16_c (pSrc, iSrcStride, pTmp, 16, iHeight); |
| @@ -289,7 +289,7 @@ static inline void McHorVer31WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStrid · 1 unmodified line | |||
| 289 | PixelAvgWidthEq16_c (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); | 289 | PixelAvgWidthEq16_c (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); |
| 290 | } | 290 | } |
| 291 | static inline void McHorVer32WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 291 | static inline void McHorVer32WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 292 | int32_t iHeight) { | 292 | int32_t iHeight) { |
| 293 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) | 293 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) |
| 294 | 294 | ||
| 295 | McHorVer02WidthEq16_c (pSrc + 1, iSrcStride, pTmp, 16, iHeight); | 295 | McHorVer02WidthEq16_c (pSrc + 1, iSrcStride, pTmp, 16, iHeight); |
| @@ -297,7 +297,7 @@ static inline void McHorVer32WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStrid · 1 unmodified line | |||
| 297 | PixelAvgWidthEq16_c (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); | 297 | PixelAvgWidthEq16_c (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); |
| 298 | } | 298 | } |
| 299 | static inline void McHorVer33WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 299 | static inline void McHorVer33WidthEq16_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 300 | int32_t iHeight) { | 300 | int32_t iHeight) { |
| 301 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) | 301 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) |
| 302 | 302 | ||
| 303 | McHorVer20WidthEq16_c (pSrc + iSrcStride, iSrcStride, pTmp, 16, iHeight); | 303 | McHorVer20WidthEq16_c (pSrc + iSrcStride, iSrcStride, pTmp, 16, iHeight); |
| @@ -430,28 +430,28 @@ void McHorVer22Width9Or17Height9Or17_sse2 (const uint8_t* pSrc, int32_t iSrcStri · 126 unmodified lines | |||
| 430 | } | 430 | } |
| 431 | 431 | ||
| 432 | static inline void McHorVer01WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 432 | static inline void McHorVer01WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 433 | int32_t iHeight) { | 433 | int32_t iHeight) { |
| 434 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 256, 16) | 434 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 256, 16) |
| 435 | 435 | ||
| 436 | McHorVer02WidthEq16_sse2 (pSrc, iSrcStride, pTmp, 16, iHeight); | 436 | McHorVer02WidthEq16_sse2 (pSrc, iSrcStride, pTmp, 16, iHeight); |
| 437 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pSrc, iSrcStride, pTmp, 16, iHeight); | 437 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pSrc, iSrcStride, pTmp, 16, iHeight); |
| 438 | } | 438 | } |
| 439 | static inline void McHorVer03WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 439 | static inline void McHorVer03WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 440 | int32_t iHeight) { | 440 | int32_t iHeight) { |
| 441 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 256, 16) | 441 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 256, 16) |
| 442 | 442 | ||
| 443 | McHorVer02WidthEq16_sse2 (pSrc, iSrcStride, pTmp, 16, iHeight); | 443 | McHorVer02WidthEq16_sse2 (pSrc, iSrcStride, pTmp, 16, iHeight); |
| 444 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pSrc + iSrcStride, iSrcStride, pTmp, 16, iHeight); | 444 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pSrc + iSrcStride, iSrcStride, pTmp, 16, iHeight); |
| 445 | } | 445 | } |
| 446 | static inline void McHorVer10WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 446 | static inline void McHorVer10WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 447 | int32_t iHeight) { | 447 | int32_t iHeight) { |
| 448 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 256, 16) | 448 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 256, 16) |
| 449 | 449 | ||
| 450 | McHorVer20WidthEq16_sse2 (pSrc, iSrcStride, pTmp, 16, iHeight); | 450 | McHorVer20WidthEq16_sse2 (pSrc, iSrcStride, pTmp, 16, iHeight); |
| 451 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pSrc, iSrcStride, pTmp, 16, iHeight); | 451 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pSrc, iSrcStride, pTmp, 16, iHeight); |
| 452 | } | 452 | } |
| 453 | static inline void McHorVer11WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 453 | static inline void McHorVer11WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 454 | int32_t iHeight) { | 454 | int32_t iHeight) { |
| 455 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) | 455 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) |
| 456 | 456 | ||
| 457 | McHorVer20WidthEq16_sse2 (pSrc, iSrcStride, pTmp, 16, iHeight); | 457 | McHorVer20WidthEq16_sse2 (pSrc, iSrcStride, pTmp, 16, iHeight); |
| @@ -459,7 +459,7 @@ static inline void McHorVer11WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcSt · 1 unmodified line | |||
| 459 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); | 459 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); |
| 460 | } | 460 | } |
| 461 | static inline void McHorVer12WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 461 | static inline void McHorVer12WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 462 | int32_t iHeight) { | 462 | int32_t iHeight) { |
| 463 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) | 463 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) |
| 464 | 464 | ||
| 465 | McHorVer02WidthEq16_sse2 (pSrc, iSrcStride, pTmp, 16, iHeight); | 465 | McHorVer02WidthEq16_sse2 (pSrc, iSrcStride, pTmp, 16, iHeight); |
| @@ -467,7 +467,7 @@ static inline void McHorVer12WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcSt · 1 unmodified line | |||
| 467 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); | 467 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); |
| 468 | } | 468 | } |
| 469 | static inline void McHorVer13WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 469 | static inline void McHorVer13WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 470 | int32_t iHeight) { | 470 | int32_t iHeight) { |
| 471 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) | 471 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) |
| 472 | 472 | ||
| 473 | McHorVer20WidthEq16_sse2 (pSrc + iSrcStride, iSrcStride, pTmp, 16, iHeight); | 473 | McHorVer20WidthEq16_sse2 (pSrc + iSrcStride, iSrcStride, pTmp, 16, iHeight); |
| @@ -475,7 +475,7 @@ static inline void McHorVer13WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcSt · 1 unmodified line | |||
| 475 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); | 475 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); |
| 476 | } | 476 | } |
| 477 | static inline void McHorVer21WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 477 | static inline void McHorVer21WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 478 | int32_t iHeight) { | 478 | int32_t iHeight) { |
| 479 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) | 479 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) |
| 480 | 480 | ||
| 481 | McHorVer20WidthEq16_sse2 (pSrc, iSrcStride, pTmp, 16, iHeight); | 481 | McHorVer20WidthEq16_sse2 (pSrc, iSrcStride, pTmp, 16, iHeight); |
| @@ -483,7 +483,7 @@ static inline void McHorVer21WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcSt · 1 unmodified line | |||
| 483 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); | 483 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); |
| 484 | } | 484 | } |
| 485 | static inline void McHorVer23WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 485 | static inline void McHorVer23WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 486 | int32_t iHeight) { | 486 | int32_t iHeight) { |
| 487 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) | 487 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) |
| 488 | 488 | ||
| 489 | McHorVer20WidthEq16_sse2 (pSrc + iSrcStride, iSrcStride, pTmp, 16, iHeight); | 489 | McHorVer20WidthEq16_sse2 (pSrc + iSrcStride, iSrcStride, pTmp, 16, iHeight); |
| @@ -491,14 +491,14 @@ static inline void McHorVer23WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcSt · 1 unmodified line | |||
| 491 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); | 491 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); |
| 492 | } | 492 | } |
| 493 | static inline void McHorVer30WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 493 | static inline void McHorVer30WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 494 | int32_t iHeight) { | 494 | int32_t iHeight) { |
| 495 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 256, 16) | 495 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 256, 16) |
| 496 | 496 | ||
| 497 | McHorVer20WidthEq16_sse2 (pSrc, iSrcStride, pTmp, 16, iHeight); | 497 | McHorVer20WidthEq16_sse2 (pSrc, iSrcStride, pTmp, 16, iHeight); |
| 498 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pSrc + 1, iSrcStride, pTmp, 16, iHeight); | 498 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pSrc + 1, iSrcStride, pTmp, 16, iHeight); |
| 499 | } | 499 | } |
| 500 | static inline void McHorVer31WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 500 | static inline void McHorVer31WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 501 | int32_t iHeight) { | 501 | int32_t iHeight) { |
| 502 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) | 502 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) |
| 503 | 503 | ||
| 504 | McHorVer20WidthEq16_sse2 (pSrc, iSrcStride, pTmp, 16, iHeight); | 504 | McHorVer20WidthEq16_sse2 (pSrc, iSrcStride, pTmp, 16, iHeight); |
| @@ -506,7 +506,7 @@ static inline void McHorVer31WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcSt · 1 unmodified line | |||
| 506 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); | 506 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); |
| 507 | } | 507 | } |
| 508 | static inline void McHorVer32WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 508 | static inline void McHorVer32WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 509 | int32_t iHeight) { | 509 | int32_t iHeight) { |
| 510 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) | 510 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) |
| 511 | 511 | ||
| 512 | McHorVer02WidthEq16_sse2 (pSrc + 1, iSrcStride, pTmp, 16, iHeight); | 512 | McHorVer02WidthEq16_sse2 (pSrc + 1, iSrcStride, pTmp, 16, iHeight); |
| @@ -514,7 +514,7 @@ static inline void McHorVer32WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcSt · 1 unmodified line | |||
| 514 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); | 514 | PixelAvgWidthEq16_sse2 (pDst, iDstStride, pTmp, 16, &pTmp[256], 16, iHeight); |
| 515 | } | 515 | } |
| 516 | static inline void McHorVer33WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, | 516 | static inline void McHorVer33WidthEq16_sse2 (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, |
| 517 | int32_t iHeight) { | 517 | int32_t iHeight) { |
| 518 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) | 518 | ENFORCE_STACK_ALIGN_1D (uint8_t, pTmp, 512, 16) |
| 519 | 519 | ||
| 520 | McHorVer20WidthEq16_sse2 (pSrc + iSrcStride, iSrcStride, pTmp, 16, iHeight); | 520 | McHorVer20WidthEq16_sse2 (pSrc + iSrcStride, iSrcStride, pTmp, 16, iHeight); |