Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DSparseBitSetTest.cpp67 std::vector<uint8_t> newBuffer = writeToBuffer(bitset); in TEST() local
68 ASSERT_EQ(buffer, newBuffer); in TEST()
78 std::vector<uint8_t> newBuffer = writeToBuffer(bitset); in TEST() local
79 ASSERT_EQ(buffer, newBuffer); in TEST()
DFontTest.cpp38 std::vector<uint8_t> newBuffer = writeToBuffer<Font, writeFreeTypeMinikinFontForTest>(*font); in TEST() local
39 EXPECT_EQ(buffer, newBuffer); in TEST()
DFontCollectionTest.cpp201 std::vector<uint8_t> newBuffer = writeToBuffer(copied); in TEST() local
202 EXPECT_EQ(buffer, newBuffer); in TEST()
215 std::vector<uint8_t> newBuffer = writeToBuffer(copied); in TEST() local
216 EXPECT_EQ(buffer, newBuffer); in TEST()
232 std::vector<uint8_t> newBuffer = writeToBuffer(copied); in TEST() local
233 EXPECT_EQ(buffer, newBuffer); in TEST()
DFontFamilyTest.cpp841 std::vector<uint8_t> newBuffer = in TEST_F() local
843 ASSERT_EQ(buffer, newBuffer); in TEST_F()
855 std::vector<uint8_t> newBuffer = in TEST_F() local
857 ASSERT_EQ(buffer, newBuffer); in TEST_F()
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp66 return localBufferPool->newBuffer(capacity); in AllocateInputGraphicBuffer()
430 sp<ABuffer> LocalBufferPool::newBuffer(size_t capacity) { in newBuffer() function in android::LocalBufferPool
766 sp<Codec2Buffer> newBuffer = createNewBuffer(); in requestNewBuffer() local
767 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer()
768 *buffer = newBuffer; in requestNewBuffer()
804 sp<Codec2Buffer> newBuffer = createNewBuffer(); in requestNewBuffer() local
805 if (newBuffer == nullptr) { in requestNewBuffer()
808 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer()
809 *buffer = newBuffer; in requestNewBuffer()
981 sp<Codec2Buffer> newBuffer = createNewBuffer(); in requestNewBuffer() local
[all …]
DCCodecBuffers.h500 sp<ABuffer> newBuffer(size_t capacity);
/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/media/libstagefright/
DCameraSourceTimeLapse.cpp184 MediaBufferBase **newBuffer) { in createMediaBufferCopy() argument
190 (*newBuffer) = new MediaBuffer(sourceSize); in createMediaBufferCopy()
191 memcpy((*newBuffer)->data(), sourcePointer, sourceSize); in createMediaBufferCopy()
193 (*newBuffer)->meta_data().setInt64(kKeyTime, frameTime); in createMediaBufferCopy()
/frameworks/av/cmds/stagefright/
Dmuxer.cpp159 sp<ABuffer> newBuffer = new ABuffer(bufferSize); in muxing() local
176 err = extractor->readSampleData(newBuffer); in muxing()
208 err = muxer->writeSampleData(newBuffer, in muxing()
218 newBuffer.clear(); in muxing()
/frameworks/base/libs/hwui/renderthread/
DReliableSurface.cpp162 AHardwareBuffer* newBuffer; in acquireFallbackBuffer() local
163 int result = AHardwareBuffer_allocate(&desc, &newBuffer); in acquireFallbackBuffer()
171 mScratchBuffer.reset(newBuffer); in acquireFallbackBuffer()
172 return AHardwareBuffer_to_ANativeWindowBuffer(newBuffer); in acquireFallbackBuffer()
/frameworks/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp178 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in feedMore() local
179 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); in feedMore()
180 newBuffer->setRange(0, mBuffer->size()); in feedMore()
181 mBuffer = newBuffer; in feedMore()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DRenderSurface.cpp169 sp<GraphicBuffer> newBuffer = GraphicBuffer::from(buffer); in dequeueBuffer() local
175 if (cachedTexture->getBuffer()->getId() == newBuffer->getId()) { in dequeueBuffer()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp980 sp<ABuffer> newBuffer, newScrambledBuffer; in ensureBufferCapacity() local
1040 newBuffer = new ABuffer(neededSize); in ensureBufferCapacity()
1042 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); in ensureBufferCapacity()
1043 newBuffer->setRange(0, mBuffer->size()); in ensureBufferCapacity()
1045 newBuffer->setRange(0, 0); in ensureBufferCapacity()
1047 mBuffer = newBuffer; in ensureBufferCapacity()
2436 sp<ABuffer> newBuffer = new ABuffer(newCapacity); in append() local
2439 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size()); in append()
2440 newBuffer->setRange(0, mBuffer->size()); in append()
2442 newBuffer->setRange(0, 0); in append()
[all …]
/frameworks/base/media/java/android/media/
DMediaCodec.java3798 public void put(int index, @Nullable ByteBuffer newBuffer) { in put() argument
3804 buffer.setByteBuffer(newBuffer); in put()
4076 ByteBuffer newBuffer = getBuffer(true /* input */, index); in getInputBuffer() local
4079 mDequeuedInputBuffers.put(index, newBuffer); in getInputBuffer()
4081 return newBuffer; in getInputBuffer()
4149 ByteBuffer newBuffer = getBuffer(false /* input */, index); in getOutputBuffer() local
4152 mDequeuedOutputBuffers.put(index, newBuffer); in getOutputBuffer()
4154 return newBuffer; in getOutputBuffer()
/frameworks/av/media/codec2/vndk/platform/
DC2BqBuffer.cpp888 sp<GraphicBuffer> newBuffer = new GraphicBuffer( in migrate() local
892 if (newBuffer->initCheck() == android::NO_ERROR) { in migrate()
893 graphicBuffer = std::move(newBuffer); in migrate()
/frameworks/av/camera/
DCameraMetadata.cpp75 camera_metadata_t *newBuffer = clone_camera_metadata(buffer); in operator =() local
77 mBuffer = newBuffer; in operator =()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp6279 bool newBuffer = false; in read() local
6281 newBuffer = true; in read()
6328 if (newBuffer) { in read()
6686 bool newBuffer = false; in fragmentedRead() local
6688 newBuffer = true; in fragmentedRead()
6771 if (newBuffer) { in fragmentedRead()