Searched refs:outDesc (Results 1 – 5 of 5) 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()
452 AHardwareBuffer_Desc outDesc; in HandleImageAvailable() local453 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()
388 AHardwareBuffer_Desc* _Nonnull outDesc) __INTRODUCED_IN(26);
930 sp<SwAudioOutputDescriptor> outDesc = mManager->getOutputs().valueFor(output); in testHDMIPortSelection() local931 if (outDesc.get() == nullptr) { in testHDMIPortSelection()935 outDesc->toAudioPort(&port); in testHDMIPortSelection()
1474 sp<SwAudioOutputDescriptor> outDesc = mManager->getOutputs().valueFor(output); in testHDMIPortSelection() local1475 ASSERT_NE(nullptr, outDesc.get()); in testHDMIPortSelection()1477 outDesc->toAudioPort(&port); in testHDMIPortSelection()