/frameworks/base/media/java/android/media/ |
D | ImageUtils.java | 165 ByteBuffer srcBuffer = null; in imageCopy() local 170 srcBuffer = srcPlanes[i].getBuffer(); in imageCopy() 172 if (!(srcBuffer.isDirect() && dstBuffer.isDirect())) { in imageCopy() 183 int srcPos = srcBuffer.position(); in imageCopy() 184 srcBuffer.rewind(); in imageCopy() 188 dstBuffer.put(srcBuffer); in imageCopy() 192 int srcOffset = srcBuffer.position(); in imageCopy() 201 int remainingBytes = srcBuffer.remaining() - srcOffset; in imageCopy() 206 directByteBufferCopy(srcBuffer, srcOffset, dstBuffer, dstOffset, srcByteCount); in imageCopy() 212 srcBuffer.position(srcPos); in imageCopy() [all …]
|
/frameworks/native/libs/renderengine/benchmark/ |
D | RenderEngineBench.cpp | 187 auto srcBuffer = in BM_blur() local 192 renderenginebench::decode(srcImage.c_str(), srcBuffer->getBuffer()); in BM_blur() 195 srcBuffer = copyBuffer(*re, srcBuffer, 0, "source"); in BM_blur() 208 .buffer = srcBuffer, in BM_blur()
|
/frameworks/base/libs/hwui/ |
D | VertexBuffer.h | 91 void copyInto(const VertexBuffer& srcBuffer, float xOffset, float yOffset) { in copyInto() argument 92 int verticesToCopy = srcBuffer.getVertexCount(); in copyInto() 95 TYPE* src = (TYPE*)srcBuffer.getBuffer(); in copyInto()
|
/frameworks/av/cmds/stagefright/ |
D | SimplePlayer.cpp | 353 const sp<ABuffer> &srcBuffer = state->mCSD.itemAt(j); in onPrepare() local 361 CHECK_LE(srcBuffer->size(), dstBuffer->capacity()); in onPrepare() 362 dstBuffer->setRange(0, srcBuffer->size()); in onPrepare() 363 memcpy(dstBuffer->data(), srcBuffer->data(), srcBuffer->size()); in onPrepare() 536 const sp<MediaCodecBuffer> &srcBuffer = in onDoMoreStuff() local 539 renderAudio(state, info, srcBuffer); in onDoMoreStuff()
|
/frameworks/base/tests/JankBench/app/src/main/jni/ |
D | Bench.h | 39 float *srcBuffer; member
|
D | Bench.cpp | 318 const float * srcPtr = &mGFlop.srcBuffer[x - halfKX]; in GflopKernelC() 352 mGFlop.srcBuffer = (float *)malloc(mGFlop.imageXSize * sizeof(float)); in runGFlopsTest()
|
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 198 hardware::cas::native::V1_0::SharedBuffer srcBuffer = { in queueSecureInputBuffer() local 210 dstBuffer.nonsecureMemory = srcBuffer; in queueSecureInputBuffer() 226 srcBuffer, in queueSecureInputBuffer() 408 hardware::cas::native::V1_0::SharedBuffer srcBuffer = { in attachEncryptedBuffer() local 420 dstBuffer.nonsecureMemory = srcBuffer; in attachEncryptedBuffer() 436 srcBuffer, in attachEncryptedBuffer()
|
/frameworks/av/media/libaudioprocessing/ |
D | BufferProviders.cpp | 592 const void *srcBuffer, size_t *srcFrames) in processFrames() argument 614 memcpy(dstBuffer, srcBuffer, copySize); in processFrames() 620 srcBuffer, mFrameSize * remaining); in processFrames() 641 if (sonicWriteFloatToStream(mSonicStream, (float*)srcBuffer, *srcFrames) != 1) { in processFrames() 648 if (sonicWriteShortToStream(mSonicStream, (short*)srcBuffer, *srcFrames) != 1) { in processFrames()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.cpp | 423 sp<MediaCodecBuffer> srcBuffer; in convert() local 425 srcBuffer = ConstLinearBlockBuffer::Allocate(mFormat, src); in convert() 427 srcBuffer = new MediaCodecBuffer(mFormat, new ABuffer(0)); in convert() 429 if (!srcBuffer) { in convert() 435 new ABuffer(mDataConverter->targetSize(srcBuffer->size()))); in convert() 438 status_t err = mDataConverter->convert(srcBuffer, dstBuffer); in convert()
|
D | CCodecBufferChannel.cpp | 857 hardware::cas::native::V1_0::SharedBuffer srcBuffer; in queueSecureInputBuffer() local 858 encryptedBuffer->fillSourceBuffer(&srcBuffer); in queueSecureInputBuffer() 866 dstBuffer.nonsecureMemory = srcBuffer; in queueSecureInputBuffer() 882 srcBuffer, in queueSecureInputBuffer()
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | BufferProviders.h | 223 const void *srcBuffer, size_t *srcFrames);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 1691 ByteBuffer srcBuffer = null; in imageCopy() local 1694 srcBuffer = srcPlanes[i].getBuffer(); in imageCopy() 1695 int srcPos = srcBuffer.position(); in imageCopy() 1696 srcBuffer.rewind(); in imageCopy() 1699 dstBuffer.put(srcBuffer); in imageCopy() 1700 srcBuffer.position(srcPos); in imageCopy()
|
/frameworks/native/libs/renderengine/skia/ |
D | Cache.cpp | 689 sp<GraphicBuffer> srcBuffer = in primeShaderCache() local 694 impl::ExternalTexture>(srcBuffer, *renderengine, in primeShaderCache()
|
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 383 std::vector<uint8_t> srcBuffer(defaultBytesCount); in encodeNFrames() local 384 char* srcData = (char*)srcBuffer.data(); in encodeNFrames()
|
/frameworks/native/vulkan/nulldrv/ |
D | null_driver_gen.h | 145 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer… 148 VKAPI_ATTR void CmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dst…
|
D | null_driver.cpp | 1434 void CmdCopyBuffer(VkCommandBuffer cmdBuffer, VkBuffer srcBuffer, VkBuffer destBuffer, uint32_t reg… in CmdCopyBuffer() argument 1443 void CmdCopyBufferToImage(VkCommandBuffer cmdBuffer, VkBuffer srcBuffer, VkImage destImage, VkImage… in CmdCopyBufferToImage() argument
|
/frameworks/av/media/codec2/hal/plugin/samples/ |
D | SampleFilterPlugin.cpp | 696 sp<GraphicBuffer> srcBuffer = new GraphicBuffer( in processLoop() local 738 layerSettings.source.buffer.buffer = srcBuffer; in processLoop()
|
/frameworks/native/vulkan/libvulkan/ |
D | api_gen.cpp | 507 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer… 510 VKAPI_ATTR void CmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dst… 1378 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer… in CmdCopyBuffer() argument 1379 …GetData(commandBuffer).dispatch.CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pR… in CmdCopyBuffer() 1390 VKAPI_ATTR void CmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dst… in CmdCopyBufferToImage() argument 1391 …GetData(commandBuffer).dispatch.CmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageL… in CmdCopyBufferToImage() 2431 VKAPI_ATTR void vkCmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuff… in vkCmdCopyBuffer() argument 2432 vulkan::api::CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions); in vkCmdCopyBuffer() 2446 VKAPI_ATTR void vkCmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage d… in vkCmdCopyBufferToImage() argument 2447 …vulkan::api::CmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount,… in vkCmdCopyBufferToImage()
|