Home
last modified time | relevance | path

Searched refs:dstBuffer (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/media/java/android/media/
DImageUtils.java120 ByteBuffer dstBuffer = null; in imageCopy() local
125 dstBuffer = dstPlanes[i].getBuffer(); in imageCopy()
126 if (!(srcBuffer.isDirect() && dstBuffer.isDirect())) { in imageCopy()
139 dstBuffer.rewind(); in imageCopy()
142 dstBuffer.put(srcBuffer); in imageCopy()
147 int dstOffset = dstBuffer.position(); in imageCopy()
160 directByteBufferCopy(srcBuffer, srcOffset, dstBuffer, dstOffset, srcByteCount); in imageCopy()
167 dstBuffer.rewind(); in imageCopy()
266 ByteBuffer dstBuffer, int dstOffset, int srcByteCount) { in directByteBufferCopy() argument
267 Memory.memmove(dstBuffer, dstOffset, srcBuffer, srcOffset, srcByteCount); in directByteBufferCopy()
/frameworks/ex/framesequence/jni/
DStream.cpp122 size_t JavaInputStream::doRead(void* dstBuffer, size_t size) { in doRead() argument
134 mEnv->GetByteArrayRegion(mByteArray, 0, bytesRead, (jbyte*)dstBuffer); in doRead()
135 dstBuffer = (char*)dstBuffer + bytesRead; in doRead()
/frameworks/av/cmds/stagefright/
DSimplePlayer.cpp358 const sp<ABuffer> &dstBuffer = state->mBuffers[0].itemAt(index); in onPrepare() local
360 CHECK_LE(srcBuffer->size(), dstBuffer->capacity()); in onPrepare()
361 dstBuffer->setRange(0, srcBuffer->size()); in onPrepare()
362 memcpy(dstBuffer->data(), srcBuffer->data(), srcBuffer->size()); in onPrepare()
367 dstBuffer->size(), in onPrepare()
485 const sp<ABuffer> &dstBuffer = in onDoMoreStuff() local
488 err = mExtractor->readSampleData(dstBuffer); in onDoMoreStuff()
496 dstBuffer->offset(), in onDoMoreStuff()
497 dstBuffer->size(), in onDoMoreStuff()
/frameworks/av/services/audioflinger/
DBufferProviders.cpp471 void TimestretchBufferProvider::processFrames(void *dstBuffer, size_t *dstFrames, in processFrames() argument
494 memcpy(dstBuffer, srcBuffer, copySize); in processFrames()
499 memcpy((uint8_t*)dstBuffer + mFrameSize * count, in processFrames()
506 memset(dstBuffer,0, mFrameSize * *dstFrames); in processFrames()
525 *dstFrames = sonicReadFloatFromStream(mSonicStream, (float*)dstBuffer, *dstFrames); in processFrames()
532 *dstFrames = sonicReadShortFromStream(mSonicStream, (short*)dstBuffer, *dstFrames); in processFrames()
DBufferProviders.h172 virtual void processFrames(void *dstBuffer, size_t *dstFrames,
/frameworks/base/libs/hwui/
DDisplayListCanvas.h255 T* dstBuffer = (T*) mDisplayList->allocator.alloc<T>(count * sizeof(T)); in refBuffer() local
256 memcpy(dstBuffer, srcBuffer, count * sizeof(T)); in refBuffer()
257 return dstBuffer; in refBuffer()
DRecordingCanvas.h223 T* dstBuffer = (T*) mDisplayList->allocator.alloc<T>(count * sizeof(T)); in refBuffer() local
224 memcpy(dstBuffer, srcBuffer, count * sizeof(T)); in refBuffer()
225 return dstBuffer; in refBuffer()
DPathTessellator.cpp793 static void instanceVertices(VertexBuffer& srcBuffer, VertexBuffer& dstBuffer, in instanceVertices() argument
799 dstBuffer.alloc<TYPE>(numPoints * verticesPerPoint + (numPoints - 1) * 2); in instanceVertices()
803 dstBuffer.copyInto<TYPE>(srcBuffer, points[i + 0], points[i + 1]); in instanceVertices()
805 dstBuffer.createDegenerateSeparators<TYPE>(verticesPerPoint); in instanceVertices()
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp392 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer
396 …commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t region…
397 VKAPI_ATTR void CmdUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dst…
398 VKAPI_ATTR void CmdFillBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOf…
411 …QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize ds…
1058 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer in CmdCopyBuffer() argument
1059 …GetData(commandBuffer).dispatch.CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pR… in CmdCopyBuffer()
1074 …commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t region… in CmdCopyImageToBuffer() argument
1075 ….dispatch.CmdCopyImageToBuffer(commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pR… in CmdCopyImageToBuffer()
1078 VKAPI_ATTR void CmdUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dst… in CmdUpdateBuffer() argument
[all …]
/frameworks/native/vulkan/nulldrv/
Dnull_driver_gen.h143 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer
147 …commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t region…
148 VKAPI_ATTR void CmdUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dst…
149 VKAPI_ATTR void CmdFillBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOf…
162 …QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize ds…
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1620 ByteBuffer dstBuffer = null; in imageCopy() local
1625 dstBuffer = dstPlanes[i].getBuffer(); in imageCopy()
1626 dstBuffer.rewind(); in imageCopy()
1627 dstBuffer.put(srcBuffer); in imageCopy()
1629 dstBuffer.rewind(); in imageCopy()
/frameworks/native/vulkan/include/vulkan/
Dvulkan.h2345 …CopyBuffer)(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t region…
2349 …commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t region…
2350 typedef void (VKAPI_PTR *PFN_vkCmdUpdateBuffer)(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, …
2351 typedef void (VKAPI_PTR *PFN_vkCmdFillBuffer)(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, Vk…
2364 …QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize ds…
2991 VkBuffer dstBuffer,
3026 VkBuffer dstBuffer,
3032 VkBuffer dstBuffer,
3039 VkBuffer dstBuffer,
3139 VkBuffer dstBuffer,
/frameworks/native/vulkan/api/
Dvulkan.api4444 VkBuffer dstBuffer,
4449 dstBufferObject := GetBuffer(dstBuffer)
4459 bindCommandBuffer(commandBuffer, dstBuffer, dstBufferObject.memory)
4547 VkBuffer dstBuffer,
4552 dstBufferObject := GetBuffer(dstBuffer)
4562 bindCommandBuffer(commandBuffer, dstBuffer, dstBufferObject.memory)
4570 VkBuffer dstBuffer,
4575 dstBufferObject := GetBuffer(dstBuffer)
4580 bindCommandBuffer(commandBuffer, dstBuffer, dstBufferObject.memory)
4588 VkBuffer dstBuffer,
[all …]