Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DImageUtils.java162 ByteBuffer dstBuffer = null; in imageCopy() local
167 dstBuffer = dstPlanes[i].getBuffer(); in imageCopy()
168 if (!(srcBuffer.isDirect() && dstBuffer.isDirect())) { in imageCopy()
181 dstBuffer.rewind(); in imageCopy()
184 dstBuffer.put(srcBuffer); in imageCopy()
189 int dstOffset = dstBuffer.position(); in imageCopy()
202 directByteBufferCopy(srcBuffer, srcOffset, dstBuffer, dstOffset, srcByteCount); in imageCopy()
209 dstBuffer.rewind(); in imageCopy()
317 ByteBuffer dstBuffer, int dstOffset, int srcByteCount) { in directByteBufferCopy() argument
318 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.cpp197 DestinationBuffer dstBuffer; in queueSecureInputBuffer() local
199 dstBuffer.type = BufferType::NATIVE_HANDLE; in queueSecureInputBuffer()
200 dstBuffer.secureMemory = hidl_handle(secureHandle); in queueSecureInputBuffer()
202 dstBuffer.type = BufferType::SHARED_MEMORY; in queueSecureInputBuffer()
203 dstBuffer.nonsecureMemory = srcBuffer; in queueSecureInputBuffer()
221 dstBuffer, in queueSecureInputBuffer()
244 if (dstBuffer.type == BufferType::SHARED_MEMORY) { in queueSecureInputBuffer()
403 DestinationBuffer dstBuffer; in attachEncryptedBuffer() local
405 dstBuffer.type = BufferType::NATIVE_HANDLE; in attachEncryptedBuffer()
406 dstBuffer.secureMemory = hidl_handle(secureHandle); in attachEncryptedBuffer()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamInterface.h138 status_t lockAsync(uint32_t usage, void** dstBuffer, int fenceFd) { in lockAsync() argument
143 status_t res = _buffer->lockAsync(usage, dstBuffer, fenceFd); in lockAsync()
151 status_t lockAsync(void** dstBuffer, int fenceFd) { in lockAsync() argument
152 return lockAsync(GRALLOC_USAGE_SW_WRITE_OFTEN, dstBuffer, fenceFd); in lockAsync()
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp584 void TimestretchBufferProvider::processFrames(void *dstBuffer, size_t *dstFrames, in processFrames() argument
607 memcpy(dstBuffer, srcBuffer, copySize); in processFrames()
612 memcpy((uint8_t*)dstBuffer + mFrameSize * count, in processFrames()
619 memset(dstBuffer,0, mFrameSize * *dstFrames); in processFrames()
638 *dstFrames = sonicReadFloatFromStream(mSonicStream, (float*)dstBuffer, *dstFrames); in processFrames()
645 *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/libs/renderengine/skia/
DCache.cpp366 sp<GraphicBuffer> dstBuffer = in primeShaderCache() local
371 std::make_shared<impl::ExternalTexture>(dstBuffer, *renderengine, in primeShaderCache()
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp255 void *dstBuffer; in processInputFrame() local
307 res = gbLocker.lockAsync(&dstBuffer, fenceFd); in processInputFrame()
369 res = processDepthPhotoFrame(depthPhoto, finalJpegBufferSize, dstBuffer, &actualJpegSize); in processInputFrame()
391 uint8_t* header = static_cast<uint8_t *> (dstBuffer) + in processInputFrame()
DHeicCompositeStream.cpp1137 void* dstBuffer; in processCompletedInputFrame() local
1139 auto res = gbLocker.lockAsync(&dstBuffer, inputFrame.fenceFd); in processCompletedInputFrame()
1154 ssize_t bytesRead = read(inputFrame.fileFd, dstBuffer, fSize); in processCompletedInputFrame()
1165 uint8_t *header = static_cast<uint8_t*>(dstBuffer) + mMaxHeicBufferSize - sizeof(CameraBlob); in processCompletedInputFrame()
/frameworks/native/vulkan/nulldrv/
Dnull_driver_gen.h145 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer
149 …commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t region…
150 VKAPI_ATTR void CmdUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dst…
151 VKAPI_ATTR void CmdFillBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOf…
164 …QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize ds…
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp507 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer
511 …commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t region…
512 VKAPI_ATTR void CmdUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dst…
513 VKAPI_ATTR void CmdFillBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOf…
526 …QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize ds…
1377 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer in CmdCopyBuffer() argument
1378 …GetData(commandBuffer).dispatch.CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pR… in CmdCopyBuffer()
1393 …commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t region… in CmdCopyImageToBuffer() argument
1394 ….dispatch.CmdCopyImageToBuffer(commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pR… in CmdCopyImageToBuffer()
1397 VKAPI_ATTR void CmdUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dst… in CmdUpdateBuffer() argument
[all …]
/frameworks/av/media/libaudioprocessing/include/media/
DBufferProviders.h217 virtual void processFrames(void *dstBuffer, size_t *dstFrames,
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp649 DestinationBuffer dstBuffer; in queueSecureInputBuffer() local
651 dstBuffer.type = BufferType::NATIVE_HANDLE; in queueSecureInputBuffer()
652 dstBuffer.secureMemory = hidl_handle(encryptedBuffer->handle()); in queueSecureInputBuffer()
654 dstBuffer.type = BufferType::SHARED_MEMORY; in queueSecureInputBuffer()
655 dstBuffer.nonsecureMemory = srcBuffer; in queueSecureInputBuffer()
673 dstBuffer, in queueSecureInputBuffer()
696 if (dstBuffer.type == BufferType::SHARED_MEMORY) { in queueSecureInputBuffer()
DCCodecBuffers.cpp254 sp<MediaCodecBuffer> dstBuffer = *dst; in convert() local
255 status_t err = mDataConverter->convert(srcBuffer, dstBuffer); in convert()
260 dstBuffer->setFormat(mFormatWithConverter); in convert()
/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/av/media/codec2/hidl/plugin/samples/
DSampleFilterPlugin.cpp682 sp<GraphicBuffer> dstBuffer = new GraphicBuffer( in processLoop() local
738 clientCompositionDisplay, clientCompositionLayers, dstBuffer.get(), in processLoop()