Searched refs:srcBuffer (Results 1 - 23 of 23) sorted by relevance

/frameworks/av/media/libstagefright/filters/
H A DZeroFilter.cpp41 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer) {
44 uint32_t* src = (uint32_t*)srcBuffer->data();
46 for (size_t i = 0; i < srcBuffer->size() / 4; ++i) {
50 memcpy(outBuffer->data(), srcBuffer->data(), srcBuffer->size());
52 outBuffer->setRange(0, srcBuffer->size());
40 processBuffers( const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer) argument
H A DZeroFilter.h32 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer);
H A DIntrinsicBlurFilter.h34 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer);
H A DRSFilter.h38 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer);
H A DSaturationFilter.h36 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer);
H A DSimpleFilter.h40 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer) = 0;
H A DIntrinsicBlurFilter.cpp91 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer) {
92 mAllocIn->copy1DRangeFrom(0, mWidth * mHeight, srcBuffer->data());
90 processBuffers( const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer) argument
H A DRSFilter.cpp88 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer) {
89 mAllocIn->copy1DRangeFrom(0, mWidth * mHeight, srcBuffer->data());
87 processBuffers( const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer) argument
H A DSaturationFilter.cpp91 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer) {
92 mAllocIn->copy1DRangeFrom(0, mWidth * mHeight, srcBuffer->data());
90 processBuffers( const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer) argument
/frameworks/base/media/java/android/media/
H A DImageUtils.java119 ByteBuffer srcBuffer = null;
124 srcBuffer = srcPlanes[i].getBuffer();
126 if (!(srcBuffer.isDirect() && dstBuffer.isDirect())) {
137 int srcPos = srcBuffer.position();
138 srcBuffer.rewind();
142 dstBuffer.put(srcBuffer);
146 int srcOffset = srcBuffer.position();
155 int remainingBytes = srcBuffer.remaining() - srcOffset;
160 directByteBufferCopy(srcBuffer, srcOffset, dstBuffer, dstOffset, srcByteCount);
166 srcBuffer
265 directByteBufferCopy(ByteBuffer srcBuffer, int srcOffset, ByteBuffer dstBuffer, int dstOffset, int srcByteCount) argument
[all...]
/frameworks/base/libs/hwui/
H A DVertexBuffer.h92 void copyInto(const VertexBuffer& srcBuffer, float xOffset, float yOffset) { argument
93 int verticesToCopy = srcBuffer.getVertexCount();
96 TYPE* src = (TYPE*)srcBuffer.getBuffer();
H A DDisplayListCanvas.h252 inline const T* refBuffer(const T* srcBuffer, int32_t count) { argument
253 if (!srcBuffer) return nullptr;
256 memcpy(dstBuffer, srcBuffer, count * sizeof(T));
H A DRecordingCanvas.h220 inline const T* refBuffer(const T* srcBuffer, int32_t count) { argument
221 if (!srcBuffer) return nullptr;
224 memcpy(dstBuffer, srcBuffer, count * sizeof(T));
H A DPathTessellator.cpp793 static void instanceVertices(VertexBuffer& srcBuffer, VertexBuffer& dstBuffer, argument
798 int verticesPerPoint = srcBuffer.getVertexCount();
803 dstBuffer.copyInto<TYPE>(srcBuffer, points[i + 0], points[i + 1]);
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp352 const sp<ABuffer> &srcBuffer = state->mCSD.itemAt(j); local
360 CHECK_LE(srcBuffer->size(), dstBuffer->capacity());
361 dstBuffer->setRange(0, srcBuffer->size());
362 memcpy(dstBuffer->data(), srcBuffer->data(), srcBuffer->size());
533 const sp<ABuffer> &srcBuffer = local
536 renderAudio(state, info, srcBuffer);
H A Dmediafilter.cpp186 const sp<ABuffer> &srcBuffer = local
212 srcBuffer->data(),
213 srcBuffer->data() + srcStride * srcSliceHeight,
220 CHECK(srcBuffer->meta()->findInt64("timeUs", &timeUs));
/frameworks/av/services/audioflinger/
H A DBufferProviders.cpp472 const void *srcBuffer, size_t *srcFrames)
494 memcpy(dstBuffer, srcBuffer, copySize);
500 srcBuffer, mFrameSize * remaining);
521 if (sonicWriteFloatToStream(mSonicStream, (float*)srcBuffer, *srcFrames) != 1) {
523 *srcFrames = 0; // cannot consume all of srcBuffer
528 if (sonicWriteShortToStream(mSonicStream, (short*)srcBuffer, *srcFrames) != 1) {
530 *srcFrames = 0; // cannot consume all of srcBuffer
471 processFrames(void *dstBuffer, size_t *dstFrames, const void *srcBuffer, size_t *srcFrames) argument
H A DBufferProviders.h170 // srcBuffer is the source data
173 const void *srcBuffer, size_t *srcFrames);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java1619 ByteBuffer srcBuffer = null;
1622 srcBuffer = srcPlanes[i].getBuffer();
1623 int srcPos = srcBuffer.position();
1624 srcBuffer.rewind();
1627 dstBuffer.put(srcBuffer);
1628 srcBuffer.position(srcPos);
/frameworks/native/vulkan/libvulkan/
H A Dapi_gen.cpp392 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
395 VKAPI_ATTR void CmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions);
1058 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions) { argument
1059 GetData(commandBuffer).dispatch.CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions);
1070 VKAPI_ATTR void CmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions) { argument
1071 GetData(commandBuffer).dispatch.CmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions);
1773 VKAPI_ATTR void vkCmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions) { argument
1774 vulkan::api::CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions);
1788 VKAPI_ATTR void vkCmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions) { argument
1789 vulkan::api::CmdCopyBufferToImage(commandBuffer, srcBuffer, dstImag
[all...]
/frameworks/native/vulkan/nulldrv/
H A Dnull_driver_gen.h143 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
146 VKAPI_ATTR void CmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions);
H A Dnull_driver.cpp1322 void CmdCopyBuffer(VkCommandBuffer cmdBuffer, VkBuffer srcBuffer, VkBuffer destBuffer, uint32_t regionCount, const VkBufferCopy* pRegions) { argument
1331 void CmdCopyBufferToImage(VkCommandBuffer cmdBuffer, VkBuffer srcBuffer, VkImage destImage, VkImageLayout destImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions) { argument
/frameworks/native/vulkan/include/vulkan/
H A Dvulkan.h2345 typedef void (VKAPI_PTR *PFN_vkCmdCopyBuffer)(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
2348 typedef void (VKAPI_PTR *PFN_vkCmdCopyBufferToImage)(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions);
2990 VkBuffer srcBuffer,
3016 VkBuffer srcBuffer,

Completed in 394 milliseconds