Home
last modified time | relevance | path

Searched refs:newBuffer (Results 1 – 9 of 9) sorted by relevance

/frameworks/rs/
DrsList.h59 LinkedBuffer* newBuffer = new LinkedBuffer(); in push_back() local
60 currentBuffer->next = newBuffer; in push_back()
61 currentBuffer = newBuffer; in push_back()
/frameworks/av/cmds/stagefright/
Dmuxer.cpp160 sp<ABuffer> newBuffer = new ABuffer(bufferSize); in muxing() local
177 err = extractor->readSampleData(newBuffer); in muxing()
209 err = muxer->writeSampleData(newBuffer, in muxing()
219 newBuffer.clear(); in muxing()
/frameworks/av/media/libstagefright/
DCameraSourceTimeLapse.cpp185 MediaBuffer **newBuffer) { in createMediaBufferCopy() argument
191 (*newBuffer) = new MediaBuffer(sourceSize); in createMediaBufferCopy()
192 memcpy((*newBuffer)->data(), sourcePointer, sourceSize); in createMediaBufferCopy()
194 (*newBuffer)->meta_data()->setInt64(kKeyTime, frameTime); in createMediaBufferCopy()
DAVIExtractor.cpp255 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in append() local
257 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); in append()
258 newBuffer->setRange(0, mBuffer->size()); in append()
260 newBuffer->setRange(0, 0); in append()
262 mBuffer = newBuffer; in append()
DMPEG4Extractor.cpp4414 bool newBuffer = false; in read() local
4416 newBuffer = true; in read()
4439 if (newBuffer) { in read()
4680 bool newBuffer = false; in fragmentedRead() local
4682 newBuffer = true; in fragmentedRead()
4735 if (newBuffer) { in fragmentedRead()
/frameworks/base/media/java/android/media/
DMediaCodec.java2785 public void put(int index, @Nullable ByteBuffer newBuffer) { in put() argument
2791 buffer.setByteBuffer(newBuffer); in put()
2992 ByteBuffer newBuffer = getBuffer(true /* input */, index); in getInputBuffer() local
2995 mDequeuedInputBuffers.put(index, newBuffer); in getInputBuffer()
2997 return newBuffer; in getInputBuffer()
3050 ByteBuffer newBuffer = getBuffer(false /* input */, index); in getOutputBuffer() local
3053 mDequeuedOutputBuffers.put(index, newBuffer); in getOutputBuffer()
3055 return newBuffer; in getOutputBuffer()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp728 sp<ABuffer> newBuffer = new ABuffer(neededSize); in parse() local
729 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); in parse()
730 newBuffer->setRange(0, mBuffer->size()); in parse()
731 mBuffer = newBuffer; in parse()
1682 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in append() local
1685 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); in append()
1686 newBuffer->setRange(0, mBuffer->size()); in append()
1688 newBuffer->setRange(0, 0); in append()
1691 mBuffer = newBuffer; in append()
DMPEG2PSExtractor.cpp171 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in feedMore() local
172 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); in feedMore()
173 newBuffer->setRange(0, mBuffer->size()); in feedMore()
174 mBuffer = newBuffer; in feedMore()
/frameworks/av/camera/
DCameraMetadata.cpp66 camera_metadata_t *newBuffer = clone_camera_metadata(buffer); in operator =() local
68 mBuffer = newBuffer; in operator =()