Home
last modified time | relevance | path

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

12

/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp485 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Visualizer_command() argument
497 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Visualizer_command()
500 *(int *) pReplyData = Visualizer_init(pContext); in Visualizer_command()
504 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Visualizer_command()
507 *(int *) pReplyData = Visualizer_setConfig(pContext, in Visualizer_command()
511 if (pReplyData == NULL || replySize == NULL || in Visualizer_command()
515 Visualizer_getConfig(pContext, (effect_config_t *)pReplyData); in Visualizer_command()
521 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Visualizer_command()
529 *(int *)pReplyData = 0; in Visualizer_command()
532 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Visualizer_command()
[all …]
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp351 void *pCmdData, uint32_t *replySize, void *pReplyData) { in LE_command() argument
362 if (pReplyData == NULL || *replySize != sizeof(int)) { in LE_command()
365 *(int *) pReplyData = LE_init(pContext); in LE_command()
369 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in LE_command()
372 *(int *) pReplyData = LE_setConfig(pContext, in LE_command()
376 if (pReplyData == NULL || in LE_command()
380 LE_getConfig(pContext, (effect_config_t *)pReplyData); in LE_command()
386 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in LE_command()
394 *(int *)pReplyData = 0; in LE_command()
397 if (pReplyData == NULL || *replySize != sizeof(int)) { in LE_command()
[all …]
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp630 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Equalizer_command() argument
645 if (pReplyData == NULL || *replySize != sizeof(int)) { in Equalizer_command()
648 *(int *) pReplyData = Equalizer_init(pContext); in Equalizer_command()
652 || pReplyData == NULL || *replySize != sizeof(int)) { in Equalizer_command()
655 *(int *) pReplyData = Equalizer_setConfig(pContext, in Equalizer_command()
659 if (pReplyData == NULL || *replySize != sizeof(effect_config_t)) { in Equalizer_command()
669 pReplyData == NULL || *replySize < (sizeof(effect_param_t) + sizeof(int32_t))) { in Equalizer_command()
673 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Equalizer_command()
674 p = (effect_param_t *)pReplyData; in Equalizer_command()
681 *(int32_t *)((char *)pReplyData + sizeof(effect_param_t) + voffset), in Equalizer_command()
[all …]
DEffectReverb.c283 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Reverb_Command() argument
299 if (pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_Command()
302 *(int *) pReplyData = Reverb_Init(pRvbModule, pReverb->m_Aux, pReverb->m_Preset); in Reverb_Command()
303 if (*(int *) pReplyData == 0) { in Reverb_Command()
309 || pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_Command()
312 *(int *) pReplyData = Reverb_setConfig(pRvbModule, in Reverb_Command()
316 if (pReplyData == NULL || *replySize != sizeof(effect_config_t)) { in Reverb_Command()
325 …EFFECT_CMD_GET_PARAM pCmdData %p, *replySize %d, pReplyData: %p",pCmdData, *replySize, pReplyData); in Reverb_Command()
328 pReplyData == NULL || *replySize < (int) sizeof(effect_param_t)) { in Reverb_Command()
331 effect_param_t *rep = (effect_param_t *) pReplyData; in Reverb_Command()
[all …]
DEffectReverb.h319 void *pReplyData);
/frameworks/av/media/libaudiohal/impl/
DEffectHalHidl.cpp234 uint32_t *replySize, void *pReplyData) { in command() argument
239 return setConfigImpl(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
241 return getConfigImpl(cmdCode, replySize, pReplyData); in command()
251 if (replySize == nullptr || pReplyData == nullptr) replySize = &replySizeStub; in command()
257 if (pReplyData != nullptr && *replySize > 0) { in command()
258 memcpy(pReplyData, &result[0], *replySize); in command()
294 uint32_t cmdCode, uint32_t *replySize, void *pReplyData) { in getConfigImpl() argument
295 if (replySize == NULL || *replySize != sizeof(effect_config_t) || pReplyData == NULL) { in getConfigImpl()
304 effectConfigToHal(hidlConfig, static_cast<effect_config_t*>(pReplyData)); in getConfigImpl()
311 effectConfigToHal(hidlConfig, static_cast<effect_config_t*>(pReplyData)); in getConfigImpl()
[all …]
DEffectHalHidl.h53 uint32_t *replySize, void *pReplyData);
97 status_t getConfigImpl(uint32_t cmdCode, uint32_t *replySize, void *pReplyData);
103 uint32_t *replySize, void *pReplyData);
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1401 void *pReplyData) in PreProcessingFx_Command() argument
1413 if (pReplyData == NULL || *replySize != sizeof(int)){ in PreProcessingFx_Command()
1419 *(int *)pReplyData = 0; in PreProcessingFx_Command()
1425 pReplyData == NULL|| in PreProcessingFx_Command()
1439 *(int *)pReplyData = Session_SetConfig(effect->session, (effect_config_t *)pCmdData); in PreProcessingFx_Command()
1445 if (*(int *)pReplyData != 0) { in PreProcessingFx_Command()
1449 *(int *)pReplyData = Effect_SetState(effect, PREPROC_EFFECT_STATE_CONFIG); in PreProcessingFx_Command()
1454 if (pReplyData == NULL || in PreProcessingFx_Command()
1461 Session_GetConfig(effect->session, (effect_config_t *)pReplyData); in PreProcessingFx_Command()
1467 pReplyData == NULL || in PreProcessingFx_Command()
[all …]
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp203 void *pReplyData) { in Effect_command() argument
249 *(int*)pReplyData = FAILED_TRANSACTION; in Effect_command()
259 *(int*)pReplyData = FAILED_TRANSACTION; in Effect_command()
271 pCmdData, replySize, pReplyData); in Effect_command()
273 *(int*)pReplyData = NO_ERROR; in Effect_command()
275 *(int*)pReplyData); in Effect_command()
323 subReplyData[i] = pReplyData; in Effect_command()
327 subReplyData[i] = pReplyData == NULL ? NULL : pContext->replyData; in Effect_command()
DEffectProxy.h51 void *pReplyData);
/frameworks/av/media/libeffects/dynamicsproc/
DEffectDynamicsProcessing.cpp438 void *pCmdData, uint32_t *replySize, void *pReplyData) { in DP_command() argument
450 if (pReplyData == NULL || *replySize != sizeof(int)) { in DP_command()
454 *(int *) pReplyData = DP_init(pContext); in DP_command()
458 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in DP_command()
462 *(int *) pReplyData = DP_setConfig(pContext, in DP_command()
466 if (pReplyData == NULL || in DP_command()
471 DP_getConfig(pContext, (effect_config_t *)pReplyData); in DP_command()
477 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in DP_command()
483 *(int *)pReplyData = -ENOSYS; in DP_command()
487 *(int *)pReplyData = 0; in DP_command()
[all …]
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c509 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Downmix_Command() argument
524 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Downmix_Command()
527 *(int *) pReplyData = Downmix_Init(pDwmModule); in Downmix_Command()
532 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Downmix_Command()
535 *(int *) pReplyData = Downmix_Configure(pDwmModule, in Downmix_Command()
545 pCmdData, *replySize, pReplyData); in Downmix_Command()
547 pReplyData == NULL || replySize == NULL || in Downmix_Command()
551 effect_param_t *rep = (effect_param_t *) pReplyData; in Downmix_Command()
552 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t)); in Downmix_Command()
562 ", pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData); in Downmix_Command()
[all …]
DEffectDownmix.h86 void *pReplyData);
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1851 void *pReplyData){ in Reverb_command() argument
1868 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)){ in Reverb_command()
1873 *(int *) pReplyData = 0; in Reverb_command()
1880 pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Reverb_command()
1885 *(int *) pReplyData = android::Reverb_setConfig(pContext, in Reverb_command()
1890 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(effect_config_t)) { in Reverb_command()
1896 android::Reverb_getConfig(pContext, (effect_config_t *)pReplyData); in Reverb_command()
1919 pReplyData == NULL || replySize == NULL || in Reverb_command()
1926 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Reverb_command()
1928 p = (effect_param_t *)pReplyData; in Reverb_command()
[all …]
/frameworks/av/media/libaudioclient/
DIEffectClient.cpp63 void *pReplyData) in commandExecuted() argument
78 if (pReplyData == NULL) { in commandExecuted()
83 data.write(pReplyData, size); in commandExecuted()
DIEffect.cpp69 void *pReplyData) in command() argument
101 if (size != 0 && pReplyData != NULL && pReplySize != NULL) { in command()
102 reply.read(pReplyData, size); in command()
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h567 void *pReplyData);
606 void *pReplyData) { in commandExecuted() argument
615 cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
DIEffectClient.h38 void *pReplyData) = 0;
DIEffect.h40 void *pReplyData) = 0;
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp3298 void *pReplyData){ in Effect_command() argument
3333 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)){ in Effect_command()
3338 *(int *) pReplyData = 0; in Effect_command()
3354 *(int *) pReplyData = android::VolumeSetVolumeLevel(pContext, 0); in Effect_command()
3361 pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Effect_command()
3366 *(int *) pReplyData = android::Effect_setConfig(pContext, (effect_config_t *) pCmdData); in Effect_command()
3371 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(effect_config_t)) { in Effect_command()
3377 android::Effect_getConfig(pContext, (effect_config_t *)pReplyData); in Effect_command()
3392 pReplyData == NULL || replySize == NULL || in Effect_command()
3417 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Effect_command()
[all …]
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp631 jbyte* pReplyData = NULL; in android_media_AudioEffect_native_command() local
656 pReplyData = (jbyte *) env->GetPrimitiveArrayCritical(jReplyData, NULL); in android_media_AudioEffect_native_command()
657 if (pReplyData == NULL) { in android_media_AudioEffect_native_command()
668 pReplyData)); in android_media_AudioEffect_native_command()
675 if (pReplyData != NULL) { in android_media_AudioEffect_native_command()
676 env->ReleasePrimitiveArrayCritical(jReplyData, pReplyData, 0); in android_media_AudioEffect_native_command()
/frameworks/av/media/libaudiohal/include/media/audiohal/
DEffectHalInterface.h47 uint32_t *replySize, void *pReplyData) = 0;
/frameworks/av/services/audioflinger/
DEffects.h139 void *pReplyData __unused) { return NO_ERROR; }; in command()
220 void *pReplyData) override;
336 void *pReplyData);
355 void *pReplyData);
DEffects.cpp1167 void *pReplyData) in command() argument
1228 pReplyData); in command()
1234 h->commandExecuted(cmdCode, cmdSize, pCmdData, size, pReplyData); in command()
1744 void *pReplyData) in command() argument
1772 *(int *)pReplyData = NO_ERROR; in command()
1780 *(int *)pReplyData = NO_ERROR; in command()
1805 *(int *)pReplyData = NO_ERROR; in command()
1863 *(int *)pReplyData = reply; in command()
1866 *(int *)pReplyData = reply; in command()
1877 return effect->command(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
[all …]
/frameworks/wilhelm/src/android/
Dandroid_Effect.h107 SLuint32 *replySize, void *pReplyData);

12