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.cpp414 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Visualizer_command() argument
427 if (pReplyData == NULL || *replySize != sizeof(int)) { in Visualizer_command()
430 *(int *) pReplyData = Visualizer_init(pContext); in Visualizer_command()
434 || pReplyData == NULL || *replySize != sizeof(int)) { in Visualizer_command()
437 *(int *) pReplyData = Visualizer_setConfig(pContext, in Visualizer_command()
441 if (pReplyData == NULL || in Visualizer_command()
445 Visualizer_getConfig(pContext, (effect_config_t *)pReplyData); in Visualizer_command()
451 if (pReplyData == NULL || *replySize != sizeof(int)) { in Visualizer_command()
459 *(int *)pReplyData = 0; in Visualizer_command()
462 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 < (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.c357 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Downmix_Command() argument
373 if (pReplyData == NULL || *replySize != sizeof(int)) { in Downmix_Command()
376 *(int *) pReplyData = Downmix_Init(pDwmModule); in Downmix_Command()
381 || pReplyData == NULL || *replySize != sizeof(int)) { in Downmix_Command()
384 *(int *) pReplyData = Downmix_Configure(pDwmModule, in Downmix_Command()
394 pCmdData, *replySize, pReplyData); in Downmix_Command()
396 pReplyData == NULL || in Downmix_Command()
400 effect_param_t *rep = (effect_param_t *) pReplyData; in Downmix_Command()
401 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t)); in Downmix_Command()
411 ", 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/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/Bundle/
DEffectBundle.cpp2936 void *pReplyData){ in Effect_command() argument
2972 if (pReplyData == NULL || *replySize != sizeof(int)){ in Effect_command()
2977 *(int *) pReplyData = 0; in Effect_command()
2993 *(int *) pReplyData = android::VolumeSetVolumeLevel(pContext, 0); in Effect_command()
3001 pReplyData == NULL|| in Effect_command()
3007 *(int *) pReplyData = android::Effect_setConfig(pContext, (effect_config_t *) pCmdData); in Effect_command()
3012 if (pReplyData == NULL || in Effect_command()
3019 android::Effect_getConfig(pContext, (effect_config_t *)pReplyData); in Effect_command()
3034 pReplyData == NULL || in Effect_command()
3042 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Effect_command()
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1899 void *pReplyData){ in Reverb_command() argument
1918 if (pReplyData == NULL || *replySize != sizeof(int)){ in Reverb_command()
1923 *(int *) pReplyData = 0; in Reverb_command()
1931 pReplyData == NULL || in Reverb_command()
1937 *(int *) pReplyData = android::Reverb_setConfig(pContext, in Reverb_command()
1942 if (pReplyData == NULL || in Reverb_command()
1949 android::Reverb_getConfig(pContext, (effect_config_t *)pReplyData); in Reverb_command()
1963 pReplyData == NULL || in Reverb_command()
1971 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Reverb_command()
1973 p = (effect_param_t *)pReplyData; in Reverb_command()
[all …]
/frameworks/av/include/media/
DAudioEffect.h413 void *pReplyData);
435 void *pReplyData) { in commandExecuted() argument
436 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);
183 void *pReplyData);
202 void *pReplyData);
DEffects.cpp542 void *pReplyData) in command() argument
558 pReplyData); in command()
564 h->commandExecuted(cmdCode, cmdSize, pCmdData, size, pReplyData); in command()
1198 void *pReplyData) in command() argument
1253 *(int *)pReplyData = reply; in command()
1256 *(int *)pReplyData = reply; in command()
1265 *(int *)pReplyData = NO_ERROR; in command()
1268 *(int *)pReplyData = NO_ERROR; in command()
1272 return mEffect->command(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
1291 void *pReplyData) in commandExecuted() argument
[all …]
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp651 jbyte* pReplyData = NULL; in android_media_AudioEffect_native_command() local
679 pReplyData = (jbyte *) env->GetPrimitiveArrayCritical(jReplyData, NULL); in android_media_AudioEffect_native_command()
680 if (pReplyData == NULL) { in android_media_AudioEffect_native_command()
690 pReplyData)); in android_media_AudioEffect_native_command()
697 if (pReplyData != NULL) { in android_media_AudioEffect_native_command()
698 env->ReleasePrimitiveArrayCritical(jReplyData, pReplyData, 0); in android_media_AudioEffect_native_command()
/frameworks/wilhelm/src/android/
Dandroid_Effect.h92 SLuint32 *replySize, void *pReplyData);
Dandroid_Effect.cpp835 SLuint32 *replySize, void *pReplyData) { in android_genericFx_sendCommand() argument
848 pReplyData); in android_genericFx_sendCommand()
/frameworks/wilhelm/include/SLES/
DOpenSLES_Android.h90 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()