MCPcopy Create free account
hub / github.com/cisco/openh264 / McChroma_mmi

Function McChroma_mmi

codec/common/src/mc.cpp:3346–3365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3344}
3345
3346void 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
3367void McHorVer20WidthEq8_mmi(const uint8_t *pSrc, int iSrcStride, uint8_t *pDst,
3368 int iDstStride, int iHeight) {

Callers

nothing calls this directly

Calls 2

McCopy_mmiFunction · 0.85
McChromaWithFragMv_cFunction · 0.85

Tested by

no test coverage detected