Home
last modified time | relevance | path

Searched refs:kiAlignedBytes (Results 1 – 2 of 2) sorted by relevance

/third_party/openh264/codec/processing/src/common/
Dmemory.cpp41 const int32_t kiAlignedBytes = ALIGNBYTES - 1; in WelsMalloc() local
43 …uint8_t* pBuf = (uint8_t*) ::malloc (kuiSize + kiAlignedBytes + kiSizeVoidPointer + kiSize… in WelsMalloc()
50 WelsMemset (pBuf, 0, kuiSize + kiAlignedBytes + kiSizeVoidPointer + kiSizeInt32); in WelsMalloc()
52 pAlignedBuf = pBuf + kiAlignedBytes + kiSizeVoidPointer + kiSizeInt32; in WelsMalloc()
53 pAlignedBuf -= WelsCastFromPointer (pAlignedBuf) & kiAlignedBytes; in WelsMalloc()
/third_party/openh264/codec/common/src/
Dmemory_align.cpp67 const uint32_t kiAlignedBytes = kiAlign - 1; in WelsMalloc() local
68 …const uint32_t kiTrialRequestedSize = kuiSize + kiAlignedBytes + kiSizeOfVoidPointer + kiSizeOf… in WelsMalloc()
93 pAlignedBuffer = pBuf + kiAlignedBytes + kiSizeOfVoidPointer + kiSizeOfInt; in WelsMalloc()
94 pAlignedBuffer -= ((uintptr_t) pAlignedBuffer & kiAlignedBytes); in WelsMalloc()