Home
last modified time | relevance | path

Searched refs:pPointer (Results 1 – 8 of 8) sorted by relevance

/third_party/openh264/codec/common/src/
Dmemory_align.cpp101 void WelsFree (void* pPointer, const char* kpTag) { in WelsFree() argument
102 if (pPointer) { in WelsFree()
106 …emChkPoint, "WelsFree(), 0x%x - %s: \t%d\t bytes \n", (void*) (* (((void**) pPointer) - 1)), kpTag, in WelsFree()
109 fprintf (fpMemChkPoint, "WelsFree(), 0x%x \n", (void*) (* (((void**) pPointer) - 1))); in WelsFree()
113 free (* (((void**) pPointer) - 1)); in WelsFree()
118 void* pPointer = WelsMalloc (kuiSize, kpTag); in WelsMallocz() local
119 if (NULL == pPointer) { in WelsMallocz()
123 memset (pPointer, 0, kuiSize); in WelsMallocz()
125 return pPointer; in WelsMallocz()
129 void* pPointer = WelsCommon::WelsMalloc (kuiSize, kpTag, m_nCacheLineSize); in WelsMalloc() local
[all …]
/third_party/openh264/test/common/
DCWelsListTest.cpp23 int* pPointer = &a; in TEST() local
29 ASSERT_TRUE (cTestList.push_back (pPointer)); in TEST()
45 int* pPointer = &a; in TEST() local
47 ASSERT_TRUE (cTestList.push_back (pPointer)); in TEST()
49 pPointer = NULL; in TEST()
50 EXPECT_FALSE (cTestList.push_back (pPointer)); in TEST()
52 EXPECT_FALSE (cTestList.findNode (pPointer)); in TEST()
54 pPointer = &a; in TEST()
55 EXPECT_TRUE (cTestList.findNode (pPointer)); in TEST()
56 ASSERT_TRUE (cTestList.push_back (pPointer)); in TEST()
[all …]
/third_party/openh264/codec/processing/src/common/
Dmemory.cpp62 void WelsFree (void* pPointer, char* pTag) { in WelsFree() argument
63 if (pPointer) { in WelsFree()
64 ::free (* (((void**) pPointer) - 1)); in WelsFree()
70 void* InternalReallocate (void* pPointer, const uint32_t kuiSize, char* pTag) { in InternalReallocate() argument
73 if (pPointer != NULL) in InternalReallocate()
74 iOldSize = * ((int32_t*) ((uint8_t*) pPointer - sizeof (void**) - sizeof (int32_t))); in InternalReallocate()
81 return (pPointer); in InternalReallocate()
84 memcpy (pNew, pPointer, (iOldSize < kuiSize) ? iOldSize : kuiSize); in InternalReallocate()
88 WelsFree (pPointer, pTag); in InternalReallocate()
94 void* WelsRealloc (void* pPointer, uint32_t* pRealSize, const uint32_t kuiSize, char* pTag) { in WelsRealloc() argument
[all …]
Dmemory.h50 inline void* WelsMemset (void* pPointer, int32_t iValue, uint32_t uiSize) { in WelsMemset() argument
51 return ::memset (pPointer, iValue, uiSize); in WelsMemset()
87 void WelsFree (void* pPointer, char* pTag = NULL);
103 void* WelsRealloc (void* pPointer, uint32_t* pRealSize, const uint32_t kuiSize, char* pTag = NULL);
/third_party/openh264/codec/common/inc/
DWelsList.h52 TNodeType* pPointer; member
105 m_pCurrent->pPointer = pNode; in push_back()
114 return m_pFirst->pPointer; in begin()
148 if (pNode == pTemp->pPointer) { in erase()
171 } while (pTemp && pTemp->pPointer); in erase()
179 if (pNode->pPointer == pNodeTarget) { in findNode()
200 return pNode->pPointer; in getNode()
214 tmpCurrentList[i].pPointer = pTemp->pPointer; in ExpandList()
230 pList[0].pPointer = NULL; in InitStorage()
234 pList[i].pPointer = NULL; in InitStorage()
[all …]
Dmemory_align.h61 void WelsFree (void* pPointer, const char* kpTag);
/third_party/openh264/test/api/
DDataGenerator.cpp9 bool YUVPixelDataGenerator (uint8_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride) { argument
36 uint8_t* pLocalPointer = pPointer;
48 void RandomPixelDataGenerator (uint8_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride)… argument
49 uint8_t* pLocalPointer = pPointer;
59 void RandomResidueDataGenerator (uint16_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStri… argument
62 void RandomCoeffDataGenerator (uint16_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride… argument
/third_party/openh264/test/utils/
DDataGenerator.h6 bool YUVPixelDataGenerator (uint8_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride);
8 void RandomPixelDataGenerator (uint8_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride);
10 void RandomResidueDataGenerator (uint16_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStri…
12 void RandomCoeffDataGenerator (uint16_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride…