Home
last modified time | relevance | path

Searched refs:pBuffer (Results 1 – 25 of 94) sorted by relevance

1234

/third_party/openh264/codec/common/src/
Dcrt_util_safe_x.cpp63 int32_t WelsSnprintf (char* pBuffer, int32_t iSizeOfBuffer, const char* kpFormat, ...) { in WelsSnprintf() argument
69 iRc = vsnprintf_s (pBuffer, iSizeOfBuffer, _TRUNCATE, kpFormat, pArgPtr); in WelsSnprintf()
84 int32_t WelsVsnprintf (char* pBuffer, int32_t iSizeOfBuffer, const char* kpFormat, va_list pArgPtr)… in WelsVsnprintf() argument
85 int32_t iRc = vsnprintf_s (pBuffer, iSizeOfBuffer, _TRUNCATE, kpFormat, pArgPtr); in WelsVsnprintf()
108 int32_t WelsStrftime (char* pBuffer, int32_t iSize, const char* kpFormat, const SWelsTime* kpTp) { in WelsStrftime() argument
114 iRc = (int32_t)strftime (pBuffer, iSize, kpFormat, &sTimeNow); in WelsStrftime()
116 pBuffer[0] = '\0'; in WelsStrftime()
122 int32_t WelsSnprintf (char* pBuffer, int32_t iSizeOfBuffer, const char* kpFormat, ...) { in WelsSnprintf() argument
128 iRc = vsnprintf (pBuffer, iSizeOfBuffer, kpFormat, pArgPtr); //confirmed_safe_unsafe_usage in WelsSnprintf()
130 pBuffer[iSizeOfBuffer - 1] = '\0'; in WelsSnprintf()
[all …]
/third_party/openh264/codec/decoder/core/src/
Dpic_queue.cpp87 pPic->pBuffer[0] = pPic->pBuffer[1] = pPic->pBuffer[2] = NULL; in AllocPicture()
92 pPic->pBuffer[0] = static_cast<uint8_t*> (pMa->WelsMallocz (iLumaSize /* luma */ in AllocPicture()
94 WELS_VERIFY_RETURN_PROC_IF (NULL, NULL == pPic->pBuffer[0], FreePicture (pPic, pMa)); in AllocPicture()
96 memset (pPic->pBuffer[0], 128, (iLumaSize + (iChromaSize << 1))); in AllocPicture()
99 pPic->pBuffer[1] = pPic->pBuffer[0] + iLumaSize; in AllocPicture()
100 pPic->pBuffer[2] = pPic->pBuffer[1] + iChromaSize; in AllocPicture()
101 pPic->pData[0] = pPic->pBuffer[0] + (1 + pPic->iLinesize[0]) * PADDING_LENGTH; in AllocPicture()
102 …pPic->pData[1] = pPic->pBuffer[1] + /*WELS_ALIGN*/ (((1 + pPic->iLinesize[1]) * PADDING_LENGTH… in AllocPicture()
103 …pPic->pData[2] = pPic->pBuffer[2] + /*WELS_ALIGN*/ (((1 + pPic->iLinesize[2]) * PADDING_LENGTH… in AllocPicture()
140 if (pPic->pBuffer[0]) { in FreePicture()
[all …]
/third_party/openh264/codec/encoder/core/src/
Dpicture_handle.cpp76 pPic->pBuffer = (uint8_t*)pMa->WelsMalloc (iLumaSize /* luma */ in AllocPicture()
79 WELS_VERIFY_RETURN_PROC_IF (NULL, NULL == pPic->pBuffer, FreePicture (pMa, &pPic)); in AllocPicture()
82 pPic->pData[0] = pPic->pBuffer + (1 + pPic->iLineSize[0]) * PADDING_LENGTH; in AllocPicture()
83 …pPic->pData[1] = pPic->pBuffer + iLumaSize + (((1 + pPic->iLineSize[1]) * PADDING_LENGTH) >… in AllocPicture()
84 …pPic->pData[2] = pPic->pBuffer + iLumaSize + iChromaSize + (((1 + pPic->iLineSize[2]) * PAD… in AllocPicture()
133 if (NULL != pPic->pBuffer) { in FreePicture()
134 pMa->WelsFree (pPic->pBuffer, "pPic->pBuffer"); in FreePicture()
135 pPic->pBuffer = NULL; in FreePicture()
137 pPic->pBuffer = NULL; in FreePicture()
/third_party/openmax/api/1.1.2/
DOMX_Core.h402 OMX_U8* pBuffer; /**< Pointer to actual block of memory member
563 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
592 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer);
991 pBuffer) \ argument
998 pBuffer)
1067 pBuffer) \ argument
1071 pBuffer) /* Macro End */
1098 pBuffer) \ argument
1101 pBuffer) /* Macro End */
1128 pBuffer) \ argument
[all …]
DOMX_Component.h484 OMX_IN OMX_U8* pBuffer);
504 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
512 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
520 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_video_encoder_bitstream.cpp94 d3d12_video_encoder_bitstream::setup_bitstream(uint32_t uiInitBufferSize, uint8_t *pBuffer) in setup_bitstream() argument
96 m_pBitsBuffer = pBuffer; in setup_bitstream()
191 uint8_t *pBuffer = m_pBitsBuffer + iOffset; in write_byte_start_code_prevention() local
194 if (((u8Val & 0xfc) | pBuffer[-2] | pBuffer[-1]) == 0) { in write_byte_start_code_prevention()
195 *pBuffer++ = 3; in write_byte_start_code_prevention()
200 *pBuffer = u8Val; in write_byte_start_code_prevention()
/third_party/node/deps/icu-small/source/tools/toolutil/
Dflagparser.cpp119 char *pBuffer; in extractFlag() local
126 pBuffer = buffer+offset; in extractFlag()
132 if (pBuffer[i+1] == 0) { in extractFlag()
138 flag[i] = pBuffer[i]; in extractFlag()
/third_party/icu/icu4c/source/tools/toolutil/
Dflagparser.cpp119 char *pBuffer; in extractFlag() local
126 pBuffer = buffer+offset; in extractFlag()
132 if (pBuffer[i+1] == 0) { in extractFlag()
138 flag[i] = pBuffer[i]; in extractFlag()
/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_buffer.h670 … const VkBufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBuffer* pBuffer) in vn_sizeof_vkCreateBuffer() argument
683 cmd_size += vn_sizeof_simple_pointer(pBuffer); in vn_sizeof_vkCreateBuffer()
684 if (pBuffer) in vn_sizeof_vkCreateBuffer()
685 cmd_size += vn_sizeof_VkBuffer(pBuffer); in vn_sizeof_vkCreateBuffer()
690 … const VkBufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBuffer* pBuffer) in vn_encode_vkCreateBuffer() argument
702 if (vn_encode_simple_pointer(enc, pBuffer)) in vn_encode_vkCreateBuffer()
703 vn_encode_VkBuffer(enc, pBuffer); in vn_encode_vkCreateBuffer()
706 … const VkBufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBuffer* pBuffer) in vn_sizeof_vkCreateBuffer_reply() argument
716 cmd_size += vn_sizeof_simple_pointer(pBuffer); in vn_sizeof_vkCreateBuffer_reply()
717 if (pBuffer) in vn_sizeof_vkCreateBuffer_reply()
[all …]
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
Dflagparser.cpp119 char *pBuffer; in extractFlag() local
126 pBuffer = buffer+offset; in extractFlag()
132 if (pBuffer[i+1] == 0) { in extractFlag()
138 flag[i] = pBuffer[i]; in extractFlag()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalAndroid.hpp80 VkResult importAndroidHardwareBuffer(AHardwareBuffer *buffer, void **pBuffer);
81 VkResult allocateAndroidHardwareBuffer(size_t size, void **pBuffer);
82 VkResult lockAndroidHardwareBuffer(void **pBuffer);
DVkDeviceMemoryExternalAndroid.cpp230 …AHardwareBufferExternalMemory::importAndroidHardwareBuffer(AHardwareBuffer *buffer, void **pBuffer) in importAndroidHardwareBuffer() argument
237 return lockAndroidHardwareBuffer(pBuffer); in importAndroidHardwareBuffer()
240 VkResult AHardwareBufferExternalMemory::allocateAndroidHardwareBuffer(size_t size, void **pBuffer) in allocateAndroidHardwareBuffer() argument
286 return lockAndroidHardwareBuffer(pBuffer); in allocateAndroidHardwareBuffer()
289 VkResult AHardwareBufferExternalMemory::lockAndroidHardwareBuffer(void **pBuffer) in lockAndroidHardwareBuffer() argument
317 *pBuffer = ahbPlanes.planes[0].data; in lockAndroidHardwareBuffer()
/third_party/openh264/codec/encoder/core/loongarch/
Dsvc_motion_estimate_lsx.c92 uint16_t* pBuffer; in SumOf8x8BlockOfFrame_lsx() local
96 pBuffer = pFeatureOfBlock + kiWidth * y; in SumOf8x8BlockOfFrame_lsx()
100 pBuffer[x] = iSum; in SumOf8x8BlockOfFrame_lsx()
/third_party/lame/Dll/
DMP3export.pas185 pBuffer: PSmallInt;
234 pBuffer := AllocMem(dwSamples*2);
255 error := beEncodeChunk(hbeStream, toRead div 2, pBuffer^, pMP3Buffer^, toWrite);
294 FreeMem(pBuffer);
/third_party/node/deps/icu-small/source/common/
Dustr_wcs.cpp40 void **pBuffer, int32_t *pCapacity, int32_t reqCapacity, in u_growAnyBufferFromStatic() argument
47 uprv_memcpy(newBuffer, *pBuffer, (size_t)length*size); in u_growAnyBufferFromStatic()
55 if(*pBuffer!=(char *)context) { in u_growAnyBufferFromStatic()
56 uprv_free(*pBuffer); in u_growAnyBufferFromStatic()
59 *pBuffer=newBuffer; in u_growAnyBufferFromStatic()
/third_party/skia/third_party/externals/icu/source/common/
Dustr_wcs.cpp40 void **pBuffer, int32_t *pCapacity, int32_t reqCapacity, in u_growAnyBufferFromStatic() argument
47 uprv_memcpy(newBuffer, *pBuffer, (size_t)length*size); in u_growAnyBufferFromStatic()
55 if(*pBuffer!=(char *)context) { in u_growAnyBufferFromStatic()
56 uprv_free(*pBuffer); in u_growAnyBufferFromStatic()
59 *pBuffer=newBuffer; in u_growAnyBufferFromStatic()
/third_party/icu/icu4c/source/common/
Dustr_wcs.cpp40 void **pBuffer, int32_t *pCapacity, int32_t reqCapacity, in u_growAnyBufferFromStatic() argument
47 uprv_memcpy(newBuffer, *pBuffer, (size_t)length*size); in u_growAnyBufferFromStatic()
55 if(*pBuffer!=(char *)context) { in u_growAnyBufferFromStatic()
56 uprv_free(*pBuffer); in u_growAnyBufferFromStatic()
59 *pBuffer=newBuffer; in u_growAnyBufferFromStatic()
/third_party/openh264/test/encoder/
DEncUT_SVC_me.cpp47 uint16_t* pBuffer; in SumOf8x8BlockOfFrame_ref() local
51 pBuffer = pFeatureOfBlock + kiWidth * y; in SumOf8x8BlockOfFrame_ref()
55 pBuffer[x] = iSum; in SumOf8x8BlockOfFrame_ref()
67 uint16_t* pBuffer; in SumOf16x16BlockOfFrame_ref() local
71 pBuffer = pFeatureOfBlock + kiWidth * y; in SumOf16x16BlockOfFrame_ref()
75 pBuffer[x] = iSum; in SumOf16x16BlockOfFrame_ref()
/third_party/skia/include/third_party/vulkan/vulkan/
Dvulkan_android.h94 …evice, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer);
105 struct AHardwareBuffer** pBuffer);
/third_party/mesa3d/include/vulkan/
Dvulkan_android.h107 …evice, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer);
118 struct AHardwareBuffer** pBuffer);
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_android.h107 …evice, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer);
118 struct AHardwareBuffer** pBuffer);
/third_party/mesa3d/src/gallium/frontends/omx/tizonia/
Dh264eoutport.c69 (*buf)->pBuffer = NULL; in h264e_outport_AllocateBuffer()
92 buf->pBuffer = NULL; in h264e_outport_FreeBuffer()
/third_party/skia/third_party/externals/dawn/third_party/khronos/vulkan/
Dvulkan_android.h107 …evice, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer);
118 struct AHardwareBuffer** pBuffer);
/third_party/vulkan-headers/include/vulkan/
Dvulkan_android.h107 …evice, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer);
118 struct AHardwareBuffer** pBuffer);
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DWGL_NV_gpu_affinity.txt58 indirectly be created by obtaining a DC from a pBuffer handle, by
74 either be rendering to a pBuffer, or an application created
76 the pBuffer DC, which is obtained from a pBuffer handle,
78 pBuffer handle. In the latter case, the default framebuffer
249 wglGetPbufferDCARB to create an affinity-DC for the pBuffer. The
251 as the DC used to create the pBuffer handle by calling
258 application-created framebuffer object, or a pBuffer. The default
444 // Example 3 - Offscreen rendering to one GPU using a pBuffer
499 <Now draw into the pBuffer>
511 the HDC passed to wglMakeCurrent is one for a pBuffer, the
[all …]

1234