Searched refs:outDesc (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/nativewindow/ |
D | AHardwareBuffer.cpp | 174 AHardwareBuffer_Desc* outDesc) { in AHardwareBuffer_describe() argument 175 if (!buffer || !outDesc) return; in AHardwareBuffer_describe() 179 outDesc->width = gbuffer->getWidth(); in AHardwareBuffer_describe() 180 outDesc->height = gbuffer->getHeight(); in AHardwareBuffer_describe() 181 outDesc->layers = gbuffer->getLayerCount(); in AHardwareBuffer_describe() 182 outDesc->format = AHardwareBuffer_convertFromPixelFormat(uint32_t(gbuffer->getPixelFormat())); in AHardwareBuffer_describe() 183 outDesc->usage = AHardwareBuffer_convertFromGrallocUsageBits(gbuffer->getUsage()); in AHardwareBuffer_describe() 184 outDesc->stride = gbuffer->getStride(); in AHardwareBuffer_describe() 185 outDesc->rfu0 = 0; in AHardwareBuffer_describe() 186 outDesc->rfu1 = 0; in AHardwareBuffer_describe()
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 217 AHardwareBuffer_Desc* outDesc) { in hgbp_describe() argument 218 if (!buffer || !outDesc) return; in hgbp_describe() 222 outDesc->width = gbuffer->getWidth(); in hgbp_describe() 223 outDesc->height = gbuffer->getHeight(); in hgbp_describe() 224 outDesc->layers = gbuffer->getLayerCount(); in hgbp_describe() 225 outDesc->format = uint32_t(gbuffer->getPixelFormat()); in hgbp_describe() 226 outDesc->usage = uint64_t(gbuffer->getUsage()); in hgbp_describe() 227 outDesc->stride = gbuffer->getStride(); in hgbp_describe() 228 outDesc->rfu0 = 0; in hgbp_describe() 229 outDesc->rfu1 = 0; in hgbp_describe()
|
/frameworks/av/camera/ndk/ndk_vendor/tests/ |
D | AImageReaderVendorTest.cpp | 576 AHardwareBuffer_Desc outDesc; in HandleImageAvailable() local 577 AHardwareBuffer_describe(outBuffer, &outDesc); in HandleImageAvailable() 580 int32_t bufferWidth = static_cast<int32_t>(outDesc.width); in HandleImageAvailable() 581 int32_t bufferHeight = static_cast<int32_t>(outDesc.height); in HandleImageAvailable() 607 if ((outDesc.usage & mUsage) != mUsage) { in HandleImageAvailable() 609 outDesc.usage, mUsage); in HandleImageAvailable()
|
/frameworks/native/libs/nativewindow/include/android/ |
D | hardware_buffer.h | 441 AHardwareBuffer_Desc* _Nonnull outDesc) __INTRODUCED_IN(26);
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 2657 sp<SwAudioOutputDescriptor> outDesc = mManager->getOutputs().valueFor(output); in TEST_F() local 2658 ASSERT_NE(nullptr, outDesc.get()); in TEST_F() 2659 ASSERT_EQ(AUDIO_FORMAT_E_AC3_JOC, outDesc->getFormat()); in TEST_F() 2660 ASSERT_EQ(AUDIO_CHANNEL_OUT_5POINT1, outDesc->getChannelMask()); in TEST_F() 2661 ASSERT_EQ(k48000SamplingRate, outDesc->getSamplingRate()); in TEST_F() 2669 outDesc = mManager->getOutputs().valueFor(output); in TEST_F() 2670 ASSERT_NE(nullptr, outDesc.get()); in TEST_F() 2671 ASSERT_EQ(AUDIO_FORMAT_PCM_16_BIT, outDesc->getFormat()); in TEST_F() 2672 ASSERT_EQ(AUDIO_CHANNEL_OUT_7POINT1POINT4, outDesc->getChannelMask()); in TEST_F() 2673 ASSERT_EQ(k48000SamplingRate, outDesc->getSamplingRate()); in TEST_F() [all …]
|
/frameworks/av/services/audiopolicy/fuzzer/ |
D | audiopolicy_fuzzer.cpp | 991 sp<SwAudioOutputDescriptor> outDesc = mManager->getOutputs().valueFor(output); in testHDMIPortSelection() local 992 if (outDesc.get() == nullptr) { in testHDMIPortSelection() 996 outDesc->toAudioPort(&port); in testHDMIPortSelection()
|