/frameworks/base/media/java/android/media/ |
D | ImageUtils.java | 162 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/ |
D | Stream.cpp | 122 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/ |
D | SimplePlayer.cpp | 359 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/ |
D | ACodecBufferChannel.cpp | 197 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/ |
D | Camera3StreamInterface.h | 138 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/ |
D | BufferProviders.cpp | 584 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/ |
D | android_media_MediaDescrambler.cpp | 226 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/ |
D | Bench.h | 41 float *dstBuffer; member
|
D | Bench.cpp | 326 float * dstPtr = &mGFlop.dstBuffer[x]; in GflopKernelC() 353 mGFlop.dstBuffer = (float *)malloc(mGFlop.imageXSize * sizeof(float)); in runGFlopsTest()
|
/frameworks/native/libs/renderengine/skia/ |
D | Cache.cpp | 366 sp<GraphicBuffer> dstBuffer = in primeShaderCache() local 371 std::make_shared<impl::ExternalTexture>(dstBuffer, *renderengine, in primeShaderCache()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | DepthCompositeStream.cpp | 255 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()
|
D | HeicCompositeStream.cpp | 1137 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/ |
D | null_driver_gen.h | 145 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/ |
D | api_gen.cpp | 507 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/ |
D | BufferProviders.h | 217 virtual void processFrames(void *dstBuffer, size_t *dstFrames,
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBufferChannel.cpp | 649 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()
|
D | CCodecBuffers.cpp | 254 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/ |
D | CameraTestUtils.java | 1692 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/ |
D | ATSParser.cpp | 1597 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/ |
D | SampleFilterPlugin.cpp | 682 sp<GraphicBuffer> dstBuffer = new GraphicBuffer( in processLoop() local 738 clientCompositionDisplay, clientCompositionLayers, dstBuffer.get(), in processLoop()
|