Home
last modified time | relevance | path

Searched refs:srcBuffer (Results 1 – 25 of 25) 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()
DSaturationFilter.cpp91 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) { in processBuffers() argument
92 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;
DRSFilter.h38 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
DSaturationFilter.h36 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
DIntrinsicBlurFilter.h34 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.cpp561 const void *srcBuffer, size_t *srcFrames) in processFrames() argument
583 memcpy(dstBuffer, srcBuffer, copySize); in processFrames()
589 srcBuffer, mFrameSize * remaining); in processFrames()
610 if (sonicWriteFloatToStream(mSonicStream, (float*)srcBuffer, *srcFrames) != 1) { in processFrames()
617 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.cpp167 hardware::cas::native::V1_0::SharedBuffer srcBuffer = { in queueSecureInputBuffer() local
179 dstBuffer.nonsecureMemory = srcBuffer; in queueSecureInputBuffer()
195 srcBuffer, in queueSecureInputBuffer()
/frameworks/av/media/libmedia/include/media/
DBufferProviders.h200 const void *srcBuffer, size_t *srcFrames);
/frameworks/av/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/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp458 hardware::cas::native::V1_0::SharedBuffer srcBuffer; in queueSecureInputBuffer() local
459 encryptedBuffer->fillSourceBuffer(&srcBuffer); in queueSecureInputBuffer()
467 dstBuffer.nonsecureMemory = srcBuffer; in queueSecureInputBuffer()
483 srcBuffer, in queueSecureInputBuffer()
/frameworks/native/vulkan/nulldrv/
Dnull_driver_gen.h143 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer…
146 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.cpp457 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer…
460 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()
2063 VKAPI_ATTR void vkCmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuff… in vkCmdCopyBuffer() argument
2064 vulkan::api::CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions); in vkCmdCopyBuffer()
2078 VKAPI_ATTR void vkCmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage d… in vkCmdCopyBufferToImage() argument
2079 …vulkan::api::CmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount,… in vkCmdCopyBufferToImage()
/frameworks/native/vulkan/api/
Dvulkan.api9543 VkBuffer srcBuffer,
9548 srcBufferObject := GetBuffer(srcBuffer)
9558 bindCommandBuffer(commandBuffer, srcBuffer, srcBufferObject.memory)
9620 VkBuffer srcBuffer,
9626 srcBufferObject := GetBuffer(srcBuffer)
9636 bindCommandBuffer(commandBuffer, srcBuffer, srcBufferObject.memory)