Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 49) sorted by relevance

12

/hardware/google/av/media/sfplugin/
DReflectedParamUpdater.cpp119 for (const std::shared_ptr<C2ParamDescriptor> &desc : paramDescs) { in addParamDesc() local
121 desc->index().coreIndex()); in addParamDesc()
123 ALOGD("Could not describe %s", desc->name().c_str()); in addParamDesc()
126 addParamDesc(desc, *structDesc, reflector, true /* markVendor */); in addParamDesc()
130 for (const std::shared_ptr<C2ParamDescriptor> &desc : paramDescs) { in addParamDesc() local
131 if (!desc->index().isVendor()) { in addParamDesc()
135 desc->index().coreIndex()); in addParamDesc()
137 addParamDesc(desc, *structDesc, reflector, false /* markVendor */); in addParamDesc()
143 std::shared_ptr<C2ParamDescriptor> desc, in addParamStructDesc() argument
161 addParamStructDesc(desc, fieldName, offset + _C2ParamInspector::GetOffset(*it), in addParamStructDesc()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DAnnPlaneManager.cpp287 PlaneDescription& desc = PLANE_DESC['I' - 'A' + dsp]; in assignPlanes() local
288 if (!isFreePlane(desc.type, desc.index)) { in assignPlanes()
299 PlaneDescription& desc = PLANE_DESC[id - 'A']; in assignPlanes() local
300 if (!isFreePlane(desc.type, desc.index)) { in assignPlanes()
301 DLOGTRACE("plane type %d index %d is not available", desc.type, desc.index); in assignPlanes()
308 desc.type != DisplayPlane::PLANE_OVERLAY) { in assignPlanes()
309 ELOGTRACE("invalid plane type %d, expected %d", desc.type, config[i]->planeType); in assignPlanes()
319 if (desc.type != DisplayPlane::PLANE_PRIMARY && in assignPlanes()
320 desc.type != DisplayPlane::PLANE_SPRITE) { in assignPlanes()
321 ELOGTRACE("invalid plane type %d, expected %d", desc.type, config[i]->planeType); in assignPlanes()
[all …]
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DAnnPlaneManager.cpp321 PlaneDescription& desc = PLANE_DESC['I' - 'A' + dsp]; in assignPlanes() local
322 if (!isFreePlane(desc.type, desc.index)) { in assignPlanes()
334 PlaneDescription& desc = PLANE_DESC[id - 'A']; in assignPlanes() local
335 if (!isFreePlane(desc.type, desc.index)) { in assignPlanes()
336 DTRACE("plane type %d index %d is not available", desc.type, desc.index); in assignPlanes()
343 desc.type != DisplayPlane::PLANE_OVERLAY) { in assignPlanes()
344 ETRACE("invalid plane type %d, expected %d", desc.type, config[i]->planeType); in assignPlanes()
354 if (desc.type != DisplayPlane::PLANE_PRIMARY && in assignPlanes()
355 desc.type != DisplayPlane::PLANE_SPRITE) { in assignPlanes()
356 ETRACE("invalid plane type %d, expected %d", desc.type, config[i]->planeType); in assignPlanes()
[all …]
/hardware/interfaces/wifi/1.2/default/
Dwifi_status_util.cpp62 const std::string& desc) { in createWifiStatusFromLegacyError() argument
66 return createWifiStatus(WifiStatusCode::ERROR_NOT_AVAILABLE, desc); in createWifiStatusFromLegacyError()
69 return createWifiStatus(WifiStatusCode::ERROR_NOT_SUPPORTED, desc); in createWifiStatusFromLegacyError()
73 return createWifiStatus(WifiStatusCode::ERROR_INVALID_ARGS, desc); in createWifiStatusFromLegacyError()
77 desc + ", timed out"); in createWifiStatusFromLegacyError()
81 desc + ", too many requests"); in createWifiStatusFromLegacyError()
85 desc + ", out of memory"); in createWifiStatusFromLegacyError()
91 return createWifiStatus(WifiStatusCode::SUCCESS, desc); in createWifiStatusFromLegacyError()
/hardware/interfaces/camera/common/1.0/default/
DVendorTagDescriptor.cpp220 sp<VendorTagDescriptor> desc = new VendorTagDescriptor(); in createDescriptorFromOps() local
221 desc->mTagCount = tagCount; in createDescriptorFromOps()
237 desc->mTagToNameMap.add(tag, String8(tagName)); in createDescriptorFromOps()
254 desc->mTagToTypeMap.insert(std::make_pair(tag, tagType)); in createDescriptorFromOps()
257 desc->mSections = sections; in createDescriptorFromOps()
266 desc->mTagToSectionMap.add(tag, static_cast<uint32_t>(index)); in createDescriptorFromOps()
270 if ((reverseIndex = desc->mReverseMapping.indexOfKey(sectionString)) < 0) { in createDescriptorFromOps()
272 reverseIndex = desc->mReverseMapping.add(sectionString, nameMapper); in createDescriptorFromOps()
274 desc->mReverseMapping[reverseIndex]->add(desc->mTagToNameMap.valueFor(tag), tag); in createDescriptorFromOps()
277 descriptor = desc; in createDescriptorFromOps()
[all …]
/hardware/qcom/audio/voice_processing/
Dvoice_processing.c427 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/interfaces/automotive/evs/1.0/vts/functional/
DVtsHalEvsV1_0TargetTest.cpp142 pCam->getCameraInfo([&cam](CameraDesc desc) { in TEST_F() argument
143 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_F()
144 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_F()
173 pCam->getCameraInfo([&cam](CameraDesc desc) { in TEST_F() argument
174 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_F()
175 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_F()
191 pCam2->getCameraInfo([&cam](CameraDesc desc) { in TEST_F() argument
192 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_F()
193 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_F()
218 pDisplay->getDisplayInfo([](DisplayDesc desc) { in TEST_F() argument
[all …]
/hardware/interfaces/automotive/evs/1.0/default/
DEvsEnumerator.h56 CameraDesc desc; member
59 CameraRecord(const char *cameraId) : desc() { desc.cameraId = cameraId; } in CameraRecord()
DEvsEnumerator.cpp60 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()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioPolicyManagerALSA.cpp122 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()
Daudio_policy_hal.cpp269 const struct effect_descriptor_s *desc) in ap_get_output_for_effect() argument
272 return qap->apm->getOutputForEffect(desc); in ap_get_output_for_effect()
276 const struct effect_descriptor_s *desc, in ap_register_effect() argument
283 return qap->apm->registerEffect(desc, io, strategy, session, id); in ap_register_effect()
/hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/
DGralloc1Hal.h91 gralloc1_buffer_descriptor_t desc; in allocateBuffers() local
92 Error error = createDescriptor(descriptorInfo, &desc); in allocateBuffers()
105 error = allocateOneBuffer(desc, &tmpBuffer, &tmpStride); in allocateBuffers()
121 mDispatch.destroyDescriptor(mDevice, desc); in allocateBuffers()
161 bool initDispatch(gralloc1_function_descriptor_t desc, T* outPfn) { in initDispatch() argument
162 auto pfn = mDevice->getFunction(mDevice, desc); in initDispatch()
167 ALOGE("failed to get gralloc1 function %d", desc); in initDispatch()
/hardware/interfaces/camera/provider/2.4/default/
DCameraProvider.cpp400 sp<VendorTagDescriptor> desc; in setUpVendorTags() local
402 if ((res = VendorTagDescriptor::createDescriptorFromOps(&vOps, /*out*/desc)) in setUpVendorTags()
411 VendorTagDescriptor::setAsGlobalVendorTagDescriptor(desc); in setUpVendorTags()
412 const SortedVector<String8>* sectionNames = desc->getAllSectionNames(); in setUpVendorTags()
415 int tagCount = desc->getTagCount(); in setUpVendorTags()
417 desc->getTagArray(tags.data()); in setUpVendorTags()
421 vt.tagName = desc->getTagName(tags[i]); in setUpVendorTags()
422 vt.tagType = (CameraMetadataType) desc->getTagType(tags[i]); in setUpVendorTags()
423 ssize_t sectionIdx = desc->getSectionIndex(tags[i]); in setUpVendorTags()
/hardware/qcom/audio/post_proc/
Dbundle.c349 context->desc = &equalizer_descriptor; in effect_lib_create()
366 context->desc = &bassboost_descriptor; in effect_lib_create()
383 context->desc = &virtualizer_descriptor; in effect_lib_create()
408 context->desc = &aux_env_reverb_descriptor; in effect_lib_create()
412 context->desc = &ins_env_reverb_descriptor; in effect_lib_create()
416 context->desc = &aux_preset_reverb_descriptor; in effect_lib_create()
420 context->desc = &ins_preset_reverb_descriptor; in effect_lib_create()
743 *descriptor = *context->desc; in effect_get_descriptor()
Dvolume_listener.c87 const effect_descriptor_t *desc; member
591 *descriptor = *context->desc; in vol_effect_get_descriptor()
721 context->desc = descriptors[itt]; in vol_prc_lib_create()
776 if (recv_contex->desc == NULL) { in vol_prc_lib_release()
783 uuid = recv_contex->desc->uuid; in vol_prc_lib_release()
788 if ((memcmp(&(context->desc->uuid), &uuid, sizeof(effect_uuid_t)) == 0) in vol_prc_lib_release()
Dbundle.h77 const effect_descriptor_t *desc; member
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc1Hal.h198 bool initDispatch(gralloc1_function_descriptor_t desc, T* outPfn) { in initDispatch() argument
199 auto pfn = mDevice->getFunction(mDevice, desc); in initDispatch()
204 ALOGE("failed to get gralloc1 function %d", desc); in initDispatch()
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioPolicyInterface.h152 virtual audio_io_handle_t getOutputForEffect(const effect_descriptor_t *desc) = 0;
153 virtual status_t registerEffect(const effect_descriptor_t *desc,
/hardware/interfaces/camera/common/1.0/default/include/
DVendorTagDescriptor.h145 static status_t setAsGlobalVendorTagDescriptor(const sp<VendorTagDescriptor>& desc);
/hardware/libhardware/include/hardware/
Daudio_policy.h219 const struct effect_descriptor_s *desc);
222 const struct effect_descriptor_s *desc,
Dhwcomposer2.h379 hwc2_callback_descriptor_t desc) { in getCallbackDescriptorName() argument
380 switch (desc) { in getCallbackDescriptorName()
461 hwc2_function_descriptor_t desc) { in getFunctionDescriptorName() argument
462 switch (desc) { in getFunctionDescriptorName()
/hardware/libhardware/modules/audio/
Daudio_policy.c197 const struct effect_descriptor_s *desc) in ap_get_output_for_effect() argument
203 const struct effect_descriptor_s *desc, in ap_register_effect() argument
/hardware/google/av/codec2/hidl/1.0/utils/
DComponentStore.cpp135 for (const std::shared_ptr<C2ParamDescriptor> &desc : params) { in validateSupportedParams() local
136 if (!desc) { in validateSupportedParams()
141 C2Param::CoreIndex coreIndex = desc->index().coreIndex(); in validateSupportedParams()
/hardware/google/av/codec2/vndk/util/
DC2InterfaceUtils.cpp1016 std::shared_ptr<C2StructDescriptor> desc(std::move(descUnique)); in descendInto() local
1017 mHistory.emplace_back(desc); in descendInto()
1018 C2StructDescriptor::field_iterator first = desc->begin(); in descendInto()
1186 std::shared_ptr<C2StructDescriptor> desc(std::move(descUnique)); in descendInto() local
1187 mHistory.emplace_back(desc); in descendInto()
1199 desc->cbegin(), desc->cend(), dummy, in descendInto()
1203 if (it == desc->begin()) { in descendInto()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dgv_sven_devh.c135 os_devhandle_t *devhandle_factory( const char *desc ) in devhandle_factory() argument

12