Home
last modified time | relevance | path

Searched refs:outImage (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp409 AImage* outImage = nullptr; in HandleImageAvailable() local
427 ret = AImageReader_acquireNextImageAsync(reader, &outImage, &outFenceFd); in HandleImageAvailable()
428 if (ret != AMEDIA_OK || outImage == nullptr || outFenceFd == 0) { in HandleImageAvailable()
429 ALOGE("Failed to acquire image, ret=%d, outIamge=%p, outFenceFd=%d.", ret, outImage, in HandleImageAvailable()
433 img.reset(outImage); in HandleImageAvailable()
435 ret = AImageReader_acquireNextImage(reader, &outImage); in HandleImageAvailable()
436 if (ret != AMEDIA_OK || outImage == nullptr) { in HandleImageAvailable()
437 ALOGE("Failed to acquire image, ret=%d, outIamge=%p.", ret, outImage); in HandleImageAvailable()
440 img.reset(outImage); in HandleImageAvailable()
459 AImage_getWidth(outImage, &imageWidth); in HandleImageAvailable()
[all …]
/frameworks/av/media/ndk/tests/
DAImageReaderWindowHandleTest.cpp76 AImage *outImage = nullptr; in HandleImageAvailable() local
82 ret = AImageReader_acquireNextImage(imageReader_, &outImage); in HandleImageAvailable()
84 img.reset(outImage); in HandleImageAvailable()