Home
last modified time | relevance | path

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

/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp81 AHardwareBuffer_Desc* outDesc) { in AHardwareBuffer_describe() argument
82 if (!buffer || !outDesc) return; in AHardwareBuffer_describe()
86 outDesc->width = gbuffer->getWidth(); in AHardwareBuffer_describe()
87 outDesc->height = gbuffer->getHeight(); in AHardwareBuffer_describe()
88 outDesc->layers = gbuffer->getLayerCount(); in AHardwareBuffer_describe()
89 outDesc->format = AHardwareBuffer_convertFromPixelFormat(uint32_t(gbuffer->getPixelFormat())); in AHardwareBuffer_describe()
90 outDesc->usage = AHardwareBuffer_convertFromGrallocUsageBits(gbuffer->getUsage()); in AHardwareBuffer_describe()
91 outDesc->stride = gbuffer->getStride(); in AHardwareBuffer_describe()
92 outDesc->rfu0 = 0; in AHardwareBuffer_describe()
93 outDesc->rfu1 = 0; in AHardwareBuffer_describe()
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp452 AHardwareBuffer_Desc outDesc; in HandleImageAvailable() local
453 AHardwareBuffer_describe(outBuffer, &outDesc); in HandleImageAvailable()
456 int32_t bufferWidth = static_cast<int32_t>(outDesc.width); in HandleImageAvailable()
457 int32_t bufferHeight = static_cast<int32_t>(outDesc.height); in HandleImageAvailable()
483 if ((outDesc.usage & mUsage) != mUsage) { in HandleImageAvailable()
485 outDesc.usage, mUsage); in HandleImageAvailable()
/frameworks/native/libs/nativewindow/include/android/
Dhardware_buffer.h377 AHardwareBuffer_Desc* outDesc) __INTRODUCED_IN(26);