Home
last modified time | relevance | path

Searched refs:effect_handle_t (Results 1 – 25 of 78) sorted by relevance

1234

/aosp12/hardware/libhardware/include/hardware/
H A Daudio_effect.h69 typedef struct effect_interface_s **effect_handle_t; typedef
108 int32_t (*process)(effect_handle_t self,
142 int32_t (*command)(effect_handle_t self,
167 int32_t (*get_descriptor)(effect_handle_t self,
197 int32_t (*process_reverse)(effect_handle_t self,
261 effect_handle_t *pHandle);
280 int32_t (*release_effect)(effect_handle_t handle);
342 effect_handle_t *pHandle);
H A Daudio.h194 effect_handle_t effect);
196 effect_handle_t effect);
959 audio_port_handle_t device, effect_handle_t effect);
972 audio_port_handle_t device, effect_handle_t effect);
/aosp12/frameworks/av/media/libeffects/proxy/
H A DEffectProxy.h36 effect_handle_t *pHandle);
37 int EffectProxyRelease(effect_handle_t handle);
41 int Effect_process(effect_handle_t self,
46 int Effect_command(effect_handle_t self,
52 int Effect_getDescriptor(effect_handle_t self,
70 effect_handle_t eHandle[SUB_FX_COUNT]; // The effect handles of the sub effects
H A DEffectProxy.cpp53 effect_handle_t *pHandle) { in EffectProxyCreate()
150 *pHandle = (effect_handle_t)pContext; in EffectProxyCreate()
155 int EffectProxyRelease(effect_handle_t handle) { in EffectProxyRelease()
190 int Effect_process(effect_handle_t self, in Effect_process()
208 int Effect_command(effect_handle_t self, in Effect_command()
349 int Effect_getDescriptor(effect_handle_t self, in Effect_getDescriptor()
/aosp12/hardware/interfaces/audio/common/all-versions/default/include/common/all-versions/default/
H A DEffectMap.h33 uint64_t add(effect_handle_t handle);
34 effect_handle_t get(const uint64_t& id);
35 void remove(effect_handle_t handle);
41 KeyedVector<uint64_t, effect_handle_t> mEffects;
/aosp12/frameworks/av/media/libeffects/hapticgenerator/
H A DEffectHapticGenerator.h112 effect_handle_t *handle);
114 int32_t HapticGeneratorLib_Release(effect_handle_t handle);
119 int32_t HapticGenerator_Process(effect_handle_t self,
123 int32_t HapticGenerator_Command(effect_handle_t self,
130 int32_t HapticGenerator_GetDescriptor(effect_handle_t self,
H A DEffectHapticGenerator.cpp372 effect_handle_t *handle) { in HapticGeneratorLib_Create()
384 *handle = (effect_handle_t) context; in HapticGeneratorLib_Create()
389 int32_t HapticGeneratorLib_Release(effect_handle_t handle) { in HapticGeneratorLib_Release()
413 int32_t HapticGenerator_Process(effect_handle_t self, in HapticGenerator_Process()
484 int32_t HapticGenerator_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in HapticGenerator_Command()
573 int32_t HapticGenerator_GetDescriptor(effect_handle_t self, effect_descriptor_t *descriptor) { in HapticGenerator_GetDescriptor()
/aosp12/frameworks/av/include/media/
H A DEffectsFactoryApi.h118 effect_handle_t *pHandle);
148 effect_handle_t *pHandle);
168 int EffectRelease(effect_handle_t handle);
/aosp12/frameworks/av/media/libeffects/factory/include/media/
H A DEffectsFactoryApi.h118 effect_handle_t *pHandle);
148 effect_handle_t *pHandle);
168 int EffectRelease(effect_handle_t handle);
/aosp12/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.c65 int Effect_Process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) in Effect_Process()
85 int Effect_Command(effect_handle_t self, in Effect_Command()
110 int Effect_GetDescriptor(effect_handle_t self, in Effect_GetDescriptor()
131 int Effect_ProcessReverse(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) in Effect_ProcessReverse()
258 effect_handle_t *pHandle) in doEffectCreate()
263 effect_handle_t itfe; in doEffectCreate()
331 *pHandle = (effect_handle_t)fx; in doEffectCreate()
341 effect_handle_t *pHandle) { in EffectCreate()
346 effect_handle_t *pHandle) { in EffectCreateOnDevice()
350 int EffectRelease(effect_handle_t handle) in EffectRelease()
/aosp12/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.cpp57 effect_handle_t *pHandle);
58 static int32_t DownmixLib_Release(effect_handle_t handle);
61 static int32_t Downmix_Process(effect_handle_t self,
64 static int32_t Downmix_Command(effect_handle_t self,
70 static int32_t Downmix_GetDescriptor(effect_handle_t self,
210 effect_handle_t *pHandle) { in DownmixLib_Create()
266 *pHandle = (effect_handle_t) module; in DownmixLib_Create()
273 static int32_t DownmixLib_Release(effect_handle_t handle) { in DownmixLib_Release()
312 static int32_t Downmix_Process(effect_handle_t self, in Downmix_Process()
388 static int32_t Downmix_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Downmix_Command()
[all …]
/aosp12/hardware/interfaces/audio/common/all-versions/default/
H A DEffectMap.cpp34 uint64_t EffectMap::add(effect_handle_t handle) { in add()
41 effect_handle_t EffectMap::get(const uint64_t& id) { in get()
47 void EffectMap::remove(effect_handle_t handle) { in remove()
/aosp12/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.h306 effect_handle_t *pHandle);
307 int EffectRelease(effect_handle_t handle);
311 static int Reverb_Process(effect_handle_t self,
314 static int Reverb_Command(effect_handle_t self,
320 static int Reverb_GetDescriptor(effect_handle_t self,
H A DEffectEqualizer.cpp132 effect_handle_t *pHandle) { in EffectCreate()
159 *pHandle = (effect_handle_t)pContext; in EffectCreate()
169 extern "C" int EffectRelease(effect_handle_t handle) { in EffectRelease()
604 extern "C" int Equalizer_process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *ou… in Equalizer_process()
629 extern "C" int Equalizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Equalizer_command()
730 extern "C" int Equalizer_getDescriptor(effect_handle_t self, in Equalizer_getDescriptor()
/aosp12/hardware/qcom/audio/voice_processing/
H A Dvoice_processing.c255 effect_handle_t *interface) in effect_create()
258 *interface = (effect_handle_t)&effect->itfe; in effect_create()
290 effect_handle_t *interface) in session_create_effect()
491 static int fx_process(effect_handle_t self, in fx_process()
520 static int fx_command(effect_handle_t self, in fx_command()
653 static int fx_get_descriptor(effect_handle_t self, in fx_get_descriptor()
682 effect_handle_t *pInterface) in lib_create()
718 static int lib_release(effect_handle_t interface) in lib_release()
/aosp12/frameworks/av/media/libeffects/loudness/
H A DEffectLoudnessEnhancer.cpp211 effect_handle_t *pHandle) { in LELib_Create()
236 *pHandle = (effect_handle_t)pContext; in LELib_Create()
246 int LELib_Release(effect_handle_t handle) { in LELib_Release()
283 effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) in LE_process()
350 int LE_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in LE_command()
469 int LE_getDescriptor(effect_handle_t self, in LE_getDescriptor()
/aosp12/frameworks/av/media/libeffects/downmix/tests/
H A Ddownmixtest.cpp32 effect_handle_t handle;
89 effect_handle_t effectHandle = pDescriptor->handle; in DownmixConfiureAndEnable()
113 effect_handle_t effectHandle = pDescriptor->handle; in DownmixExecute()
168 effect_handle_t *effectHandle = &pDescriptor->handle; in DowmixMainProcess()
/aosp12/hardware/qcom/audio/post_proc/
H A Dma_listener.c236 static int ma_effect_command(effect_handle_t self, in ma_effect_command()
427 static int ma_effect_get_descriptor(effect_handle_t self, in ma_effect_get_descriptor()
493 effect_handle_t *p_handle) in ma_prc_lib_create()
545 *p_handle = (effect_handle_t)context; in ma_prc_lib_create()
549 static int ma_prc_lib_release(effect_handle_t handle) in ma_prc_lib_release()
H A Dvolume_listener.c374 static int vol_effect_command(effect_handle_t self, in vol_effect_command()
580 static int vol_effect_get_descriptor(effect_handle_t self, in vol_effect_get_descriptor()
698 effect_handle_t *p_handle) in vol_prc_lib_create()
755 *p_handle = (effect_handle_t)context; in vol_prc_lib_create()
759 static int vol_prc_lib_release(effect_handle_t handle) in vol_prc_lib_release()
H A Dbundle.c314 effect_handle_t *pHandle) { in effect_lib_create()
448 *pHandle = (effect_handle_t)context; in effect_lib_create()
456 int effect_lib_release(effect_handle_t handle) in effect_lib_release()
511 int effect_process(effect_handle_t self, in effect_process()
536 int effect_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in effect_command()
735 int effect_get_descriptor(effect_handle_t self, in effect_get_descriptor()
/aosp12/frameworks/av/media/libeffects/preprocessing/benchmarks/
H A Dpreprocessing_benchmark.cpp178 int preProcCreateEffect(effect_handle_t* pEffectHandle, uint32_t effectType, in preProcCreateEffect()
207 int preProcSetConfigParam(effect_handle_t effectHandle, uint32_t paramType, uint32_t paramValue) { in preProcSetConfigParam()
233 effect_handle_t effectHandle = nullptr; in BM_PREPROCESSING()
/aosp12/frameworks/av/media/libeffects/visualizer/
H A DEffectVisualizer.cpp255 effect_handle_t *pHandle) { in VisualizerLib_Create()
278 *pHandle = (effect_handle_t)pContext; in VisualizerLib_Create()
288 int VisualizerLib_Release(effect_handle_t handle) { in VisualizerLib_Release()
322 effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) in Visualizer_process()
484 int Visualizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Visualizer_command()
762 int Visualizer_getDescriptor(effect_handle_t self, in Visualizer_getDescriptor()
/aosp12/hardware/libhardware_legacy/audio/
H A DAudioHardwareStub.h61 virtual status_t addAudioEffect(effect_handle_t effect) { return NO_ERROR; } in addAudioEffect()
62 virtual status_t removeAudioEffect(effect_handle_t effect) { return NO_ERROR; } in removeAudioEffect()
/aosp12/frameworks/av/media/libeffects/lvm/benchmarks/
H A Dreverb_benchmark.cpp56 int reverbSetConfigParam(uint32_t paramType, uint32_t paramValue, effect_handle_t effectHandle) { in reverbSetConfigParam()
115 effect_handle_t effectHandle = nullptr; in BM_REVERB()
/aosp12/frameworks/av/media/libeffects/lvm/tests/
H A Dreverb_test.cpp117 int reverbCreateEffect(effect_handle_t* pEffectHandle, effect_config_t* pConfig, int sessionId, in reverbCreateEffect()
133 int reverbSetConfigParam(uint32_t paramType, uint32_t paramValue, effect_handle_t effectHandle) { in reverbSetConfigParam()
312 effect_handle_t effectHandle = nullptr; in main()

1234