Home
last modified time | relevance | path

Searched refs:sampleBuffer (Results 1 – 6 of 6) sorted by relevance

/aosp12/packages/modules/NeuralNetworks/driver/sample/
H A DCanonicalDevice.cpp253 auto sampleBuffer = std::make_shared<const Buffer>(std::move(bufferWrapper), std::move(token)); in allocate() local
255 return sampleBuffer; in allocate()
H A DSampleDriver.cpp304 sp<SampleBuffer> sampleBuffer = new SampleBuffer(std::move(bufferWrapper), std::move(token)); in allocate() local
306 cb(V1_3::ErrorStatus::NONE, std::move(sampleBuffer), tokenValue); in allocate()
/aosp12/frameworks/native/services/surfaceflinger/
H A DRegionSamplingThread.h96 std::vector<float> sampleBuffer(
H A DRegionSamplingThread.cpp239 std::vector<float> RegionSamplingThread::sampleBuffer( in sampleBuffer() function in android::RegionSamplingThread
372 std::vector<float> lumas = sampleBuffer(buffer->getBuffer(), sampledBounds.leftTop(), in captureSample()
/aosp12/frameworks/av/media/libstagefright/tests/writer/
H A DWriterTest.cpp404 uint8_t *sampleBuffer = (uint8_t *)malloc(sampleSize); in extract() local
405 ASSERT_NE(sampleBuffer, nullptr) << "Failed to allocate the buffer of size " << sampleSize; in extract()
407 int bytesRead = AMediaExtractor_readSampleData(extractor, sampleBuffer, sampleSize); in extract()
421 memcpy(buffer + bufferOffset, sampleBuffer, bytesRead); in extract()
425 free(sampleBuffer); in extract()
/aosp12/packages/modules/NeuralNetworks/driver/sample_aidl/
H A DSampleDriver.cpp209 std::shared_ptr<SampleBuffer> sampleBuffer = in allocate() local
212 buffer->buffer = std::move(sampleBuffer); in allocate()