Home
last modified time | relevance | path

Searched refs:outDesc (Results 1 – 5 of 5) 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.h388 AHardwareBuffer_Desc* _Nonnull outDesc) __INTRODUCED_IN(26);
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp930 sp<SwAudioOutputDescriptor> outDesc = mManager->getOutputs().valueFor(output); in testHDMIPortSelection() local
931 if (outDesc.get() == nullptr) { in testHDMIPortSelection()
935 outDesc->toAudioPort(&port); in testHDMIPortSelection()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp1474 sp<SwAudioOutputDescriptor> outDesc = mManager->getOutputs().valueFor(output); in testHDMIPortSelection() local
1475 ASSERT_NE(nullptr, outDesc.get()); in testHDMIPortSelection()
1477 outDesc->toAudioPort(&port); in testHDMIPortSelection()