/frameworks/base/media/java/android/media/ |
H A D | ImageUtils.java | 125 ByteBuffer dstBuffer = null; 130 dstBuffer = dstPlanes[i].getBuffer(); 131 if (!(srcBuffer.isDirect() && dstBuffer.isDirect())) { 144 dstBuffer.rewind(); 147 dstBuffer.put(srcBuffer); 152 int dstOffset = dstBuffer.position(); 165 directByteBufferCopy(srcBuffer, srcOffset, dstBuffer, dstOffset, srcByteCount); 172 dstBuffer.rewind(); 273 ByteBuffer dstBuffer, int dstOffset, int srcByteCount) { 274 Memory.memmove(dstBuffer, dstOffse 272 directByteBufferCopy(ByteBuffer srcBuffer, int srcOffset, ByteBuffer dstBuffer, int dstOffset, int srcByteCount) argument [all...] |
/frameworks/base/tests/JankBench/app/src/main/jni/ |
H A D | Bench.h | 41 float *dstBuffer; member in struct:Bench::GFlop
|
/frameworks/ex/framesequence/jni/ |
H A D | Stream.cpp | 122 size_t JavaInputStream::doRead(void* dstBuffer, size_t size) { argument 134 mEnv->GetByteArrayRegion(mByteArray, 0, bytesRead, (jbyte*)dstBuffer); 135 dstBuffer = (char*)dstBuffer + bytesRead;
|
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 359 const sp<MediaCodecBuffer> &dstBuffer = state->mBuffers[0].itemAt(index); local 361 CHECK_LE(srcBuffer->size(), dstBuffer->capacity()); 362 dstBuffer->setRange(0, srcBuffer->size()); 363 memcpy(dstBuffer->data(), srcBuffer->data(), srcBuffer->size()); 368 dstBuffer->size(), 486 const sp<MediaCodecBuffer> &dstBuffer = local 488 sp<ABuffer> abuffer = new ABuffer(dstBuffer->base(), dstBuffer->capacity()); 492 dstBuffer->setRange(abuffer->offset(), abuffer->size()); 499 dstBuffer [all...] |
/frameworks/av/media/libaudioprocessing/ |
H A D | BufferProviders.cpp | 543 void TimestretchBufferProvider::processFrames(void *dstBuffer, size_t *dstFrames, argument 566 memcpy(dstBuffer, srcBuffer, copySize); 571 memcpy((uint8_t*)dstBuffer + mFrameSize * count, 578 memset(dstBuffer,0, mFrameSize * *dstFrames); 597 *dstFrames = sonicReadFloatFromStream(mSonicStream, (float*)dstBuffer, *dstFrames); 604 *dstFrames = sonicReadShortFromStream(mSonicStream, (short*)dstBuffer, *dstFrames);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaDescrambler.cpp | 226 DestinationBuffer dstBuffer; local 227 dstBuffer.type = BufferType::SHARED_MEMORY; 228 dstBuffer.nonsecureMemory = mDescramblerSrcBuffer; 235 dstBuffer,
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ATSParser.cpp | 1426 DestinationBuffer dstBuffer; local 1427 dstBuffer.type = BufferType::SHARED_MEMORY; 1428 dstBuffer.nonsecureMemory = mDescramblerSrcBuffer; 1435 dstBuffer,
|
/frameworks/base/libs/hwui/ |
H A D | PathTessellator.cpp | 753 static void instanceVertices(VertexBuffer& srcBuffer, VertexBuffer& dstBuffer, const float* points, argument 759 dstBuffer.alloc<TYPE>(numPoints * verticesPerPoint + (numPoints - 1) * 2); 763 dstBuffer.copyInto<TYPE>(srcBuffer, points[i + 0], points[i + 1]); 765 dstBuffer.createDegenerateSeparators<TYPE>(verticesPerPoint);
|
/frameworks/native/vulkan/libvulkan/ |
H A D | api_gen.cpp | 457 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions); 461 VKAPI_ATTR void CmdCopyImageToBuffer(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions); 462 VKAPI_ATTR void CmdUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void* pData); 463 VKAPI_ATTR void CmdFillBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data); 476 VKAPI_ATTR void CmdCopyQueryPoolResults(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags); 1211 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions) { argument 1212 GetData(commandBuffer).dispatch.CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions); 1227 VKAPI_ATTR void CmdCopyImageToBuffer(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions) { argument 1228 GetData(commandBuffer).dispatch.CmdCopyImageToBuffer(commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions); 1231 VKAPI_ATTR void CmdUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSiz argument 1235 CmdFillBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data) argument 1287 CmdCopyQueryPoolResults(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags) argument 2058 vkCmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions) argument 2078 vkCmdCopyImageToBuffer(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions) argument 2083 vkCmdUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void* pData) argument 2088 vkCmdFillBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data) argument 2153 vkCmdCopyQueryPoolResults(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags) argument [all...] |