Home
last modified time | relevance | path

Searched refs:acquireFenceFd (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/ndk/fuzzer/
Dndk_image_reader_fuzzer.cpp42 int32_t* acquireFenceFd = nullptr; in process() local
63 [&]() { AImageReader_acquireNextImageAsync(reader, &img, acquireFenceFd); }, in process()
64 [&]() { AImageReader_acquireLatestImageAsync(reader, &img, acquireFenceFd); }, in process()
/frameworks/av/media/ndk/
DNdkImageReader.cpp413 AImageReader::acquireImageLocked(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireImageLocked() argument
423 bool waitForFence = acquireFenceFd == nullptr; in acquireImageLocked()
503 if (acquireFenceFd != nullptr) { in acquireImageLocked()
504 *acquireFenceFd = buffer->mFence->dup(); in acquireImageLocked()
618 AImageReader::acquireNextImage(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireNextImage() argument
620 return acquireImageLocked(image, acquireFenceFd); in acquireNextImage()
624 AImageReader::acquireLatestImage(/*out*/AImage** image, /*out*/int* acquireFenceFd) { in acquireLatestImage() argument
632 media_status_t ret = acquireImageLocked(&prevImage, acquireFenceFd); in acquireLatestImage()
637 ret = acquireImageLocked(&nextImage, acquireFenceFd); in acquireLatestImage()
643 if (acquireFenceFd == nullptr) { in acquireLatestImage()
[all …]
/frameworks/av/media/ndk/include/media/
DNdkImageReader.h446 … AImageReader* reader, /*out*/AImage** image, /*out*/int* acquireFenceFd) __INTRODUCED_IN(26);
468 … AImageReader* reader, /*out*/AImage** image, /*out*/int* acquireFenceFd) __INTRODUCED_IN(26);