/hardware/google/gfxstream/guest/mesa/src/util/format/ |
D | u_format.h | 445 const struct util_format_description *desc = util_format_description(format); in util_format_name() local 447 assert(desc); in util_format_name() 448 if (!desc) { in util_format_name() 452 return desc->name; in util_format_name() 458 const struct util_format_description *desc = util_format_description(format); in util_format_short_name() local 460 assert(desc); in util_format_short_name() 461 if (!desc) { in util_format_short_name() 465 return desc->short_name; in util_format_short_name() 493 const struct util_format_description *desc = util_format_description(format); in util_format_is_plain() local 499 return desc->layout == UTIL_FORMAT_LAYOUT_PLAIN ? true : false; in util_format_is_plain() [all …]
|
D | u_format.c | 102 const struct util_format_description *desc = util_format_description(format); in util_format_is_float() local 110 return desc->channel[i].type == UTIL_FORMAT_TYPE_FLOAT ? true : false; in util_format_is_float() 118 const struct util_format_description *desc = in util_format_has_alpha() local 121 return (desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in util_format_has_alpha() 122 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && in util_format_has_alpha() 123 desc->swizzle[3] != PIPE_SWIZZLE_1; in util_format_has_alpha() 130 const struct util_format_description *desc = in util_format_has_alpha1() local 133 return (desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in util_format_has_alpha1() 134 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && in util_format_has_alpha1() 135 desc->nr_channels == 4 && in util_format_has_alpha1() [all …]
|
/hardware/interfaces/audio/common/7.0/example/ |
D | EffectsFactory.cpp | 42 if (auto desc = EqualizerEffect::getDescriptor(); uuid == desc.type || uuid == desc.uuid) { in getDescriptor() local 43 _hidl_cb(Result::OK, desc); in getDescriptor() 44 } else if (auto desc = LoudnessEnhancerEffect::getDescriptor(); in getDescriptor() local 45 uuid == desc.type || uuid == desc.uuid) { in getDescriptor() 46 _hidl_cb(Result::OK, desc); in getDescriptor() 58 if (auto desc = EqualizerEffect::getDescriptor(); uuid == desc.type || uuid == desc.uuid) { in createEffect() local 60 } else if (auto desc = LoudnessEnhancerEffect::getDescriptor(); in createEffect() local 61 uuid == desc.type || uuid == desc.uuid) { in createEffect()
|
/hardware/google/gchips/gralloc4/src/hidl_common/ |
D | MapperMetadata.h | 98 MetadataTypeDescription(const IMapper::MetadataTypeDescription &desc) { in MetadataTypeDescription() 99 metadataType = desc.metadataType; in MetadataTypeDescription() 100 description = (desc.description).c_str(); in MetadataTypeDescription() 101 isGettable = desc.isGettable; in MetadataTypeDescription() 102 isSettable = desc.isSettable; in MetadataTypeDescription() 105 IMapper::MetadataTypeDescription desc; in MetadataTypeDescription() local 106 desc.metadataType = static_cast<IMapper::MetadataType>(metadataType); in MetadataTypeDescription() 107 desc.description = description; in MetadataTypeDescription() 108 desc.isGettable = isGettable; in MetadataTypeDescription() 109 desc.isSettable = isSettable; in MetadataTypeDescription() [all …]
|
/hardware/interfaces/wifi/aidl/default/ |
D | wifi_legacy_hal_factory.cpp | 75 for (auto& desc : descs_) { in getHals() local 77 std::make_shared<WifiLegacyHal>(iface_tool_, desc.fn, desc.primary); in getHals() 86 wifi_hal_lib_desc desc; in initVendorHalDescriptorFromLinked() local 88 if (!initLinkedHalFunctionTable(&desc.fn)) return false; in initVendorHalDescriptorFromLinked() 90 desc.primary = true; in initVendorHalDescriptorFromLinked() 91 desc.handle = NULL; in initVendorHalDescriptorFromLinked() 92 descs_.push_back(desc); in initVendorHalDescriptorFromLinked() 134 wifi_hal_lib_desc desc; in initVendorHalsDescriptorList() local 177 desc.primary = false; in initVendorHalsDescriptorList() 185 desc.primary = !xmlStrcmp(value, BAD_CAST "1"); in initVendorHalsDescriptorList() [all …]
|
D | wifi_status_util.cpp | 63 const std::string& desc) { in createWifiStatusFromLegacyError() argument 70 return createWifiStatus(WifiStatusCode::ERROR_NOT_AVAILABLE, desc); in createWifiStatusFromLegacyError() 73 return createWifiStatus(WifiStatusCode::ERROR_NOT_SUPPORTED, desc); in createWifiStatusFromLegacyError() 77 return createWifiStatus(WifiStatusCode::ERROR_INVALID_ARGS, desc); in createWifiStatusFromLegacyError() 80 return createWifiStatus(WifiStatusCode::ERROR_UNKNOWN, desc + ", timed out"); in createWifiStatusFromLegacyError() 83 return createWifiStatus(WifiStatusCode::ERROR_UNKNOWN, desc + ", too many requests"); in createWifiStatusFromLegacyError() 86 return createWifiStatus(WifiStatusCode::ERROR_UNKNOWN, desc + ", out of memory"); in createWifiStatusFromLegacyError()
|
/hardware/interfaces/camera/common/default/ |
D | VendorTagDescriptor.cpp | 176 auto desc = mVendorMap.find(id); in getTagCount() local 177 if (desc != mVendorMap.end()) { in getTagCount() 178 ret = desc->second->getTagCount(); in getTagCount() 187 auto desc = mVendorMap.find(id); in getTagArray() local 188 if (desc != mVendorMap.end()) { in getTagArray() 189 desc->second->getTagArray(tagArray); in getTagArray() 197 auto desc = mVendorMap.find(id); in getSectionName() local 198 if (desc != mVendorMap.end()) { in getSectionName() 199 ret = desc->second->getSectionName(tag); in getSectionName() 209 auto desc = mVendorMap.find(id); in getTagName() local [all …]
|
/hardware/google/gfxstream/guest/android/ |
D | GrallocGoldfish.cpp | 31 struct AHardwareBuffer_Desc desc = { in allocate() local 39 return AHardwareBuffer_allocate(&desc, outputAhb); in allocate() 92 AHardwareBuffer_Desc desc = {}; in getWidth() local 93 AHardwareBuffer_describe(ahb, &desc); in getWidth() 94 return desc.width; in getWidth() 98 AHardwareBuffer_Desc desc = {}; in getHeight() local 99 AHardwareBuffer_describe(ahb, &desc); in getHeight() 100 return desc.height; in getHeight()
|
D | GrallocMinigbm.cpp | 164 struct AHardwareBuffer_Desc desc = { in allocate() local 172 return AHardwareBuffer_allocate(&desc, outputAhb); in allocate() 225 AHardwareBuffer_Desc desc = {}; in getWidth() local 226 AHardwareBuffer_describe(ahb, &desc); in getWidth() 227 return desc.width; in getWidth() 231 AHardwareBuffer_Desc desc = {}; in getHeight() local 232 AHardwareBuffer_describe(ahb, &desc); in getHeight() 233 return desc.height; in getHeight()
|
/hardware/interfaces/automotive/evs/1.1/default/ |
D | EvsEnumerator.cpp | 53 rec.desc.metadata.setToExternal(reinterpret_cast<uint8_t*>(pInfo->characteristics), in EvsEnumerator() 97 descriptions.push_back(cam.desc.v1); in getCameraList() 114 return cameraId == cam.desc.v1.cameraId; in openCamera() 154 pCamera_1_1->getCameraInfo_1_1([&cameraId](CameraDesc desc) { cameraId = desc.v1.cameraId; }); in closeCamera() argument 158 return cameraId == cam.desc.v1.cameraId; in closeCamera() 271 [&](const auto& cam) { descriptions.push_back(cam.desc); }); in getCameraList_1_1() 288 return cameraId == cam.desc.v1.cameraId; in openCamera_1_1() 323 return cameraId == cam.desc.v1.cameraId; in findCameraById() 335 return ultrasonicsArrayId == record.desc.ultrasonicsArrayId; in findUltrasonicsArrayById() 344 hidl_vec<UltrasonicsArrayDesc> desc; in getUltrasonicsArrayList() local [all …]
|
D | EvsEnumerator.h | 70 CameraDesc desc; member 73 CameraRecord(const char* cameraId) : desc() { desc.v1.cameraId = cameraId; } in CameraRecord() 77 UltrasonicsArrayDesc desc; member 80 UltrasonicsArrayRecord(const UltrasonicsArrayDesc& arrayDesc) : desc(arrayDesc){}; in UltrasonicsArrayRecord()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/Retired/ |
D | insertTags.py | 49 if (pi.desc != None): 61 if (pi.desc == None): 75 if (pi.desc[-1] == '.'): 76 pi.desc = pi.desc[0:-1] 77 if (pi.desc == refDesc[name]):
|
/hardware/interfaces/automotive/can/1.0/default/libnl++/protocols/generic/ |
D | Generic.cpp | 29 auto desc = NetlinkProtocol::getMessageDescriptor(nlmsg_type); in getMessageDescriptor() local 30 if (desc.has_value()) return desc; in getMessageDescriptor()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_render_pass.c | 303 num_subpass_attachments2(const VkSubpassDescription2 *desc) in num_subpass_attachments2() argument 306 desc->pDepthStencilAttachment != NULL && in num_subpass_attachments2() 307 desc->pDepthStencilAttachment->attachment != VK_ATTACHMENT_UNUSED; in num_subpass_attachments2() 310 vk_find_struct_const(desc->pNext, in num_subpass_attachments2() 318 vk_find_struct_const(desc->pNext, in num_subpass_attachments2() 325 return desc->inputAttachmentCount + in num_subpass_attachments2() 326 desc->colorAttachmentCount + in num_subpass_attachments2() 327 (desc->pResolveAttachments ? desc->colorAttachmentCount : 0) + in num_subpass_attachments2() 335 const VkAttachmentDescription2 *desc) in vk_render_pass_attachment_init() argument 338 .format = desc->format, in vk_render_pass_attachment_init() [all …]
|
/hardware/interfaces/audio/effect/all-versions/default/util/tests/ |
D | effectutils_tests.cpp | 148 EffectDescriptor desc{}; in TEST() local 149 desc.name = "test"; in TEST() 150 desc.implementor = "foo"; in TEST() 152 EXPECT_EQ(NO_ERROR, EffectUtils::effectDescriptorToHal(desc, &halDesc)); in TEST() 155 EXPECT_EQ(desc, descBack); in TEST() 164 EffectDescriptor desc; in TEST() local 165 EXPECT_EQ(NO_ERROR, EffectUtils::effectDescriptorFromHal(halDesc, &desc)); in TEST() 167 EXPECT_EQ(NO_ERROR, EffectUtils::effectDescriptorToHal(desc, &halDescBack)); in TEST()
|
/hardware/qcom/audio/voice_processing/ |
D | voice_processing.c | 427 const effect_descriptor_t *desc; in init() local 446 desc = (const effect_descriptor_t *)dlsym(lib_handle, in init() 448 if (desc) in init() 449 descriptors[AEC_ID] = desc; in init() 451 desc = (const effect_descriptor_t *)dlsym(lib_handle, in init() 453 if (desc) in init() 454 descriptors[NS_ID] = desc; in init() 687 const effect_descriptor_t *desc; in lib_create() local 694 desc = get_descriptor(uuid); in lib_create() 696 if (desc == NULL) { in lib_create() [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/ |
D | VK_NVX_binary_import.adoc | 35 [open,refpage='VkCuFunctionNVX',desc='Stub description of VkCuFunctionNVX',type='handles'] 44 [open,refpage='VkCuModuleNVX',desc='Stub description of VkCuModuleNVX',type='handles'] 53 [open,refpage='vkCreateCuFunctionNVX',desc='Stub description of vkCreateCuFunctionNVX',type='protos… 64 [open,refpage='VkCuFunctionCreateInfoNVX',desc='Stub description of VkCuFunctionCreateInfoNVX',type… 75 [open,refpage='vkDestroyCuFunctionNVX',desc='Stub description of vkDestroyCuFunctionNVX',type='prot… 86 [open,refpage='vkCreateCuModuleNVX',desc='Stub description of vkCreateCuModuleNVX',type='protos'] 97 [open,refpage='VkCuModuleCreateInfoNVX',desc='Stub description of VkCuModuleCreateInfoNVX',type='st… 108 [open,refpage='vkDestroyCuModuleNVX',desc='Stub description of vkDestroyCuModuleNVX',type='protos'] 119 [open,refpage='vkCmdCuLaunchKernelNVX',desc='Stub description of vkCmdCuLaunchKernelNVX',type='prot… 130 [open,refpage='VkCuLaunchInfoNVX',desc='Stub description of VkCuLaunchInfoNVX',type='structs']
|
/hardware/qcom/sm7250/display/gralloc/ |
D | QtiAllocator.cpp | 86 gralloc::BufferDescriptor desc; in allocate() local 89 descriptor, &desc); in allocate() 100 err = buf_mgr_->AllocateBuffer(desc, &buffer); in allocate() 153 gralloc::BufferDescriptor desc; in allocate() local 156 descriptor, &desc); in allocate() 167 err = buf_mgr_->AllocateBuffer(desc, &buffer); in allocate()
|
/hardware/qcom/sm8150/display/gralloc/ |
D | QtiAllocator.cpp | 86 gralloc::BufferDescriptor desc; in allocate() local 89 descriptor, &desc); in allocate() 100 err = buf_mgr_->AllocateBuffer(desc, &buffer); in allocate() 153 gralloc::BufferDescriptor desc; in allocate() local 156 descriptor, &desc); in allocate() 167 err = buf_mgr_->AllocateBuffer(desc, &buffer); in allocate()
|
/hardware/interfaces/automotive/evs/1.0/default/ |
D | EvsEnumerator.cpp | 60 descriptions.push_back( cam.desc ); in getCameraList() 81 if (cam.desc.cameraId == cameraId) { in openCamera() 122 pCamera->getCameraInfo([&cameraId](CameraDesc desc) { in closeCamera() argument 125 cameraId.assign(desc.cameraId.c_str()); in closeCamera() 132 if (cam.desc.cameraId == cameraId) { in closeCamera()
|
D | EvsEnumerator.h | 56 CameraDesc desc; member 59 CameraRecord(const char *cameraId) : desc() { desc.cameraId = cameraId; } in CameraRecord()
|
/hardware/interfaces/audio/aidl/default/ |
D | EffectFactory.cpp | 58 ndk::ScopedAStatus Factory::getDescriptorWithUuid_l(const AudioUuid& uuid, Descriptor* desc) { in getDescriptorWithUuid_l() argument 59 RETURN_IF(!desc, EX_NULL_POINTER, "nullDescriptor"); in getDescriptorWithUuid_l() 67 RETURN_IF_BINDER_EXCEPTION(libInterface->queryEffectFunc(&uuid, desc)); in getDescriptorWithUuid_l() 91 Descriptor desc; in queryEffects() local 92 RETURN_IF_ASTATUS_NOT_OK(getDescriptorWithUuid_l(id.uuid, &desc), in queryEffects() 95 desc.common.id.proxy = id.proxy; in queryEffects() 96 _aidl_return->emplace_back(std::move(desc)); in queryEffects() 112 Descriptor desc; in queryProcessing() local 114 desc.common.id.proxy = libs.proxyLibrary.value().uuid; in queryProcessing() 116 RETURN_IF_ASTATUS_NOT_OK(getDescriptorWithUuid_l(lib.uuid, &desc), in queryProcessing() [all …]
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioPolicyManagerALSA.cpp | 122 AudioOutputDescriptor *desc = mOutputs.valueAt(i); in setPhoneState() local 124 if (delayMs < desc->mLatency*2) { in setPhoneState() 125 delayMs = desc->mLatency*2; in setPhoneState() 128 if (desc->strategyRefCount(STRATEGY_MEDIA) != 0) { in setPhoneState()
|
/hardware/interfaces/automotive/evs/1.0/vts/functional/ |
D | VtsHalEvsV1_0TargetTest.cpp | 125 pCam->getCameraInfo([&cam](CameraDesc desc) { in TEST_P() argument 126 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_P() 127 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_P() 156 pCam->getCameraInfo([&cam](CameraDesc desc) { in TEST_P() argument 157 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_P() 158 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_P() 179 pCam2->getCameraInfo([&cam](CameraDesc desc) { in TEST_P() argument 180 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_P() 181 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_P() 207 pDisplay->getDisplayInfo([](DisplayDesc desc) { in TEST_P() argument [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_INTEL_performance_query/ |
D | queries.adoc | 16 [open,refpage='vkInitializePerformanceApiINTEL',desc='Initialize a device for performance queries',… 31 [open,refpage='VkInitializePerformanceApiInfoINTEL',desc='Structure specifying parameters of initia… 45 [open,refpage='vkUninitializePerformanceApiINTEL',desc='Uninitialize a device for performance queri… 57 [open,refpage='vkGetPerformanceParameterINTEL',desc='Query performance capabilities of the device',… 71 [open,refpage='VkPerformanceParameterTypeINTEL',desc='Parameters that can be queried',type='enums'] 85 [open,refpage='VkPerformanceValueINTEL',desc='Container for value and types of parameters that can … 99 [open,refpage='VkPerformanceValueTypeINTEL',desc='Type of the parameters that can be queried',type=… 120 [open,refpage='VkPerformanceValueDataINTEL',desc='Values returned for the parameters',type='structs… 139 [open,refpage='VkQueryPoolPerformanceQueryCreateInfoINTEL',desc='Structure specifying parameters to… 163 [open,refpage='VkQueryPoolSamplingModeINTEL',desc='Enum specifying how performance queries should b… [all …]
|