Searched refs:outDesc (Results 1 – 3 of 3) sorted by relevance
81 AHardwareBuffer_Desc* outDesc) { in AHardwareBuffer_describe() argument82 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()
450 AHardwareBuffer_Desc outDesc; in HandleImageAvailable() local451 AHardwareBuffer_describe(outBuffer, &outDesc); in HandleImageAvailable()454 int32_t bufferWidth = static_cast<int32_t>(outDesc.width); in HandleImageAvailable()455 int32_t bufferHeight = static_cast<int32_t>(outDesc.height); in HandleImageAvailable()481 if ((outDesc.usage & mUsage) != mUsage) { in HandleImageAvailable()483 outDesc.usage, mUsage); in HandleImageAvailable()
369 AHardwareBuffer_Desc* outDesc) __INTRODUCED_IN(26);