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

Function McCopy_c

codec/common/src/mc.cpp:174–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172 }
173}
174static inline void McCopy_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, int32_t iWidth,
175 int32_t iHeight) {
176 if (iWidth == 16)
177 McCopyWidthEq16_c (pSrc, iSrcStride, pDst, iDstStride, iHeight);
178 else if (iWidth == 8)
179 McCopyWidthEq8_c (pSrc, iSrcStride, pDst, iDstStride, iHeight);
180 else if (iWidth == 4)
181 McCopyWidthEq4_c (pSrc, iSrcStride, pDst, iDstStride, iHeight);
182 else //here iWidth == 2
183 McCopyWidthEq2_c (pSrc, iSrcStride, pDst, iDstStride, iHeight);
184}
185
186//horizontal filter to gain half sample, that is (2, 0) location in quarter sample
187static inline void McHorVer20_c (const uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride,

Callers 1

McChroma_cFunction · 0.85

Calls 4

McCopyWidthEq16_cFunction · 0.85
McCopyWidthEq8_cFunction · 0.85
McCopyWidthEq4_cFunction · 0.85
McCopyWidthEq2_cFunction · 0.85

Tested by

no test coverage detected