Home
last modified time | relevance | path

Searched refs:kuiSize (Results 1 – 6 of 6) sorted by relevance

/third_party/openh264/codec/processing/src/common/
Dmemory.cpp38 void* WelsMalloc (const uint32_t kuiSize, char* pTag) { in WelsMalloc() argument
43 …uint8_t* pBuf = (uint8_t*) ::malloc (kuiSize + kiAlignedBytes + kiSizeVoidPointer + kiSize… in WelsMalloc()
50 WelsMemset (pBuf, 0, kuiSize + kiAlignedBytes + kiSizeVoidPointer + kiSizeInt32); in WelsMalloc()
55 * ((int32_t*) (pAlignedBuf - (kiSizeVoidPointer + kiSizeInt32))) = kuiSize; in WelsMalloc()
70 void* InternalReallocate (void* pPointer, const uint32_t kuiSize, char* pTag) { in InternalReallocate() argument
76 return WelsMalloc (kuiSize, pTag); in InternalReallocate()
78 pNew = (uint8_t*)WelsMalloc (kuiSize, pTag); in InternalReallocate()
80 if (iOldSize > 0 && kuiSize > 0 && iOldSize >= kuiSize) in InternalReallocate()
83 } else if (iOldSize > 0 && kuiSize > 0) in InternalReallocate()
84 memcpy (pNew, pPointer, (iOldSize < kuiSize) ? iOldSize : kuiSize); in InternalReallocate()
[all …]
Dmemory.h73 void* WelsMalloc (const uint32_t kuiSize, char* pTag = NULL);
103 void* WelsRealloc (void* pPointer, uint32_t* pRealSize, const uint32_t kuiSize, char* pTag = NULL);
/third_party/openh264/codec/common/src/
Dmemory_align.cpp64 void* WelsMalloc (const uint32_t kuiSize, const char* kpTag, const uint32_t kiAlign) { in WelsMalloc() argument
68 …const uint32_t kiTrialRequestedSize = kuiSize + kiAlignedBytes + kiSizeOfVoidPointer + kiSizeOf… in WelsMalloc()
70 const uint32_t kiPayloadSize = kuiSize; in WelsMalloc()
85 (void*)pBuf, kiActualRequestedSize, kuiSize, nCountRequestNum++, kpTag); in WelsMalloc()
88 kiActualRequestedSize, kuiSize, nCountRequestNum++); in WelsMalloc()
117 void* CMemoryAlign::WelsMallocz (const uint32_t kuiSize, const char* kpTag) { in WelsMallocz() argument
118 void* pPointer = WelsMalloc (kuiSize, kpTag); in WelsMallocz()
123 memset (pPointer, 0, kuiSize); in WelsMallocz()
128 void* CMemoryAlign::WelsMalloc (const uint32_t kuiSize, const char* kpTag) { in WelsMalloc() argument
129 void* pPointer = WelsCommon::WelsMalloc (kuiSize, kpTag, m_nCacheLineSize); in WelsMalloc()
[all …]
/third_party/openh264/codec/decoder/core/src/
Dmemmgr_nal_unit.cpp47 int32_t MemInitNalList (PAccessUnit* ppAu, const uint32_t kuiSize, CMemoryAlign* pMa) { in MemInitNalList() argument
51 const uint32_t kuiSizeNalUnitPtr = kuiSize * sizeof (PNalUnit); in MemInitNalList()
53 …const uint32_t kuiCountSize = (kuiSizeAu + kuiSizeNalUnitPtr + kuiSize * kuiSizeNalUnit) * sizeof … in MemInitNalList()
55 if (kuiSize == 0) in MemInitNalList()
74 } while (uiIdx < kuiSize); in MemInitNalList()
76 (*ppAu)->uiCountUnitsNum = kuiSize; in MemInitNalList()
/third_party/openh264/codec/common/inc/
Dmemory_align.h59 void* WelsMallocz (const uint32_t kuiSize, const char* kpTag);
60 void* WelsMalloc (const uint32_t kuiSize, const char* kpTag);
89 void* WelsMallocz (const uint32_t kuiSize, const char* kpTag);
/third_party/openh264/codec/decoder/core/inc/
Dmemmgr_nal_unit.h51 int32_t MemInitNalList (PAccessUnit* ppAu, const uint32_t kuiSize, CMemoryAlign* pMa);