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

Method WelsMallocz

codec/common/src/memory_align.cpp:117–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void* CMemoryAlign::WelsMallocz (const uint32_t kuiSize, const char* kpTag) {
118 void* pPointer = WelsMalloc (kuiSize, kpTag);
119 if (NULL == pPointer) {
120 return NULL;
121 }
122 // zero memory
123 memset (pPointer, 0, kuiSize);
124
125 return pPointer;
126}
127
128void* CMemoryAlign::WelsMalloc (const uint32_t kuiSize, const char* kpTag) {
129 void* pPointer = WelsCommon::WelsMalloc (kuiSize, kpTag, m_nCacheLineSize);

Callers 15

AllocateLayerBufferFunction · 0.80
InitParamMethod · 0.80
InitFrameBsBufferMethod · 0.80
SetUpMethod · 0.80
InitDecoderFunction · 0.80
RequestMtResourceFunction · 0.80
InitMbListDFunction · 0.80
InitDqLayersFunction · 0.80
AllocStrideTablesFunction · 0.80
RequestMemoryVaaScreenFunction · 0.80
encoder_ext.cppFile · 0.80

Calls 1

WelsMallocFunction · 0.70

Tested by

no test coverage detected