Home
last modified time | relevance | path

Searched refs:srcBuffer (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/
DVertexBuffer.h93 void copyInto(const VertexBuffer& srcBuffer, float xOffset, float yOffset) { in copyInto() argument
94 int verticesToCopy = srcBuffer.getVertexCount(); in copyInto()
97 TYPE* src = (TYPE*)srcBuffer.getBuffer(); in copyInto()
DDisplayListRenderer.h188 inline const T* refBuffer(const T* srcBuffer, int32_t count) { in refBuffer() argument
189 if (!srcBuffer) return NULL; in refBuffer()
192 memcpy(dstBuffer, srcBuffer, count * sizeof(T)); in refBuffer()
DPathTessellator.cpp793 static void instanceVertices(VertexBuffer& srcBuffer, VertexBuffer& dstBuffer, in instanceVertices() argument
798 int verticesPerPoint = srcBuffer.getVertexCount(); in instanceVertices()
803 dstBuffer.copyInto<TYPE>(srcBuffer, points[i + 0], points[i + 1]); in instanceVertices()
/frameworks/av/cmds/stagefright/
DSimplePlayer.cpp355 const sp<ABuffer> &srcBuffer = state->mCSD.itemAt(j); in onPrepare() local
363 CHECK_LE(srcBuffer->size(), dstBuffer->capacity()); in onPrepare()
364 dstBuffer->setRange(0, srcBuffer->size()); in onPrepare()
365 memcpy(dstBuffer->data(), srcBuffer->data(), srcBuffer->size()); in onPrepare()
536 const sp<ABuffer> &srcBuffer = in onDoMoreStuff() local
539 renderAudio(state, info, srcBuffer); in onDoMoreStuff()
/frameworks/av/media/libstagefright/
DOMXCodec.cpp3127 MediaBuffer *srcBuffer; in drainInputBuffer() local
3141 err = mSource->read(&srcBuffer, &options); in drainInputBuffer()
3145 if (srcBuffer->meta_data()->findInt64( in drainInputBuffer()
3155 srcBuffer = mLeftOverBuffer; in drainInputBuffer()
3160 err = mSource->read(&srcBuffer); in drainInputBuffer()
3172 info = findInputBufferByDataPointer(srcBuffer->data()); in drainInputBuffer()
3178 if (srcBuffer->range_length() > remainingBytes) { in drainInputBuffer()
3183 info->mSize, srcBuffer->range_length()); in drainInputBuffer()
3185 srcBuffer->release(); in drainInputBuffer()
3186 srcBuffer = NULL; in drainInputBuffer()
[all …]