/frameworks/av/media/libstagefright/filters/ |
H A D | ZeroFilter.cpp | 41 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 D | ZeroFilter.h | 32 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
|
H A D | IntrinsicBlurFilter.h | 34 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
|
H A D | RSFilter.h | 38 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
|
H A D | SaturationFilter.h | 36 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer);
|
H A D | SimpleFilter.h | 40 const sp<MediaCodecBuffer> &srcBuffer, const sp<MediaCodecBuffer> &outBuffer) = 0;
|
H A D | IntrinsicBlurFilter.cpp | 91 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 D | RSFilter.cpp | 88 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 D | SaturationFilter.cpp | 91 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 D | ImageUtils.java | 124 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 D | VertexBuffer.h | 91 void copyInto(const VertexBuffer& srcBuffer, float xOffset, float yOffset) { argument 92 int verticesToCopy = srcBuffer.getVertexCount(); 95 TYPE* src = (TYPE*)srcBuffer.getBuffer();
|
H A D | RecordingCanvas.h | 216 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 D | PathTessellator.cpp | 753 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 D | Bench.h | 39 float *srcBuffer; member in struct:Bench::GFlop
|
H A D | Bench.cpp | 318 const float * srcPtr = &mGFlop.srcBuffer[x - halfKX]; 352 mGFlop.srcBuffer = (float *)malloc(mGFlop.imageXSize * sizeof(float));
|
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 353 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 D | mediafilter.cpp | 186 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 D | BufferProviders.cpp | 544 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 D | BufferProviders.h | 195 // srcBuffer is the source data 198 const void *srcBuffer, size_t *srcFrames);
|
/frameworks/av/media/libmedia/include/media/ |
H A D | BufferProviders.h | 195 // srcBuffer is the source data 198 const void *srcBuffer, size_t *srcFrames);
|
/frameworks/av/media/libstagefright/ |
H A D | ACodecBufferChannel.cpp | 166 hardware::cas::native::V1_0::SharedBuffer srcBuffer = { 178 dstBuffer.nonsecureMemory = srcBuffer; 187 srcBuffer,
|
/frameworks/support/heifwriter/src/main/java/androidx/heifwriter/ |
H A D | HeifEncoder.java | 570 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 D | CameraTestUtils.java | 1619 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 D | null_driver_gen.h | 143 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 D | api_gen.cpp | 457 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...] |