Home
last modified time | relevance | path

Searched refs:pReplyData (Results 1 – 24 of 24) sorted by relevance

/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp311 void *pCmdData, uint32_t *replySize, void *pReplyData) { in LE_command() argument
323 if (pReplyData == NULL || *replySize != sizeof(int)) { in LE_command()
326 *(int *) pReplyData = LE_init(pContext); in LE_command()
330 || pReplyData == NULL || *replySize != sizeof(int)) { in LE_command()
333 *(int *) pReplyData = LE_setConfig(pContext, in LE_command()
337 if (pReplyData == NULL || in LE_command()
341 LE_getConfig(pContext, (effect_config_t *)pReplyData); in LE_command()
347 if (pReplyData == NULL || *replySize != sizeof(int)) { in LE_command()
355 *(int *)pReplyData = 0; in LE_command()
358 if (pReplyData == NULL || *replySize != sizeof(int)) { in LE_command()
[all …]
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp412 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Visualizer_command() argument
425 if (pReplyData == NULL || *replySize != sizeof(int)) { in Visualizer_command()
428 *(int *) pReplyData = Visualizer_init(pContext); in Visualizer_command()
432 || pReplyData == NULL || *replySize != sizeof(int)) { in Visualizer_command()
435 *(int *) pReplyData = Visualizer_setConfig(pContext, in Visualizer_command()
439 if (pReplyData == NULL || in Visualizer_command()
443 Visualizer_getConfig(pContext, (effect_config_t *)pReplyData); in Visualizer_command()
449 if (pReplyData == NULL || *replySize != sizeof(int)) { in Visualizer_command()
457 *(int *)pReplyData = 0; in Visualizer_command()
460 if (pReplyData == NULL || *replySize != sizeof(int)) { in Visualizer_command()
[all …]
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp627 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Equalizer_command() argument
642 if (pReplyData == NULL || *replySize != sizeof(int)) { in Equalizer_command()
645 *(int *) pReplyData = Equalizer_init(pContext); in Equalizer_command()
649 || pReplyData == NULL || *replySize != sizeof(int)) { in Equalizer_command()
652 *(int *) pReplyData = Equalizer_setConfig(pContext, in Equalizer_command()
656 if (pReplyData == NULL || *replySize != sizeof(effect_config_t)) { in Equalizer_command()
666 pReplyData == NULL || *replySize < (int) (sizeof(effect_param_t) + sizeof(int32_t))) { in Equalizer_command()
670 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Equalizer_command()
671 p = (effect_param_t *)pReplyData; in Equalizer_command()
678 *(int32_t *)((char *)pReplyData + sizeof(effect_param_t) + voffset), in Equalizer_command()
[all …]
DEffectReverb.c280 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Reverb_Command() argument
296 if (pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_Command()
299 *(int *) pReplyData = Reverb_Init(pRvbModule, pReverb->m_Aux, pReverb->m_Preset); in Reverb_Command()
300 if (*(int *) pReplyData == 0) { in Reverb_Command()
306 || pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_Command()
309 *(int *) pReplyData = Reverb_setConfig(pRvbModule, in Reverb_Command()
313 if (pReplyData == NULL || *replySize != sizeof(effect_config_t)) { in Reverb_Command()
322 …EFFECT_CMD_GET_PARAM pCmdData %p, *replySize %d, pReplyData: %p",pCmdData, *replySize, pReplyData); in Reverb_Command()
325 pReplyData == NULL || *replySize < (int) sizeof(effect_param_t)) { in Reverb_Command()
328 effect_param_t *rep = (effect_param_t *) pReplyData; in Reverb_Command()
[all …]
DEffectReverb.h319 void *pReplyData);
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1340 void *pReplyData) in PreProcessingFx_Command() argument
1354 if (pReplyData == NULL || *replySize != sizeof(int)){ in PreProcessingFx_Command()
1360 *(int *)pReplyData = 0; in PreProcessingFx_Command()
1366 pReplyData == NULL|| in PreProcessingFx_Command()
1380 *(int *)pReplyData = Session_SetConfig(effect->session, (effect_config_t *)pCmdData); in PreProcessingFx_Command()
1386 if (*(int *)pReplyData != 0) { in PreProcessingFx_Command()
1390 *(int *)pReplyData = Effect_SetState(effect, PREPROC_EFFECT_STATE_CONFIG); in PreProcessingFx_Command()
1395 if (pReplyData == NULL || in PreProcessingFx_Command()
1402 Session_GetConfig(effect->session, (effect_config_t *)pReplyData); in PreProcessingFx_Command()
1408 pReplyData == NULL || in PreProcessingFx_Command()
[all …]
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c371 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Downmix_Command() argument
387 if (pReplyData == NULL || *replySize != sizeof(int)) { in Downmix_Command()
390 *(int *) pReplyData = Downmix_Init(pDwmModule); in Downmix_Command()
395 || pReplyData == NULL || *replySize != sizeof(int)) { in Downmix_Command()
398 *(int *) pReplyData = Downmix_Configure(pDwmModule, in Downmix_Command()
408 pCmdData, *replySize, pReplyData); in Downmix_Command()
410 pReplyData == NULL || in Downmix_Command()
414 effect_param_t *rep = (effect_param_t *) pReplyData; in Downmix_Command()
415 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t)); in Downmix_Command()
425 "pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData); in Downmix_Command()
[all …]
DEffectDownmix.h84 void *pReplyData);
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp205 void *pReplyData) { in Effect_command() argument
246 *(int*)pReplyData = FAILED_TRANSACTION; in Effect_command()
256 *(int*)pReplyData = FAILED_TRANSACTION; in Effect_command()
268 pCmdData, replySize, pReplyData); in Effect_command()
270 *(int*)pReplyData = NO_ERROR; in Effect_command()
272 *(int*)pReplyData); in Effect_command()
320 subReplyData[i] = pReplyData; in Effect_command()
324 subReplyData[i] = pReplyData == NULL ? NULL : pContext->replyData; in Effect_command()
DEffectProxy.h51 void *pReplyData);
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp2719 void *pReplyData){ in Effect_command() argument
2755 if (pReplyData == NULL || *replySize != sizeof(int)){ in Effect_command()
2760 *(int *) pReplyData = 0; in Effect_command()
2776 *(int *) pReplyData = android::VolumeSetVolumeLevel(pContext, 0); in Effect_command()
2784 pReplyData == NULL|| in Effect_command()
2790 *(int *) pReplyData = android::Effect_setConfig(pContext, (effect_config_t *) pCmdData); in Effect_command()
2795 if (pReplyData == NULL || in Effect_command()
2802 android::Effect_getConfig(pContext, (effect_config_t *)pReplyData); in Effect_command()
2817 pReplyData == NULL || in Effect_command()
2825 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Effect_command()
[all …]
/frameworks/av/media/libmedia/
DIEffectClient.cpp63 void *pReplyData) in commandExecuted() argument
78 if (pReplyData == NULL) { in commandExecuted()
83 data.write(pReplyData, size); in commandExecuted()
DIEffect.cpp66 void *pReplyData) in command() argument
96 if (size != 0 && pReplyData != NULL && pReplySize != NULL) { in command()
97 reply.read(pReplyData, size); in command()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1896 void *pReplyData){ in Reverb_command() argument
1915 if (pReplyData == NULL || *replySize != sizeof(int)){ in Reverb_command()
1920 *(int *) pReplyData = 0; in Reverb_command()
1928 pReplyData == NULL || in Reverb_command()
1934 *(int *) pReplyData = android::Reverb_setConfig(pContext, in Reverb_command()
1939 if (pReplyData == NULL || in Reverb_command()
1946 android::Reverb_getConfig(pContext, (effect_config_t *)pReplyData); in Reverb_command()
1960 pReplyData == NULL || in Reverb_command()
1968 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Reverb_command()
1970 p = (effect_param_t *)pReplyData; in Reverb_command()
[all …]
/frameworks/av/include/media/
DAudioEffect.h412 void *pReplyData);
434 void *pReplyData) { in commandExecuted() argument
435 mEffect->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
DIEffectClient.h38 void *pReplyData) = 0;
DIEffect.h40 void *pReplyData) = 0;
/frameworks/av/services/audioflinger/
DEffects.h68 void *pReplyData);
180 void *pReplyData);
199 void *pReplyData);
DEffects.cpp518 void *pReplyData) in command() argument
534 pReplyData); in command()
540 h->commandExecuted(cmdCode, cmdSize, pCmdData, size, pReplyData); in command()
1066 void *pReplyData) in command() argument
1121 *(int *)pReplyData = reply; in command()
1124 *(int *)pReplyData = reply; in command()
1133 *(int *)pReplyData = NO_ERROR; in command()
1136 *(int *)pReplyData = NO_ERROR; in command()
1140 return mEffect->command(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
1159 void *pReplyData) in commandExecuted() argument
[all …]
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp647 jbyte* pReplyData = NULL; in android_media_AudioEffect_native_command() local
675 pReplyData = (jbyte *) env->GetPrimitiveArrayCritical(jReplyData, NULL); in android_media_AudioEffect_native_command()
676 if (pReplyData == NULL) { in android_media_AudioEffect_native_command()
686 pReplyData)); in android_media_AudioEffect_native_command()
693 if (pReplyData != NULL) { in android_media_AudioEffect_native_command()
694 env->ReleasePrimitiveArrayCritical(jReplyData, pReplyData, 0); in android_media_AudioEffect_native_command()
/frameworks/wilhelm/src/android/
Dandroid_Effect.h92 SLuint32 *replySize, void *pReplyData);
Dandroid_Effect.cpp831 SLuint32 *replySize, void *pReplyData) { in android_genericFx_sendCommand() argument
844 pReplyData); in android_genericFx_sendCommand()
/frameworks/wilhelm/include/SLES/
DOpenSLES_Android.h68 void *pReplyData);
/frameworks/av/media/libeffects/factory/
DEffectsFactory.c102 void *pReplyData) in Effect_Command() argument
117 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData); in Effect_Command()