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

12

/frameworks/av/media/libstagefright/filters/
H A DZeroFilter.cpp41 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &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<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) argument
H A DZeroFilter.h32 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
H A DIntrinsicBlurFilter.h34 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
H A DRSFilter.h38 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
H A DSaturationFilter.h36 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
H A DSimpleFilter.h40 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) = 0;
H A DIntrinsicBlurFilter.cpp91 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) {
92 mAllocIn->copy1DRangeFrom(0, mWidth * mHeight, srcBuffer->data());
90 processBuffers( const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) argument
H A DRSFilter.cpp88 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) {
89 mAllocIn->copy1DRangeFrom(0, mWidth * mHeight, srcBuffer->data());
87 processBuffers( const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) argument
H A DSaturationFilter.cpp91 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) {
92 mAllocIn->copy1DRangeFrom(0, mWidth * mHeight, srcBuffer->data());
90 processBuffers( const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) argument
/frameworks/base/media/java/android/media/
H A DImageUtils.java124 ByteBuffer srcBuffer = null;
129 srcBuffer = srcPlanes[i].getBuffer();
131 if (!(srcBuffer.isDirect() && dstBuffer.isDirect())) {
142 int srcPos = srcBuffer.position();
143 srcBuffer.rewind();
147 dstBuffer.put(srcBuffer);
151 int srcOffset = srcBuffer.position();
160 int remainingBytes = srcBuffer.remaining() - srcOffset;
165 directByteBufferCopy(srcBuffer, srcOffset, dstBuffer, dstOffset, srcByteCount);
171 srcBuffer
272 directByteBufferCopy(ByteBuffer srcBuffer, int srcOffset, ByteBuffer dstBuffer, int dstOffset, int srcByteCount) argument
[all...]
/frameworks/base/libs/hwui/
H A DVertexBuffer.h91 void copyInto(const VertexBuffer& srcBuffer, float xOffset, float yOffset) { argument
92 int verticesToCopy = srcBuffer.getVertexCount();
95 TYPE* src = (TYPE*)srcBuffer.getBuffer();
H A DRecordingCanvas.h216 inline const T* refBuffer(const T* srcBuffer, int32_t count) { argument
217 if (!srcBuffer) return nullptr;
220 memcpy(dstBuffer, srcBuffer, count * sizeof(T));
H A DPathTessellator.cpp753 static void instanceVertices(VertexBuffer& srcBuffer, VertexBuffer& dstBuffer, const float* points, argument
758 int verticesPerPoint = srcBuffer.getVertexCount();
763 dstBuffer.copyInto<TYPE>(srcBuffer, points[i + 0], points[i + 1]);
/frameworks/base/tests/JankBench/app/src/main/jni/
H A DBench.h39 float *srcBuffer; member in struct:Bench::GFlop
H A DBench.cpp318 const float * srcPtr = &mGFlop.srcBuffer[x - halfKX];
352 mGFlop.srcBuffer = (float *)malloc(mGFlop.imageXSize * sizeof(float));
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp353 const sp<ABuffer> &srcBuffer = state->mCSD.itemAt(j); local
361 CHECK_LE(srcBuffer->size(), dstBuffer->capacity());
362 dstBuffer->setRange(0, srcBuffer->size());
363 memcpy(dstBuffer->data(), srcBuffer->data(), srcBuffer->size());
536 const sp<MediaCodecBuffer> &srcBuffer = local
539 renderAudio(state, info, srcBuffer);
H A Dmediafilter.cpp186 const sp<MediaCodecBuffer> &srcBuffer = local
212 srcBuffer->data(),
213 srcBuffer->data() + srcStride * srcSliceHeight,
220 CHECK(srcBuffer->meta()->findInt64("timeUs", &timeUs));
/frameworks/av/media/libaudioprocessing/
H A DBufferProviders.cpp544 const void *srcBuffer, size_t *srcFrames)
566 memcpy(dstBuffer, srcBuffer, copySize);
572 srcBuffer, mFrameSize * remaining);
593 if (sonicWriteFloatToStream(mSonicStream, (float*)srcBuffer, *srcFrames) != 1) {
595 *srcFrames = 0; // cannot consume all of srcBuffer
600 if (sonicWriteShortToStream(mSonicStream, (short*)srcBuffer, *srcFrames) != 1) {
602 *srcFrames = 0; // cannot consume all of srcBuffer
543 processFrames(void *dstBuffer, size_t *dstFrames, const void *srcBuffer, size_t *srcFrames) argument
/frameworks/av/include/media/
H A DBufferProviders.h195 // srcBuffer is the source data
198 const void *srcBuffer, size_t *srcFrames);
/frameworks/av/media/libmedia/include/media/
H A DBufferProviders.h195 // srcBuffer is the source data
198 const void *srcBuffer, size_t *srcFrames);
/frameworks/av/media/libstagefright/
H A DACodecBufferChannel.cpp166 hardware::cas::native::V1_0::SharedBuffer srcBuffer = {
178 dstBuffer.nonsecureMemory = srcBuffer;
187 srcBuffer,
/frameworks/support/heifwriter/src/main/java/androidx/heifwriter/
H A DHeifEncoder.java570 ByteBuffer srcBuffer, Image dstImage,
596 srcBuffer.position(srcPlanePos +
602 dstBuffer.put(srcBuffer.get());
569 copyOneTileYUV( ByteBuffer srcBuffer, Image dstImage, int srcWidth, int srcHeight, Rect srcRect, Rect dstRect) argument
/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/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);
/frameworks/native/vulkan/libvulkan/
H A Dapi_gen.cpp457 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions);
460 VKAPI_ATTR void CmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions);
1211 VKAPI_ATTR void CmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions) { argument
1212 GetData(commandBuffer).dispatch.CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions);
1223 VKAPI_ATTR void CmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions) { argument
1224 GetData(commandBuffer).dispatch.CmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions);
2058 VKAPI_ATTR void vkCmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions) { argument
2059 vulkan::api::CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions);
2073 VKAPI_ATTR void vkCmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions) { argument
2074 vulkan::api::CmdCopyBufferToImage(commandBuffer, srcBuffer, dstImag
[all...]

Completed in 146 milliseconds

12