Home
last modified time | relevance | path

Searched refs:srcBuffer (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/media/java/android/media/
DImageUtils.java165 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/
DRenderEngineBench.cpp187 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/
DVertexBuffer.h91 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/
DSimplePlayer.cpp353 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/
DBench.h39 float *srcBuffer; member
DBench.cpp318 const float * srcPtr = &mGFlop.srcBuffer[x - halfKX]; in GflopKernelC()
352 mGFlop.srcBuffer = (float *)malloc(mGFlop.imageXSize * sizeof(float)); in runGFlopsTest()
/frameworks/av/media/libstagefright/
DACodecBufferChannel.cpp198 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/
DBufferProviders.cpp592 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/
DCCodecBuffers.cpp423 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()
DCCodecBufferChannel.cpp857 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/
DBufferProviders.h223 const void *srcBuffer, size_t *srcFrames);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1691 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/
DCache.cpp689 sp<GraphicBuffer> srcBuffer = in primeShaderCache() local
694 impl::ExternalTexture>(srcBuffer, *renderengine, in primeShaderCache()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp383 std::vector<uint8_t> srcBuffer(defaultBytesCount); in encodeNFrames() local
384 char* srcData = (char*)srcBuffer.data(); in encodeNFrames()
/frameworks/native/vulkan/nulldrv/
Dnull_driver_gen.h145 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer…
148 VKAPI_ATTR void CmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dst…
Dnull_driver.cpp1434 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/
DSampleFilterPlugin.cpp696 sp<GraphicBuffer> srcBuffer = new GraphicBuffer( in processLoop() local
738 layerSettings.source.buffer.buffer = srcBuffer; in processLoop()
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp507 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()