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

Function ClearEndOfLinePadding

codec/encoder/core/src/wels_preprocess.cpp:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39namespace {
40
41void ClearEndOfLinePadding (uint8_t* pData, int32_t iStride, int32_t iWidth, int32_t iHeight) {
42 if (iWidth < iStride) {
43 for (int32_t i = 0; i < iHeight; ++i)
44 memset (pData + i * iStride + iWidth, 0, iStride - iWidth);
45 }
46}
47
48} // anon ns.
49

Callers 1

WelsInitScaledPicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected