| 3344 | } |
| 3345 | |
| 3346 | void McChroma_mmi(const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, |
| 3347 | int32_t iDstStride, int16_t iMvX, int16_t iMvY, |
| 3348 | int32_t iWidth, int32_t iHeight) { |
| 3349 | static const PMcChromaWidthExtFunc kpMcChromaWidthFuncs[2] = { |
| 3350 | McChromaWidthEq4_mmi, |
| 3351 | McChromaWidthEq8_mmi |
| 3352 | }; |
| 3353 | const int32_t kiD8x = iMvX & 0x07; |
| 3354 | const int32_t kiD8y = iMvY & 0x07; |
| 3355 | if (kiD8x == 0 && kiD8y == 0) { |
| 3356 | McCopy_mmi (pSrc, iSrcStride, pDst, iDstStride, iWidth, iHeight); |
| 3357 | return; |
| 3358 | } |
| 3359 | if (iWidth != 2) { |
| 3360 | kpMcChromaWidthFuncs[iWidth >> 3] (pSrc, iSrcStride, pDst, iDstStride, |
| 3361 | g_kuiABCD[kiD8y][kiD8x], iHeight); |
| 3362 | } else |
| 3363 | McChromaWithFragMv_c (pSrc, iSrcStride, pDst, iDstStride, iMvX, iMvY, |
| 3364 | iWidth, iHeight); |
| 3365 | } |
| 3366 | |
| 3367 | void McHorVer20WidthEq8_mmi(const uint8_t *pSrc, int iSrcStride, uint8_t *pDst, |
| 3368 | int iDstStride, int iHeight) { |
nothing calls this directly
no test coverage detected