/hardware/qcom/audio/post_proc/ |
bass_boost.h | 36 int bassboost_get_parameter(effect_context_t *context, effect_param_t *p, 39 int bassboost_set_parameter(effect_context_t *context, effect_param_t *p,
|
equalizer.h | 40 int equalizer_get_parameter(effect_context_t *context, effect_param_t *p, 43 int equalizer_set_parameter(effect_context_t *context, effect_param_t *p,
|
virtualizer.h | 36 int virtualizer_get_parameter(effect_context_t *context, effect_param_t *p, 39 int virtualizer_set_parameter(effect_context_t *context, effect_param_t *p,
|
bundle.h | 63 int (*set_parameter)(effect_context_t *context, effect_param_t *param, uint32_t size); 64 int (*get_parameter)(effect_context_t *context, effect_param_t *param, uint32_t *size);
|
reverb.h | 63 int reverb_get_parameter(effect_context_t *context, effect_param_t *p, 66 int reverb_set_parameter(effect_context_t *context, effect_param_t *p,
|
bundle.c | 624 cmdSize < (int)(sizeof(effect_param_t) + sizeof(uint32_t)) || 626 *replySize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint16_t)) || 628 ((effect_param_t *)pCmdData)->psize > *replySize - sizeof(effect_param_t)) { 638 effect_param_t *q = (effect_param_t *)pCmdData; 639 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + q->psize); 640 effect_param_t *p = (effect_param_t *)pReplyData; 646 cmdSize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) [all...] |
bass_boost.c | 65 int bassboost_get_parameter(effect_context_t *context, effect_param_t *p, 94 *size = sizeof(effect_param_t) + voffset + p->vsize; 118 int bassboost_set_parameter(effect_context_t *context, effect_param_t *p,
|
virtualizer.c | 65 int virtualizer_get_parameter(effect_context_t *context, effect_param_t *p, 94 *size = sizeof(effect_param_t) + voffset + p->vsize; 118 int virtualizer_set_parameter(effect_context_t *context, effect_param_t *p,
|
/cts/tests/tests/security/testeffect/ |
CTSTestEffect.cpp | 144 cmdSize != (int)(sizeof(effect_param_t)) || 146 *replySize < (int)(sizeof(effect_param_t))) { 149 effect_param_t *p = (effect_param_t *)pReplyData; 154 cmdSize != (int)(sizeof(effect_param_t)) ||
|
/frameworks/av/services/audiopolicy/service/ |
AudioPolicyEffects.h | 99 effect_param_t *origParam = orig.mParams[k]; 101 size_t origSize = sizeof(effect_param_t) + 104 effect_param_t *dupParam = (effect_param_t *) malloc(origSize); 120 Vector <effect_param_t *> mParams; 171 void loadEffectParameters(cnode *root, Vector <effect_param_t *>& params); 172 effect_param_t *loadEffectParameter(cnode *root);
|
AudioPolicyEffects.cpp | 395 // *curSize is at least sizeof(effect_param_t) + 2 * sizeof(int) 480 effect_param_t *AudioPolicyEffects::loadEffectParameter(cnode *root) 484 size_t curSize = sizeof(effect_param_t); 485 size_t totSize = sizeof(effect_param_t) + 2 * sizeof(int); 486 effect_param_t *fx_param = (effect_param_t *)malloc(totSize); 503 int *ptr2 = (int *)((char *)param + sizeof(effect_param_t)); 555 void AudioPolicyEffects::loadEffectParameters(cnode *root, Vector <effect_param_t *>& params) 560 effect_param_t *param = loadEffectParameter(node);
|
/frameworks/av/media/libmedia/ |
Visualizer.cpp | 138 uint32_t buf32[sizeof(effect_param_t) / sizeof(uint32_t) + 2]; 139 effect_param_t *p = (effect_param_t *)buf32; 167 uint32_t buf32[sizeof(effect_param_t) / sizeof(uint32_t) + 2]; 168 effect_param_t *p = (effect_param_t *)buf32; 197 uint32_t buf32[sizeof(effect_param_t) / sizeof(uint32_t) + 2]; 198 effect_param_t *p = (effect_param_t *)buf32; 367 uint32_t buf32[sizeof(effect_param_t) / sizeof(uint32_t) + 2] [all...] |
/frameworks/av/media/libaudioclient/ |
AudioEffect.cpp | 274 status_t AudioEffect::setParameter(effect_param_t *param) 290 return mIEffect->command(EFFECT_CMD_SET_PARAM, sizeof (effect_param_t) + psize, param, &size, 294 status_t AudioEffect::setParameterDeferred(effect_param_t *param) 307 int size = ((sizeof(effect_param_t) + psize - 1) / sizeof(int) + 1) * sizeof(int); 314 memcpy(p, param, sizeof(effect_param_t) + psize); 334 status_t AudioEffect::getParameter(effect_param_t *param) 347 uint32_t psize = sizeof(effect_param_t) + ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + 350 return mIEffect->command(EFFECT_CMD_GET_PARAM, sizeof(effect_param_t) + param->psize, param, 410 effect_param_t *cmd = (effect_param_t *)cmdData [all...] |
/frameworks/av/media/libeffects/testlibs/ |
EffectEqualizer.cpp | 668 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || 669 pReplyData == NULL || *replySize < (sizeof(effect_param_t) + sizeof(int32_t))) { 672 effect_param_t *p = (effect_param_t *)pCmdData; 673 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); 674 p = (effect_param_t *)pReplyData; 678 *replySize = sizeof(effect_param_t) + voffset + p->vsize; 680 *(int32_t *)((char *)pCmdData + sizeof(effect_param_t)), *replySize, 681 *(int32_t *)((char *)pReplyData + sizeof(effect_param_t) + voffset), 682 *(int32_t *)((char *)pReplyData + sizeof(effect_param_t) + voffset + sizeof(int32_t))) [all...] |
/frameworks/av/media/libeffects/loudness/ |
EffectLoudnessEnhancer.cpp | 372 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t)) || 374 *replySize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t))) { 377 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(uint32_t)); 378 effect_param_t *p = (effect_param_t *)pReplyData; 380 *replySize = sizeof(effect_param_t) + sizeof(uint32_t); 398 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t)) || 403 effect_param_t *p = (effect_param_t *)pCmdData;
|
/frameworks/av/media/libaudioclient/include/media/ |
AudioEffect.h | 180 * - EVENT_PARAMETER_CHANGED: pointer to a effect_param_t structure. 323 * param: pointer to effect_param_t structure containing the parameter 331 virtual status_t setParameter(effect_param_t *param); 339 * param: pointer to effect_param_t structure containing the parameter 348 virtual status_t setParameterDeferred(effect_param_t *param); 367 * param: pointer to effect_param_t structure containing the parameter 376 virtual status_t getParameter(effect_param_t *param);
|
/hardware/qcom/audio/voice_processing/ |
voice_processing.c | 574 cmdSize < (int)sizeof(effect_param_t) || 576 *replySize < (int)sizeof(effect_param_t) || 578 ((effect_param_t *)pCmdData)->psize > *replySize - sizeof(effect_param_t)) { 582 effect_param_t *p = (effect_param_t *)pCmdData; 584 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); 585 p = (effect_param_t *)pReplyData; 592 cmdSize < (int)sizeof(effect_param_t) || 598 effect_param_t *p = (effect_param_t *) pCmdData [all...] |
/frameworks/wilhelm/src/android/ |
android_Effect.cpp | 35 static const int EQUALIZER_PARAM_SIZE_MAX = sizeof(effect_param_t) + 2 * sizeof(int32_t) 38 static const int BASSBOOST_PARAM_SIZE_MAX = sizeof(effect_param_t) + 2 * sizeof(int32_t); 40 static const int VIRTUALIZER_PARAM_SIZE_MAX = sizeof(effect_param_t) + 2 * sizeof(int32_t); 42 static const int ENVREVERB_PARAM_SIZE_MAX_SINGLE = sizeof(effect_param_t) + 2 * sizeof(int32_t); 44 static const int ENVREVERB_PARAM_SIZE_MAX_ALL = sizeof(effect_param_t) + sizeof(int32_t) 47 static const int PRESETREVERB_PARAM_SIZE_MAX = sizeof(effect_param_t) + 2 * sizeof(int32_t); 204 effect_param_t *p = (effect_param_t *)buf32; 230 effect_param_t *p = (effect_param_t *)buf32 [all...] |
/frameworks/av/media/libeffects/visualizer/ |
EffectVisualizer.cpp | 477 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t)) || 479 *replySize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t))) { 482 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(uint32_t)); 483 effect_param_t *p = (effect_param_t *)pReplyData; 485 *replySize = sizeof(effect_param_t) + sizeof(uint32_t); 515 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t)) || 520 effect_param_t *p = (effect_param_t *)pCmdData;
|
/frameworks/av/services/audioflinger/ |
Effects.cpp | 439 uint32_t buf32[sizeof(effect_param_t) / sizeof(uint32_t) + 2]; 440 effect_param_t *p = (effect_param_t *)buf32; 455 sizeof(effect_param_t) + 8, 625 (sizeof(effect_param_t) > cmdSize || 626 ((effect_param_t *)pCmdData)->psize > cmdSize 627 - sizeof(effect_param_t))) { 633 (*replySize < sizeof(effect_param_t) || 634 ((effect_param_t *)pCmdData)->psize > *replySize - sizeof(effect_param_t))) { [all...] |
/system/media/audio/include/system/ |
audio_effect.h | 76 EFFECT_CMD_SET_PARAM, // set parameter immediately (see effect_param_t) 168 // size: sizeof(effect_param_t) + size of param and value 169 // data: effect_param_t + param + value. See effect_param_t definition below for value offset 181 // size: sizeof(effect_param_t) + size of param and value 182 // data: effect_param_t + param + value. See effect_param_t definition below for value offset 207 // size: sizeof(effect_param_t) + size of param 208 // data: effect_param_t + param 211 // size: sizeof(effect_param_t) + size of param and valu 515 } effect_param_t; typedef in typeref:struct:effect_param_s [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.cpp | [all...] |
/hardware/qcom/audio/visualizer/ |
offload_visualizer.c | 66 int (*set_parameter)(effect_context_t *context, effect_param_t *param, uint32_t size); 67 int (*get_parameter)(effect_context_t *context, effect_param_t *param, uint32_t *size); 642 int visualizer_get_parameter(effect_context_t *context, effect_param_t *p, uint32_t *size) 647 *size = sizeof(effect_param_t) + sizeof(uint32_t); 677 int visualizer_set_parameter(effect_context_t *context, effect_param_t *p, uint32_t size __unused) [all...] |
/frameworks/av/media/libeffects/downmix/ |
EffectDownmix.c | 544 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || 546 *replySize < (int) sizeof(effect_param_t) + 2 * sizeof(int32_t)) { 549 effect_param_t *rep = (effect_param_t *) pReplyData; 550 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t)); 555 *replySize = sizeof(effect_param_t) + sizeof(int32_t) + rep->vsize; 561 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) 565 effect_param_t *cmd = (effect_param_t *) pCmdData; [all...] |
/frameworks/base/media/jni/audioeffect/ |
android_media_AudioEffect.cpp | 101 effect_param_t *p; 147 p = (effect_param_t *)info; 152 arg1 = sizeof(effect_param_t) + ((p->psize - 1) / sizeof(int) + 1) * sizeof(int); 543 effect_param_t *p; 572 p = (effect_param_t *) malloc(sizeof(effect_param_t) + voffset + vsize); 604 effect_param_t *p; 633 p = (effect_param_t *) malloc(sizeof(effect_param_t) + voffset + vsize);
|