Home
last modified time | relevance | path

Searched refs:effect (Results 1 – 25 of 41) sorted by relevance

12

/hardware/qcom/audio/msm8909/voice_processing/
Dvoice_processing.c167 static int effect_set_state(struct effect_s *effect, uint32_t state) in effect_set_state() argument
170 ALOGV("effect_set_state() id %d, new %d old %d", effect->id, state, effect->state); in effect_set_state()
173 switch(effect->state) { in effect_set_state()
175 session_set_fx_enabled(effect->session, effect->id, false); in effect_set_state()
181 BAD_STATE_ABORT(effect->state, state); in effect_set_state()
185 switch(effect->state) { in effect_set_state()
195 BAD_STATE_ABORT(effect->state, state); in effect_set_state()
199 switch(effect->state) { in effect_set_state()
205 session_set_fx_enabled(effect->session, effect->id, false); in effect_set_state()
211 BAD_STATE_ABORT(effect->state, state); in effect_set_state()
[all …]
/hardware/qcom/audio/voice_processing/
Dvoice_processing.c168 static int effect_set_state(struct effect_s *effect, uint32_t state) in effect_set_state() argument
171 ALOGV("effect_set_state() id %d, new %d old %d", effect->id, state, effect->state); in effect_set_state()
174 switch(effect->state) { in effect_set_state()
176 session_set_fx_enabled(effect->session, effect->id, false); in effect_set_state()
182 BAD_STATE_ABORT(effect->state, state); in effect_set_state()
186 switch(effect->state) { in effect_set_state()
196 BAD_STATE_ABORT(effect->state, state); in effect_set_state()
200 switch(effect->state) { in effect_set_state()
206 session_set_fx_enabled(effect->session, effect->id, false); in effect_set_state()
212 BAD_STATE_ABORT(effect->state, state); in effect_set_state()
[all …]
/hardware/libhardware/modules/audio/
Daudio_hw.c135 static int out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in out_add_audio_effect() argument
137 ALOGV("out_add_audio_effect: %p", effect); in out_add_audio_effect()
141 static int out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in out_remove_audio_effect() argument
143 ALOGV("out_remove_audio_effect: %p", effect); in out_remove_audio_effect()
232 static int in_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in in_add_audio_effect() argument
237 static int in_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in in_remove_audio_effect() argument
/hardware/libhardware/modules/input/evdev/
DInputHub.cpp377 ff_effect effect{}; in vibrate() local
378 effect.type = FF_RUMBLE; in vibrate()
379 effect.id = mFfEffectId; in vibrate()
380 effect.u.rumble.strong_magnitude = 0xc000; in vibrate()
381 effect.u.rumble.weak_magnitude = 0xc000; in vibrate()
382 effect.replay.length = (duration + 999'999LL) / 1'000'000LL; in vibrate()
383 effect.replay.delay = 0; in vibrate()
384 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCSFF, &effect))) { in vibrate()
389 mFfEffectId = effect.id; in vibrate()
/hardware/libhardware_legacy/audio/
DAudioHardwareStub.h61 virtual status_t addAudioEffect(effect_handle_t effect) { return NO_ERROR; } in addAudioEffect() argument
62 virtual status_t removeAudioEffect(effect_handle_t effect) { return NO_ERROR; } in removeAudioEffect() argument
DAudioHardwareGeneric.h95 virtual status_t addAudioEffect(effect_handle_t effect) { return NO_ERROR; } in addAudioEffect() argument
96 virtual status_t removeAudioEffect(effect_handle_t effect) { return NO_ERROR; } in removeAudioEffect() argument
Daudio_hw_hal.cpp261 static int out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in out_add_audio_effect() argument
266 static int out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in out_remove_audio_effect() argument
395 static int in_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in in_add_audio_effect() argument
399 return in->legacy_in->addAudioEffect(effect); in in_add_audio_effect()
402 static int in_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in in_remove_audio_effect() argument
406 return in->legacy_in->removeAudioEffect(effect); in in_remove_audio_effect()
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioHardwareInterface.h189 virtual status_t addAudioEffect(effect_handle_t effect) = 0;
190 virtual status_t removeAudioEffect(effect_handle_t effect) = 0;
/hardware/qcom/audio/legacy/alsa_sound/
Daudio_hw_hal.cpp273 static int out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in out_add_audio_effect() argument
278 static int out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in out_remove_audio_effect() argument
414 static int in_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in in_add_audio_effect() argument
418 return in->qcom_in->addAudioEffect(effect); in in_add_audio_effect()
421 static int in_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in in_remove_audio_effect() argument
425 return in->qcom_in->removeAudioEffect(effect); in in_remove_audio_effect()
DAudioHardwareALSA.h397 virtual status_t addAudioEffect(effect_handle_t effect) in addAudioEffect() argument
402 virtual status_t removeAudioEffect(effect_handle_t effect) in removeAudioEffect() argument
/hardware/libhardware/include/hardware/
Daudio.h247 effect_handle_t effect);
249 effect_handle_t effect);
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMX3A.cpp1265 OMX_CONFIG_IMAGEFILTERTYPE effect; in setEffect() local
1275 OMX_INIT_STRUCT_PTR (&effect, OMX_CONFIG_IMAGEFILTERTYPE); in setEffect()
1276 effect.nPortIndex = mCameraAdapterParameters.mPrevPortIndex; in setEffect()
1277 effect.eImageFilter = (OMX_IMAGEFILTERTYPE ) Gen3A.Effect; in setEffect()
1281 &effect); in setEffect()
1285 ( unsigned int ) effect.eImageFilter, in setEffect()
1291 ( unsigned int ) effect.eImageFilter); in setEffect()
/hardware/intel/audio_media/hdmi/
Dtinyaudio_hw.c647 static int out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in out_add_audio_effect() argument
650 UNUSED_PARAMETER(effect); in out_add_audio_effect()
655 static int out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in out_remove_audio_effect() argument
658 UNUSED_PARAMETER(effect); in out_remove_audio_effect()
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp932 static int out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in audio_config_compare() argument
935 (void)effect; in audio_config_compare()
939 static int out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in audio_config_compare() argument
942 (void)effect; in audio_config_compare()
1320 static int in_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in audio_config_compare() argument
1323 (void)effect; in audio_config_compare()
1327 static int in_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in audio_config_compare() argument
1330 (void)effect; in audio_config_compare()
/hardware/libhardware/modules/usbaudio/
Daudio_hal.c457 static int out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in out_add_audio_effect() argument
462 static int out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in out_remove_audio_effect() argument
756 static int in_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in in_add_audio_effect() argument
761 static int in_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in in_remove_audio_effect() argument
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMX3A.cpp1467 OMX_CONFIG_IMAGEFILTERTYPE effect; in setEffect() local
1477 OMX_INIT_STRUCT_PTR (&effect, OMX_CONFIG_IMAGEFILTERTYPE); in setEffect()
1478 effect.nPortIndex = mCameraAdapterParameters.mPrevPortIndex; in setEffect()
1479 effect.eImageFilter = (OMX_IMAGEFILTERTYPE ) Gen3A.Effect; in setEffect()
1483 &effect); in setEffect()
1487 ( unsigned int ) effect.eImageFilter, in setEffect()
1493 ( unsigned int ) effect.eImageFilter); in setEffect()
/hardware/qcom/audio/hal/
Daudio_hw.c1782 effect_handle_t effect __unused) in out_add_audio_effect()
1788 effect_handle_t effect __unused) in out_remove_audio_effect()
2166 effect_handle_t effect, in add_remove_audio_effect() argument
2174 status = (*effect)->get_descriptor(effect, &desc); in add_remove_audio_effect()
2217 effect_handle_t effect) in in_add_audio_effect() argument
2219 ALOGV("%s: effect %p", __func__, effect); in in_add_audio_effect()
2220 return add_remove_audio_effect(stream, effect, true); in in_add_audio_effect()
2224 effect_handle_t effect) in in_remove_audio_effect() argument
2226 ALOGV("%s: effect %p", __func__, effect); in in_remove_audio_effect()
2227 return add_remove_audio_effect(stream, effect, false); in in_remove_audio_effect()
/hardware/bsp/intel/peripheral/audio/generic/
Daudio_hal.c566 static int out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in out_add_audio_effect() argument
571 static int out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in out_remove_audio_effect() argument
859 static int in_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in in_add_audio_effect() argument
864 static int in_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in in_remove_audio_effect() argument
/hardware/qcom/audio/msm8909/hal/
Daudio_hw.c2122 effect_handle_t effect __unused) in out_add_audio_effect()
2128 effect_handle_t effect __unused) in out_remove_audio_effect()
2546 effect_handle_t effect, in add_remove_audio_effect() argument
2553 status = (*effect)->get_descriptor(effect, &desc); in add_remove_audio_effect()
2579 effect_handle_t effect) in in_add_audio_effect() argument
2581 ALOGV("%s: effect %p", __func__, effect); in in_add_audio_effect()
2582 return add_remove_audio_effect(stream, effect, true); in in_add_audio_effect()
2586 effect_handle_t effect) in in_remove_audio_effect() argument
2588 ALOGV("%s: effect %p", __func__, effect); in in_remove_audio_effect()
2589 return add_remove_audio_effect(stream, effect, false); in in_remove_audio_effect()
/hardware/qcom/camera/QCamera2/stack/common/
Dcam_types.h2474 int32_t effect; member
2541 int32_t effect; member
/hardware/qcom/camera/
DQCamera_Intf.h215 uint32_t effect; member
/hardware/qcom/camera/QCamera2/HAL/
DQCameraParameters.cpp6485 int32_t QCameraParameters::setEffect(const char *effect) in setEffect() argument
6487 if (effect != NULL) { in setEffect()
6488 int32_t value = lookupAttr(EFFECT_MODES_MAP, PARAM_MAP_SIZE(EFFECT_MODES_MAP), effect); in setEffect()
6490 LOGH("Setting effect %s", effect); in setEffect()
6491 updateParamEntry(KEY_EFFECT, effect); in setEffect()
6500 LOGE("Invalid effect value: %s", (effect == NULL) ? "NULL" : effect); in setEffect()
10728 const char *effect = get(KEY_EFFECT); in getEffectValue() local
10729 if (effect) { in getEffectValue()
10731 if (!strcmp(EFFECT_MODES_MAP[cnt].desc, effect)) { in getEffectValue()
/hardware/bsp/intel/peripheral/libupm/docs/images/
DLICENSE_CC_3_0.txt296 License will continue in full force and effect unless terminated as
328 These rights and subject matter take effect in the relevant
/hardware/invensense/6515/libsensors_iio/
DLicense.txt117 their nature should survive termination will remain in effect after
/hardware/broadcom/wlan/bcmdhd/firmware/
DLICENSE.TXT117 their nature should survive termination will remain in effect after

12