Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DImageUtils.java127 ByteBuffer dstBuffer = null; in imageCopy() local
132 dstBuffer = dstPlanes[i].getBuffer(); in imageCopy()
133 if (!(srcBuffer.isDirect() && dstBuffer.isDirect())) { in imageCopy()
146 dstBuffer.rewind(); in imageCopy()
149 dstBuffer.put(srcBuffer); in imageCopy()
154 int dstOffset = dstBuffer.position(); in imageCopy()
167 directByteBufferCopy(srcBuffer, srcOffset, dstBuffer, dstOffset, srcByteCount); in imageCopy()
174 dstBuffer.rewind(); in imageCopy()
278 ByteBuffer dstBuffer, int dstOffset, int srcByteCount) { in directByteBufferCopy() argument
279 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.cpp359 const sp<MediaCodecBuffer> &dstBuffer = state->mBuffers[0].itemAt(index); 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()
368 dstBuffer->size(), in onPrepare()
486 const sp<MediaCodecBuffer> &dstBuffer = in onDoMoreStuff() local
488 sp<ABuffer> abuffer = new ABuffer(dstBuffer->base(), dstBuffer->capacity()); in onDoMoreStuff()
492 dstBuffer->setRange(abuffer->offset(), abuffer->size()); in onDoMoreStuff()
499 dstBuffer->offset(), in onDoMoreStuff()
500 dstBuffer->size(), in onDoMoreStuff()
/frameworks/av/media/libstagefright/
DACodecBufferChannel.cpp173 DestinationBuffer dstBuffer; in queueSecureInputBuffer() local
175 dstBuffer.type = BufferType::NATIVE_HANDLE; in queueSecureInputBuffer()
176 dstBuffer.secureMemory = hidl_handle(secureHandle); in queueSecureInputBuffer()
178 dstBuffer.type = BufferType::SHARED_MEMORY; in queueSecureInputBuffer()
179 dstBuffer.nonsecureMemory = srcBuffer; in queueSecureInputBuffer()
197 dstBuffer, in queueSecureInputBuffer()
220 if (dstBuffer.type == BufferType::SHARED_MEMORY) { in queueSecureInputBuffer()
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp561 void TimestretchBufferProvider::processFrames(void *dstBuffer, size_t *dstFrames, in processFrames() argument
584 memcpy(dstBuffer, srcBuffer, copySize); in processFrames()
589 memcpy((uint8_t*)dstBuffer + mFrameSize * count, in processFrames()
596 memset(dstBuffer,0, mFrameSize * *dstFrames); in processFrames()
615 *dstFrames = sonicReadFloatFromStream(mSonicStream, (float*)dstBuffer, *dstFrames); in processFrames()
622 *dstFrames = sonicReadShortFromStream(mSonicStream, (short*)dstBuffer, *dstFrames); in processFrames()
/frameworks/base/media/jni/
Dandroid_media_MediaDescrambler.cpp226 DestinationBuffer dstBuffer; in descramble() local
227 dstBuffer.type = BufferType::SHARED_MEMORY; in descramble()
228 dstBuffer.nonsecureMemory = mDescramblerSrcBuffer; in descramble()
235 dstBuffer, in descramble()
/frameworks/base/tests/JankBench/app/src/main/jni/
DBench.h41 float *dstBuffer; member
DBench.cpp326 float * dstPtr = &mGFlop.dstBuffer[x]; in GflopKernelC()
353 mGFlop.dstBuffer = (float *)malloc(mGFlop.imageXSize * sizeof(float)); in runGFlopsTest()
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp457 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer
461 …commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t region…
462 VKAPI_ATTR void CmdUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dst…
463 VKAPI_ATTR void CmdFillBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOf…
476 …QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize ds…
1216 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer in CmdCopyBuffer() argument
1217 …GetData(commandBuffer).dispatch.CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pR… in CmdCopyBuffer()
1232 …commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t region… in CmdCopyImageToBuffer() argument
1233 ….dispatch.CmdCopyImageToBuffer(commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pR… in CmdCopyImageToBuffer()
1236 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/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp255 void *dstBuffer; in processInputFrame() local
297 res = gb->lockAsync(GRALLOC_USAGE_SW_WRITE_OFTEN, &dstBuffer, fenceFd); in processInputFrame()
359 res = mDepthPhotoProcess(depthPhoto, finalJpegBufferSize, dstBuffer, &actualJpegSize); in processInputFrame()
381 uint8_t* header = static_cast<uint8_t *> (dstBuffer) + in processInputFrame()
DHeicCompositeStream.cpp1050 void* dstBuffer; in processCompletedInputFrame() local
1051 auto res = gb->lockAsync(GRALLOC_USAGE_SW_WRITE_OFTEN, &dstBuffer, inputFrame.fenceFd); in processCompletedInputFrame()
1066 ssize_t bytesRead = read(inputFrame.fileFd, dstBuffer, fSize); in processCompletedInputFrame()
1076 uint8_t *header = static_cast<uint8_t*>(dstBuffer) + mMaxHeicBufferSize - sizeof(CameraBlob); in processCompletedInputFrame()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp462 DestinationBuffer dstBuffer; in queueSecureInputBuffer() local
464 dstBuffer.type = BufferType::NATIVE_HANDLE; in queueSecureInputBuffer()
465 dstBuffer.secureMemory = hidl_handle(encryptedBuffer->handle()); in queueSecureInputBuffer()
467 dstBuffer.type = BufferType::SHARED_MEMORY; in queueSecureInputBuffer()
468 dstBuffer.nonsecureMemory = srcBuffer; in queueSecureInputBuffer()
486 dstBuffer, in queueSecureInputBuffer()
509 if (dstBuffer.type == BufferType::SHARED_MEMORY) { in queueSecureInputBuffer()
/frameworks/av/media/libmedia/include/media/
DBufferProviders.h199 virtual void processFrames(void *dstBuffer, size_t *dstFrames,
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1692 ByteBuffer dstBuffer = null; in imageCopy() local
1697 dstBuffer = dstPlanes[i].getBuffer(); in imageCopy()
1698 dstBuffer.rewind(); in imageCopy()
1699 dstBuffer.put(srcBuffer); in imageCopy()
1701 dstBuffer.rewind(); in imageCopy()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp1597 DestinationBuffer dstBuffer; in flushScrambled() local
1598 dstBuffer.type = BufferType::SHARED_MEMORY; in flushScrambled()
1599 dstBuffer.nonsecureMemory = mDescramblerSrcBuffer; in flushScrambled()
1606 dstBuffer, in flushScrambled()
/frameworks/native/vulkan/api/
Dvulkan.api9544 VkBuffer dstBuffer,
9549 dstBufferObject := GetBuffer(dstBuffer)
9559 bindCommandBuffer(commandBuffer, dstBuffer, dstBufferObject.memory)
9647 VkBuffer dstBuffer,
9652 dstBufferObject := GetBuffer(dstBuffer)
9662 bindCommandBuffer(commandBuffer, dstBuffer, dstBufferObject.memory)
9670 VkBuffer dstBuffer,
9675 dstBufferObject := GetBuffer(dstBuffer)
9680 bindCommandBuffer(commandBuffer, dstBuffer, dstBufferObject.memory)
9688 VkBuffer dstBuffer,
[all …]