Home
last modified time | relevance | path

Searched refs:ctl (Results 1 – 25 of 32) sorted by relevance

12

/hardware/samsung_slsi/exynos5/libcamera2/
DMetadataConverter.cpp92 dst->ctl.aa.aeTargetFpsRange[0] = 15; in ToInternalShot()
93 dst->ctl.aa.aeTargetFpsRange[1] = 30; in ToInternalShot()
94 dst->ctl.aa.aeExpCompensation = 5; in ToInternalShot()
105 dst->ctl.lens.focusDistance = curr_entry.data.f[0]; in ToInternalShot()
111 dst->ctl.lens.aperture = curr_entry.data.f[0]; in ToInternalShot()
117 dst->ctl.lens.focalLength = curr_entry.data.f[0]; in ToInternalShot()
123 dst->ctl.lens.filterDensity = curr_entry.data.f[0]; in ToInternalShot()
129 dst->ctl.lens.opticalStabilizationMode = in ToInternalShot()
157 dst->ctl.flash.flashMode = (enum flash_mode)(curr_entry.data.u8[0] + 1); in ToInternalShot()
163 dst->ctl.flash.firingPower = curr_entry.data.u8[0]; in ToInternalShot()
[all …]
DExynosCameraHWInterface2.cpp317 entries[i].internal_shot.shot.ctl.request.frameCount = -1; in ResetEntry()
369 if (newEntry->internal_shot.shot.ctl.request.outputStreams[0] & MASK_OUTPUT_SCP) in RegisterRequest()
372 if (newEntry->internal_shot.shot.ctl.request.outputStreams[0] & MASK_OUTPUT_SCC) in RegisterRequest()
379 *afMode = (int)(newEntry->internal_shot.shot.ctl.aa.afMode); in RegisterRequest()
380 afRegion[0] = newEntry->internal_shot.shot.ctl.aa.afRegions[0]; in RegisterRequest()
381 afRegion[1] = newEntry->internal_shot.shot.ctl.aa.afRegions[1]; in RegisterRequest()
382 afRegion[2] = newEntry->internal_shot.shot.ctl.aa.afRegions[2]; in RegisterRequest()
383 afRegion[3] = newEntry->internal_shot.shot.ctl.aa.afRegions[3]; in RegisterRequest()
385 …ntryProcessingIndex, m_entryFrameOutputIndex, newEntry->internal_shot.shot.ctl.request.frameCount); in RegisterRequest()
406 m_lastCompletedFrameCnt = currentEntry->internal_shot.shot.ctl.request.frameCount; in DeregisterRequest()
[all …]
Dfimc-is-metadata.h722 struct camera2_lens_ctl ctl; member
734 struct camera2_sensor_ctl ctl; member
744 struct camera2_flash_ctl ctl; member
761 struct camera2_ctl ctl; member
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_mixer.c134 if (mixer->ctl) { in mixer_close()
136 if (mixer->ctl[n].ename) { in mixer_close()
137 unsigned max = mixer->ctl[n].info->value.enumerated.items; in mixer_close()
139 free(mixer->ctl[n].ename[m]); in mixer_close()
140 free(mixer->ctl[n].ename); in mixer_close()
143 free(mixer->ctl); in mixer_close()
177 mixer->ctl = calloc(elist.count, sizeof(struct mixer_ctl)); in mixer_open()
179 if (!mixer->ctl || !mixer->info) in mixer_open()
198 mixer->ctl[n].info = ei; in mixer_open()
199 mixer->ctl[n].mixer = mixer; in mixer_open()
[all …]
Damix.c54 struct mixer_ctl *ctl; in main() local
71 ctl = get_ctl(mixer, argv[1]); in main()
75 if (!ctl) { in main()
82 r = mixer_ctl_set_value(ctl, argc, argv); in main()
84 r = mixer_ctl_select(ctl, argv[0]); in main()
88 mixer_ctl_get(ctl, &value); in main()
Dalsa_audio.h130 struct mixer_ctl *ctl; member
183 int mixer_ctl_set(struct mixer_ctl *ctl, unsigned percent);
184 int mixer_ctl_select(struct mixer_ctl *ctl, const char *value);
185 void mixer_ctl_get(struct mixer_ctl *ctl, unsigned *value);
186 int mixer_ctl_set_value(struct mixer_ctl *ctl, int count, char ** argv);
/hardware/qcom/audio/legacy/alsa_sound/
DALSAControl.cpp56 struct mixer_ctl *ctl; in get() local
63 ctl = mixer_get_control(mHandle, name, index); in get()
64 if (!ctl) in get()
67 mixer_ctl_get(ctl, &value); in get()
73 struct mixer_ctl *ctl; in set() local
82 ctl = mixer_get_control(mHandle, name, 0); in set()
83 if(ctl == NULL) { in set()
87 ret = mixer_ctl_set(ctl, value); in set()
93 struct mixer_ctl *ctl; in set() local
102 ctl = mixer_get_control(mHandle, name, 0); in set()
[all …]
/hardware/qcom/audio/post_proc/
Dbass_boost.c57 if (context->ctl) in bassboost_set_strength()
58 offload_bassboost_send_params(context->ctl, &context->offload_bass, in bassboost_set_strength()
159 if (bass_ctxt->ctl) in bassboost_set_device()
160 offload_bassboost_send_params(bass_ctxt->ctl, in bassboost_set_device()
170 if (bass_ctxt->ctl) in bassboost_set_device()
171 offload_bassboost_send_params(bass_ctxt->ctl, in bassboost_set_device()
228 if (bass_ctxt->ctl && bass_ctxt->strength) in bassboost_enable()
229 offload_bassboost_send_params(bass_ctxt->ctl, in bassboost_enable()
244 if (bass_ctxt->ctl) in bassboost_disable()
245 offload_bassboost_send_params(bass_ctxt->ctl, in bassboost_disable()
[all …]
Dvirtualizer.c57 if (context->ctl) in virtualizer_set_strength()
58 offload_virtualizer_send_params(context->ctl, &context->offload_virt, in virtualizer_set_strength()
159 if (virt_ctxt->ctl) in virtualizer_set_device()
160 offload_virtualizer_send_params(virt_ctxt->ctl, in virtualizer_set_device()
170 if (virt_ctxt->ctl) in virtualizer_set_device()
171 offload_virtualizer_send_params(virt_ctxt->ctl, in virtualizer_set_device()
228 if (virt_ctxt->ctl && virt_ctxt->strength) in virtualizer_enable()
229 offload_virtualizer_send_params(virt_ctxt->ctl, in virtualizer_enable()
244 if (virt_ctxt->ctl) in virtualizer_disable()
245 offload_virtualizer_send_params(virt_ctxt->ctl, in virtualizer_disable()
[all …]
Dreverb.c132 if (context->ctl) in reverb_set_room_level()
133 offload_reverb_send_params(context->ctl, &context->offload_reverb, in reverb_set_room_level()
150 if (context->ctl) in reverb_set_room_hf_level()
151 offload_reverb_send_params(context->ctl, &context->offload_reverb, in reverb_set_room_hf_level()
167 if (context->ctl) in reverb_set_decay_time()
168 offload_reverb_send_params(context->ctl, &context->offload_reverb, in reverb_set_decay_time()
185 if (context->ctl) in reverb_set_decay_hf_ratio()
186 offload_reverb_send_params(context->ctl, &context->offload_reverb, in reverb_set_decay_hf_ratio()
202 if (context->ctl) in reverb_set_reverb_level()
203 offload_reverb_send_params(context->ctl, &context->offload_reverb, in reverb_set_reverb_level()
[all …]
Deffect_api.c56 struct mixer_ctl *ctl) in offload_update_mixer_and_effects_ctl() argument
66 ctl = NULL; in offload_update_mixer_and_effects_ctl()
69 ctl = mixer_get_ctl_by_name(mixer, mixer_string); in offload_update_mixer_and_effects_ctl()
70 if (!ctl) { in offload_update_mixer_and_effects_ctl()
77 ALOGV("mixer: %p, ctl: %p", mixer, ctl); in offload_update_mixer_and_effects_ctl()
120 int offload_bassboost_send_params(struct mixer_ctl *ctl, in offload_bassboost_send_params() argument
156 if (param_values[2] && ctl) in offload_bassboost_send_params()
157 mixer_ctl_set_array(ctl, param_values, ARRAY_SIZE(param_values)); in offload_bassboost_send_params()
203 int offload_virtualizer_send_params(struct mixer_ctl *ctl, in offload_virtualizer_send_params() argument
247 if (param_values[2] && ctl) in offload_virtualizer_send_params()
[all …]
Dequalizer.c109 if (context->ctl) in equalizer_set_band_level()
110 offload_eq_send_params(context->ctl, &context->offload_eq, in equalizer_set_band_level()
166 if(context->ctl) in equalizer_set_preset()
167 offload_eq_send_params(context->ctl, &context->offload_eq, in equalizer_set_preset()
463 if (eq_ctxt->ctl) in equalizer_enable()
464 offload_eq_send_params(eq_ctxt->ctl, &eq_ctxt->offload_eq, in equalizer_enable()
478 if (eq_ctxt->ctl) in equalizer_disable()
479 offload_eq_send_params(eq_ctxt->ctl, &eq_ctxt->offload_eq, in equalizer_disable()
489 ALOGV("%s: %p", __func__, output->ctl); in equalizer_start()
490 eq_ctxt->ctl = output->ctl; in equalizer_start()
[all …]
Deffect_api.h22 struct mixer_ctl *ctl);
39 int offload_bassboost_send_params(struct mixer_ctl *ctl,
61 int offload_virtualizer_send_params(struct mixer_ctl *ctl,
77 int offload_eq_send_params(struct mixer_ctl *ctl, struct eq_params *eq,
134 int offload_reverb_send_params(struct mixer_ctl *ctl,
Dbundle.c209 out_ctxt->ctl = NULL; in offload_effects_bundle_hal_start_output()
214 out_ctxt->ctl = mixer_get_ctl_by_name(out_ctxt->mixer, mixer_string); in offload_effects_bundle_hal_start_output()
215 if (!out_ctxt->ctl) { in offload_effects_bundle_hal_start_output()
347 eq_ctxt->ctl = NULL; in effect_lib_create()
364 bass_ctxt->ctl = NULL; in effect_lib_create()
381 virt_ctxt->ctl = NULL; in effect_lib_create()
420 reverb_ctxt->ctl = NULL; in effect_lib_create()
Dvirtualizer.h30 struct mixer_ctl *ctl; member
Dbass_boost.h30 struct mixer_ctl *ctl; member
Dequalizer.h35 struct mixer_ctl *ctl; member
Dreverb.h46 struct mixer_ctl *ctl; member
Dbundle.h47 struct mixer_ctl *ctl; member
/hardware/qcom/audio/hal/msm8974/
Dplatform.c1073 struct mixer_ctl *ctl; in platform_set_voice_volume() local
1086 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_voice_volume()
1087 if (!ctl) { in platform_set_voice_volume()
1093 mixer_ctl_set_array(ctl, set_values, ARRAY_SIZE(set_values)); in platform_set_voice_volume()
1109 struct mixer_ctl *ctl; in platform_set_mic_mute() local
1120 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_mic_mute()
1121 if (!ctl) { in platform_set_mic_mute()
1127 mixer_ctl_set_array(ctl, set_values, ARRAY_SIZE(set_values)); in platform_set_mic_mute()
1143 struct mixer_ctl *ctl; in platform_set_device_mute() local
1163 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_device_mute()
[all …]
/hardware/qcom/audio/hal/audio_extn/
Dhfp.c73 struct mixer_ctl *ctl; in hfp_set_volume() local
95 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in hfp_set_volume()
96 if (!ctl) { in hfp_set_volume()
101 if(mixer_ctl_set_value(ctl, 0, vol) < 0) { in hfp_set_volume()
/hardware/qcom/audio/hal/msm8960/
Dplatform.c238 struct mixer_ctl *ctl; in set_echo_reference() local
241 ctl = mixer_get_ctl_by_name(mixer, mixer_ctl_name); in set_echo_reference()
242 if (!ctl) { in set_echo_reference()
248 mixer_ctl_set_enum_by_string(ctl, ec_ref); in set_echo_reference()
853 struct mixer_ctl *ctl; in platform_set_hdmi_channels() local
872 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_hdmi_channels()
873 if (!ctl) { in platform_set_hdmi_channels()
879 mixer_ctl_set_enum_by_string(ctl, channel_cnt_str); in platform_set_hdmi_channels()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
D802.3.h36 uint8 ctl; /* always 0x03 */ member
Dvlan.h67 uint8 ctl; /* always 0x03 */ member
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
Dfimc-is-metadata.h771 struct camera2_lens_ctl ctl; member
793 struct camera2_sensor_ctl ctl; member
813 struct camera2_flash_ctl ctl; member
853 struct camera2_ctl ctl; member

12