Home
last modified time | relevance | path

Searched refs:dstBuffer (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/cmds/stagefright/
DSimplePlayer.cpp359 const sp<ABuffer> &dstBuffer = state->mBuffers[0].itemAt(index); 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()
368 dstBuffer->size(), in onPrepare()
486 const sp<ABuffer> &dstBuffer = in onDoMoreStuff() local
489 err = mExtractor->readSampleData(dstBuffer); in onDoMoreStuff()
497 dstBuffer->offset(), in onDoMoreStuff()
498 dstBuffer->size(), in onDoMoreStuff()
/frameworks/base/libs/hwui/
DDisplayListRenderer.h211 T* dstBuffer = (T*) mDisplayListData->allocator.alloc(count * sizeof(T)); in refBuffer() local
212 memcpy(dstBuffer, srcBuffer, count * sizeof(T)); in refBuffer()
213 return dstBuffer; in refBuffer()
DPathTessellator.cpp787 static void instanceVertices(VertexBuffer& srcBuffer, VertexBuffer& dstBuffer, in instanceVertices() argument
793 dstBuffer.alloc<TYPE>(numPoints * verticesPerPoint + (numPoints - 1) * 2); in instanceVertices()
797 dstBuffer.copyInto<TYPE>(srcBuffer, points[i + 0], points[i + 1]); in instanceVertices()
799 dstBuffer.createDegenerateSeparators<TYPE>(verticesPerPoint); in instanceVertices()