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

Function WelsMallocz

codec/common/src/memory_align.cpp:157–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void* WelsMallocz (const uint32_t kuiSize, const char* kpTag) {
158 void* pPointer = WelsMalloc (kuiSize, kpTag, 16);
159 if (NULL == pPointer) {
160 return NULL;
161 }
162 memset (pPointer, 0, kuiSize);
163 return pPointer;
164}
165
166const uint32_t CMemoryAlign::WelsGetCacheLineSize() const {
167 return m_nCacheLineSize;

Callers 4

AllocLayerDataFunction · 0.85
InitAndAllocInputDataFunction · 0.85
TESTFunction · 0.85
InitDecoderCtxMethod · 0.85

Calls 1

WelsMallocFunction · 0.70

Tested by

no test coverage detected