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

Function MCCopyAnchor

test/encoder/EncUT_MotionCompensation.cpp:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36static void MCCopyAnchor (uint8_t* pSrc, int32_t iSrcStride, uint8_t* pDst, int32_t iDstStride, int32_t iWidth,
37 int32_t iHeight) {
38 for (int32_t y = 0; y < iHeight; y++) {
39 memcpy (pDst, pSrc, iWidth * sizeof (uint8_t));
40 pSrc += iSrcStride;
41 pDst += iDstStride;
42 }
43}
44
45static void MCHalfPelFilterAnchor (uint8_t* pDstH, uint8_t* pDstV, uint8_t* pDstHV, uint8_t* pSrc,
46 int32_t iStride, int32_t iWidth, int32_t iHeight, int16_t* pBuf) {

Callers 1

MCLumaAnchorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected