Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/filters/
DZeroFilter.cpp41 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) { in processBuffers() argument
44 uint32_t* src = (uint32_t*)srcBuffer->data(); in processBuffers()
46 for (size_t i = 0; i < srcBuffer->size() / 4; ++i) { in processBuffers()
50 memcpy(outBuffer->data(), srcBuffer->data(), srcBuffer->size()); in processBuffers()
52 outBuffer->setRange(0, srcBuffer->size()); in processBuffers()
DRSFilter.cpp88 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) { in processBuffers() argument
89 mAllocIn->copy1DRangeFrom(0, mWidth * mHeight, srcBuffer->data()); in processBuffers()
DIntrinsicBlurFilter.cpp91 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) { in processBuffers() argument
92 mAllocIn->copy1DRangeFrom(0, mWidth * mHeight, srcBuffer->data()); in processBuffers()
DZeroFilter.h32 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
DSimpleFilter.h40 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) = 0;
DIntrinsicBlurFilter.h34 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
DSaturationFilter.h36 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
DRSFilter.h38 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
/frameworks/base/media/java/android/media/
DImageUtils.java126 ByteBuffer srcBuffer = null; in imageCopy() local
131 srcBuffer = srcPlanes[i].getBuffer(); in imageCopy()
133 if (!(srcBuffer.isDirect() && dstBuffer.isDirect())) { in imageCopy()
144 int srcPos = srcBuffer.position(); in imageCopy()
145 srcBuffer.rewind(); in imageCopy()
149 dstBuffer.put(srcBuffer); in imageCopy()
153 int srcOffset = srcBuffer.position(); in imageCopy()
162 int remainingBytes = srcBuffer.remaining() - srcOffset; in imageCopy()
167 directByteBufferCopy(srcBuffer, srcOffset, dstBuffer, dstOffset, srcByteCount); in imageCopy()
173 srcBuffer.position(srcPos); in imageCopy()
[all …]
/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()
Dmediafilter.cpp186 const sp<MediaCodecBuffer> &srcBuffer = in tryCopyDecodedBuffer() local
212 srcBuffer->data(), in tryCopyDecodedBuffer()
213 srcBuffer->data() + srcStride * srcSliceHeight, in tryCopyDecodedBuffer()
220 CHECK(srcBuffer->meta()->findInt64("timeUs", &timeUs)); in tryCopyDecodedBuffer()
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp562 const void *srcBuffer, size_t *srcFrames) in processFrames() argument
584 memcpy(dstBuffer, srcBuffer, copySize); in processFrames()
590 srcBuffer, mFrameSize * remaining); in processFrames()
611 if (sonicWriteFloatToStream(mSonicStream, (float*)srcBuffer, *srcFrames) != 1) { in processFrames()
618 if (sonicWriteShortToStream(mSonicStream, (short*)srcBuffer, *srcFrames) != 1) { in processFrames()
/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.cpp191 hardware::cas::native::V1_0::SharedBuffer srcBuffer = { in queueSecureInputBuffer() local
203 dstBuffer.nonsecureMemory = srcBuffer; in queueSecureInputBuffer()
219 srcBuffer, in queueSecureInputBuffer()
397 hardware::cas::native::V1_0::SharedBuffer srcBuffer = { in attachEncryptedBuffer() local
409 dstBuffer.nonsecureMemory = srcBuffer; in attachEncryptedBuffer()
425 srcBuffer, in attachEncryptedBuffer()
/frameworks/av/media/libaudioprocessing/include/media/
DBufferProviders.h200 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/vulkan/nulldrv/
Dnull_driver_gen.h144 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer…
147 VKAPI_ATTR void CmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dst…
Dnull_driver.cpp1403 void CmdCopyBuffer(VkCommandBuffer cmdBuffer, VkBuffer srcBuffer, VkBuffer destBuffer, uint32_t reg… in CmdCopyBuffer() argument
1412 void CmdCopyBufferToImage(VkCommandBuffer cmdBuffer, VkBuffer srcBuffer, VkImage destImage, VkImage… in CmdCopyBufferToImage() argument
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp456 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer…
459 VKAPI_ATTR void CmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dst…
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()
1228 VKAPI_ATTR void CmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dst… in CmdCopyBufferToImage() argument
1229 …GetData(commandBuffer).dispatch.CmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageL… in CmdCopyBufferToImage()
2068 VKAPI_ATTR void vkCmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuff… in vkCmdCopyBuffer() argument
2069 vulkan::api::CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions); in vkCmdCopyBuffer()
2083 VKAPI_ATTR void vkCmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage d… in vkCmdCopyBufferToImage() argument
2084 …vulkan::api::CmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount,… in vkCmdCopyBufferToImage()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp552 hardware::cas::native::V1_0::SharedBuffer srcBuffer; in queueSecureInputBuffer() local
553 encryptedBuffer->fillSourceBuffer(&srcBuffer); in queueSecureInputBuffer()
561 dstBuffer.nonsecureMemory = srcBuffer; in queueSecureInputBuffer()
577 srcBuffer, in queueSecureInputBuffer()