Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/vulkan_enc/
DAndroidHardwareBuffer.cpp139 VkResult getMemoryAndroidHardwareBufferANDROID(struct AHardwareBuffer **pBuffer) { in getMemoryAndroidHardwareBufferANDROID() argument
152 if (!pBuffer) return VK_ERROR_OUT_OF_HOST_MEMORY; in getMemoryAndroidHardwareBufferANDROID()
153 if (!(*pBuffer)) return VK_ERROR_OUT_OF_HOST_MEMORY; in getMemoryAndroidHardwareBufferANDROID()
155 AHardwareBuffer_acquire(*pBuffer); in getMemoryAndroidHardwareBufferANDROID()
DAndroidHardwareBuffer.h42 struct AHardwareBuffer **pBuffer);
Dgoldfish_vk_private_defs.h186 …evice, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer);
197 struct AHardwareBuffer** pBuffer);
DResourceTracker.h187 VkBuffer *pBuffer);
301 struct AHardwareBuffer** pBuffer);
DResourceTracker.cpp1517 struct AHardwareBuffer** pBuffer) { in on_vkGetMemoryAndroidHardwareBufferANDROID() argument
1543 *pBuffer = info.ahw; in on_vkGetMemoryAndroidHardwareBufferANDROID()
3816 VkBuffer *pBuffer) { in on_vkCreateBuffer() argument
3871 …es = enc->vkCreateBufferWithRequirementsGOOGLE(device, pCreateInfo, pAllocator, pBuffer, &memReqs); in on_vkCreateBuffer()
3873 res = enc->vkCreateBuffer(device, pCreateInfo, pAllocator, pBuffer); in on_vkCreateBuffer()
3880 auto it = info_VkBuffer.find(*pBuffer); in on_vkCreateBuffer()
3907 transformBufferMemoryRequirementsForGuestLocked(*pBuffer, &memReqs); in on_vkCreateBuffer()
5315 VkBuffer *pBuffer) { in on_vkCreateBuffer() argument
5318 device, pCreateInfo, pAllocator, pBuffer); in on_vkCreateBuffer()
5520 struct AHardwareBuffer** pBuffer) { in on_vkGetMemoryAndroidHardwareBufferANDROID() argument
[all …]
DVkEncoder.h266 VkBuffer* pBuffer);
1662 AHardwareBuffer** pBuffer);
1806 VkBuffer* pBuffer,
DVkEncoder.cpp3771 VkBuffer* pBuffer) in vkCreateBuffer() argument
3820 countingStream->handleMapping()->mapHandles_VkBuffer_u64(pBuffer, &cgen_var_245, 1); in vkCreateBuffer()
3841 stream->handleMapping()->mapHandles_VkBuffer_u64(pBuffer, &cgen_var_248, 1); in vkCreateBuffer()
3848 stream->handleMapping()->mapHandles_u64_VkBuffer(&cgen_var_249, (VkBuffer*)pBuffer, 1); in vkCreateBuffer()
22194 AHardwareBuffer** pBuffer) in vkGetMemoryAndroidHardwareBufferANDROID() argument
22223 countingStream->write((AHardwareBuffer**)pBuffer, sizeof(AHardwareBuffer*)); in vkGetMemoryAndroidHardwareBufferANDROID()
22234 stream->write((AHardwareBuffer**)pBuffer, sizeof(AHardwareBuffer*)); in vkGetMemoryAndroidHardwareBufferANDROID()
22236 stream->read((AHardwareBuffer**)pBuffer, sizeof(AHardwareBuffer*)); in vkGetMemoryAndroidHardwareBufferANDROID()
23721 VkBuffer* pBuffer, in vkCreateBufferWithRequirementsGOOGLE() argument
23771 countingStream->handleMapping()->mapHandles_VkBuffer_u64(pBuffer, &cgen_var_1529, 1); in vkCreateBufferWithRequirementsGOOGLE()
[all …]
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/
DGoldfishAVCDec.cpp210 mInPBuffer = inHeader->pBuffer + inHeader->nOffset + mInputOffset; in setDecodeArgs()
212 inHeader->pBuffer, (int)(inHeader->nOffset + mInputOffset), (int)mInputOffset); in setDecodeArgs()
224 mOutHeaderBuf = outHeader->pBuffer; in setDecodeArgs()
266 memcpy(outHeader->pBuffer + i * myStride, img.data + i * mWidth, mWidth); in copyImageData()
270 …memcpy(outHeader->pBuffer + Y + i * myStride / 2 , img.data + mWidth * mHeight + i * mWidth/2, mWi… in copyImageData()
274 …memcpy(outHeader->pBuffer + Y + UV + i * myStride / 2 , img.data + mWidth * mHeight * 5/4 + i * mW… in copyImageData()
474 memcpy(outHeader->pBuffer, img.data, outHeader->nFilledLen); in onQueueFilled()
/device/generic/goldfish-opengl/system/codecs/omx/plugin/
DSimpleGoldfishOMXComponent.cpp255 (*header)->pBuffer = ptr; in useBufferCallerLockedAlready()
337 CHECK(header->pPlatformPrivate == header->pBuffer); in freeBuffer()
339 delete[] header->pBuffer; in freeBuffer()
340 header->pBuffer = NULL; in freeBuffer()
/device/generic/goldfish-opengl/system/codecs/omx/vpxdec/
DGoldfishVPX.cpp210 uint8_t *dst = outHeader->pBuffer; in outputBuffers()
334 int err = vpx_codec_decode(mCtx, inHeader->pBuffer + inHeader->nOffset, in onQueueFilled()
/device/generic/goldfish-opengl/system/vulkan/
Dfunc_table.cpp601 VkBuffer* pBuffer) in entry_vkCreateBuffer() argument
607 …return = resources->on_vkCreateBuffer(vkEnc, VK_SUCCESS, device, pCreateInfo, pAllocator, pBuffer); in entry_vkCreateBuffer()
4751 AHardwareBuffer** pBuffer) in entry_vkGetMemoryAndroidHardwareBufferANDROID() argument
4757 …= resources->on_vkGetMemoryAndroidHardwareBufferANDROID(vkEnc, VK_SUCCESS, device, pInfo, pBuffer); in entry_vkGetMemoryAndroidHardwareBufferANDROID()
4763 AHardwareBuffer** pBuffer) in dynCheck_entry_vkGetMemoryAndroidHardwareBufferANDROID() argument
4773 …= resources->on_vkGetMemoryAndroidHardwareBufferANDROID(vkEnc, VK_SUCCESS, device, pInfo, pBuffer); in dynCheck_entry_vkGetMemoryAndroidHardwareBufferANDROID()
5209 VkBuffer* pBuffer, in entry_vkCreateBufferWithRequirementsGOOGLE() argument
5215 …c->vkCreateBufferWithRequirementsGOOGLE(device, pCreateInfo, pAllocator, pBuffer, pMemoryRequireme… in entry_vkCreateBufferWithRequirementsGOOGLE()
5222 VkBuffer* pBuffer, in dynCheck_entry_vkCreateBufferWithRequirementsGOOGLE() argument
5233 …c->vkCreateBufferWithRequirementsGOOGLE(device, pCreateInfo, pAllocator, pBuffer, pMemoryRequireme… in dynCheck_entry_vkCreateBufferWithRequirementsGOOGLE()