Searched refs:newBuffer (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/cmds/stagefright/ |
D | muxer.cpp | 145 sp<ABuffer> newBuffer = new ABuffer(bufferSize); in muxing() local 157 err = extractor->readSampleData(newBuffer); in muxing() 189 err = muxer->writeSampleData(newBuffer, in muxing() 199 newBuffer.clear(); in muxing()
|
/frameworks/av/media/libstagefright/ |
D | CameraSourceTimeLapse.cpp | 183 MediaBuffer **newBuffer) { in createMediaBufferCopy() argument 189 (*newBuffer) = new MediaBuffer(sourceSize); in createMediaBufferCopy() 190 memcpy((*newBuffer)->data(), sourcePointer, sourceSize); in createMediaBufferCopy() 192 (*newBuffer)->meta_data()->setInt64(kKeyTime, frameTime); in createMediaBufferCopy()
|
D | AVIExtractor.cpp | 255 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()
|
D | MPEG4Extractor.cpp | 3761 bool newBuffer = false; in read() local 3763 newBuffer = true; in read() 3782 if (newBuffer) { in read() 4006 bool newBuffer = false; in fragmentedRead() local 4008 newBuffer = true; in fragmentedRead() 4057 if (newBuffer) { in fragmentedRead()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodec.java | 1230 public void put(int index, ByteBuffer newBuffer) { in put() argument 1236 buffer.setByteBuffer(newBuffer); in put() 1428 ByteBuffer newBuffer = getBuffer(true /* input */, index); in getInputBuffer() local 1431 mDequeuedInputBuffers.put(index, newBuffer); in getInputBuffer() 1433 return newBuffer; in getInputBuffer() 1484 ByteBuffer newBuffer = getBuffer(false /* input */, index); in getOutputBuffer() local 1487 mDequeuedOutputBuffers.put(index, newBuffer); in getOutputBuffer() 1489 return newBuffer; in getOutputBuffer()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ATSParser.cpp | 610 sp<ABuffer> newBuffer = new ABuffer(neededSize); in parse() local 611 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); in parse() 612 newBuffer->setRange(0, mBuffer->size()); in parse() 613 mBuffer = newBuffer; in parse() 1354 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in append() local 1357 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); in append() 1358 newBuffer->setRange(0, mBuffer->size()); in append() 1360 newBuffer->setRange(0, 0); in append() 1363 mBuffer = newBuffer; in append()
|
D | MPEG2PSExtractor.cpp | 170 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in feedMore() local 171 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); in feedMore() 172 newBuffer->setRange(0, mBuffer->size()); in feedMore() 173 mBuffer = newBuffer; in feedMore()
|
/frameworks/av/camera/ |
D | CameraMetadata.cpp | 65 camera_metadata_t *newBuffer = clone_camera_metadata(buffer); in operator =() local 67 mBuffer = newBuffer; in operator =()
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 1215 sp<IMemory> newBuffer = mTimedMemoryDealer->allocate(size); in allocateTimedBuffer() local 1216 if (newBuffer == 0 || newBuffer->pointer() == NULL) { in allocateTimedBuffer() 1220 *buffer = newBuffer; in allocateTimedBuffer()
|