/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 | 621 cmdSize < (int)(sizeof(effect_param_t) + sizeof(uint32_t)) || 623 *replySize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + 634 effect_param_t *q = (effect_param_t *)pCmdData; 635 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + q->psize); 636 effect_param_t *p = (effect_param_t *)pReplyData; 642 cmdSize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + 651 effect_param_t *p = (effect_param_t *)pCmdData [all...] |
bass_boost.c | 64 int bassboost_get_parameter(effect_context_t *context, effect_param_t *p, 93 *size = sizeof(effect_param_t) + voffset + p->vsize; 117 int bassboost_set_parameter(effect_context_t *context, effect_param_t *p,
|
virtualizer.c | 64 int virtualizer_get_parameter(effect_context_t *context, effect_param_t *p, 93 *size = sizeof(effect_param_t) + voffset + p->vsize; 117 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/ |
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; 170 void loadEffectParameters(cnode *root, Vector <effect_param_t *>& params); 171 effect_param_t *loadEffectParameter(cnode *root);
|
AudioPolicyEffects.cpp | 380 // *curSize is at least sizeof(effect_param_t) + 2 * sizeof(int) 438 effect_param_t *AudioPolicyEffects::loadEffectParameter(cnode *root) 442 size_t curSize = sizeof(effect_param_t); 443 size_t totSize = sizeof(effect_param_t) + 2 * sizeof(int); 444 effect_param_t *fx_param = (effect_param_t *)malloc(totSize); 454 int *ptr2 = (int *)((char *)param + sizeof(effect_param_t)); 502 void AudioPolicyEffects::loadEffectParameters(cnode *root, Vector <effect_param_t *>& params) 507 effect_param_t *param = loadEffectParameter(node);
|
/frameworks/av/media/libmedia/ |
Visualizer.cpp | 145 uint32_t buf32[sizeof(effect_param_t) / sizeof(uint32_t) + 2]; 146 effect_param_t *p = (effect_param_t *)buf32; 174 uint32_t buf32[sizeof(effect_param_t) / sizeof(uint32_t) + 2]; 175 effect_param_t *p = (effect_param_t *)buf32; 204 uint32_t buf32[sizeof(effect_param_t) / sizeof(uint32_t) + 2]; 205 effect_param_t *p = (effect_param_t *)buf32; 374 uint32_t buf32[sizeof(effect_param_t) / sizeof(uint32_t) + 2] [all...] |
AudioEffect.cpp | 264 status_t AudioEffect::setParameter(effect_param_t *param) 280 return mIEffect->command(EFFECT_CMD_SET_PARAM, sizeof (effect_param_t) + psize, param, &size, 284 status_t AudioEffect::setParameterDeferred(effect_param_t *param) 297 int size = ((sizeof(effect_param_t) + psize - 1) / sizeof(int) + 1) * sizeof(int); 304 memcpy(p, param, sizeof(effect_param_t) + psize); 324 status_t AudioEffect::getParameter(effect_param_t *param) 337 uint32_t psize = sizeof(effect_param_t) + ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + 340 return mIEffect->command(EFFECT_CMD_GET_PARAM, sizeof(effect_param_t) + param->psize, param, 400 effect_param_t *cmd = (effect_param_t *)cmdData [all...] |
/frameworks/av/media/libeffects/testlibs/ |
EffectEqualizer.cpp | 665 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || 666 pReplyData == NULL || *replySize < (sizeof(effect_param_t) + sizeof(int32_t))) { 669 effect_param_t *p = (effect_param_t *)pCmdData; 670 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); 671 p = (effect_param_t *)pReplyData; 675 *replySize = sizeof(effect_param_t) + voffset + p->vsize; 677 *(int32_t *)((char *)pCmdData + sizeof(effect_param_t)), *replySize, 678 *(int32_t *)((char *)pReplyData + sizeof(effect_param_t) + voffset), 679 *(int32_t *)((char *)pReplyData + sizeof(effect_param_t) + voffset + sizeof(int32_t))) [all...] |
/frameworks/av/media/libeffects/loudness/ |
EffectLoudnessEnhancer.cpp | 370 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t)) || 372 *replySize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t))) { 375 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(uint32_t)); 376 effect_param_t *p = (effect_param_t *)pReplyData; 378 *replySize = sizeof(effect_param_t) + sizeof(uint32_t); 396 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t)) || 401 effect_param_t *p = (effect_param_t *)pCmdData;
|
/frameworks/av/include/media/ |
AudioEffect.h | 180 * - EVENT_PARAMETER_CHANGED: pointer to a effect_param_t structure. 316 * param: pointer to effect_param_t structure containing the parameter 324 virtual status_t setParameter(effect_param_t *param); 332 * param: pointer to effect_param_t structure containing the parameter 341 virtual status_t setParameterDeferred(effect_param_t *param); 360 * param: pointer to effect_param_t structure containing the parameter 369 virtual status_t getParameter(effect_param_t *param);
|
/frameworks/wilhelm/src/android/ |
android_Effect.cpp | 33 static const int EQUALIZER_PARAM_SIZE_MAX = sizeof(effect_param_t) + 2 * sizeof(int32_t) 36 static const int BASSBOOST_PARAM_SIZE_MAX = sizeof(effect_param_t) + 2 * sizeof(int32_t); 38 static const int VIRTUALIZER_PARAM_SIZE_MAX = sizeof(effect_param_t) + 2 * sizeof(int32_t); 40 static const int ENVREVERB_PARAM_SIZE_MAX_SINGLE = sizeof(effect_param_t) + 2 * sizeof(int32_t); 42 static const int ENVREVERB_PARAM_SIZE_MAX_ALL = sizeof(effect_param_t) + sizeof(int32_t) 45 static const int PRESETREVERB_PARAM_SIZE_MAX = sizeof(effect_param_t) + 2 * sizeof(int32_t); 197 effect_param_t *p = (effect_param_t *)buf32; 223 effect_param_t *p = (effect_param_t *)buf32 [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.cpp | [all...] |
/frameworks/av/media/libeffects/downmix/ |
EffectDownmix.c | 395 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || 397 *replySize < (int) sizeof(effect_param_t) + 2 * sizeof(int32_t)) { 400 effect_param_t *rep = (effect_param_t *) pReplyData; 401 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t)); 406 *replySize = sizeof(effect_param_t) + sizeof(int32_t) + rep->vsize; 412 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) 416 effect_param_t *cmd = (effect_param_t *) pCmdData; [all...] |
/frameworks/av/media/libeffects/visualizer/ |
EffectVisualizer.cpp | 474 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t)) || 476 *replySize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t))) { 479 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(uint32_t)); 480 effect_param_t *p = (effect_param_t *)pReplyData; 482 *replySize = sizeof(effect_param_t) + sizeof(uint32_t); 512 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t)) || 517 effect_param_t *p = (effect_param_t *)pCmdData;
|
/hardware/qcom/audio/voice_processing/ |
voice_processing.c | 560 cmdSize < (int)sizeof(effect_param_t) || 562 *replySize < (int)sizeof(effect_param_t)) { 566 effect_param_t *p = (effect_param_t *)pCmdData; 568 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); 569 p = (effect_param_t *)pReplyData; 576 cmdSize < (int)sizeof(effect_param_t) || 582 effect_param_t *p = (effect_param_t *) pCmdData;
|
/device/htc/flounder/audio/visualizer/ |
nv_offload_visualizer.c | 54 int (*set_parameter)(effect_context_t *context, effect_param_t *param, uint32_t size); 55 int (*get_parameter)(effect_context_t *context, effect_param_t *param, uint32_t *size); 568 int visualizer_get_parameter(effect_context_t *context, effect_param_t *p, uint32_t *size) 573 *size = sizeof(effect_param_t) + sizeof(uint32_t); 603 int visualizer_set_parameter(effect_context_t *context, effect_param_t *p, uint32_t size __unused) [all...] |
/device/samsung/manta/voicefx/ |
eS305VoiceProcessing.cpp | 830 cmdSize < (int)sizeof(effect_param_t) || 832 *replySize < (int)sizeof(effect_param_t)){ 837 effect_param_t *p = (effect_param_t *)pCmdData; 839 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); 841 p = (effect_param_t *)pReplyData; 849 *replySize = sizeof(effect_param_t) + voffset + p->vsize; 855 cmdSize < (int)sizeof(effect_param_t) || 862 effect_param_t *p = (effect_param_t *) pCmdData [all...] |
/hardware/qcom/audio/visualizer/ |
offload_visualizer.c | 64 int (*set_parameter)(effect_context_t *context, effect_param_t *param, uint32_t size); 65 int (*get_parameter)(effect_context_t *context, effect_param_t *param, uint32_t *size); 641 int visualizer_get_parameter(effect_context_t *context, effect_param_t *p, uint32_t *size) 646 *size = sizeof(effect_param_t) + sizeof(uint32_t); 676 int visualizer_set_parameter(effect_context_t *context, effect_param_t *p, uint32_t size __unused) [all...] |
/frameworks/base/media/jni/audioeffect/ |
android_media_AudioEffect.cpp | 97 effect_param_t *p; 143 p = (effect_param_t *)info; 148 arg1 = sizeof(effect_param_t) + ((p->psize - 1) / sizeof(int) + 1) * sizeof(int); 522 effect_param_t *p; 553 p = (effect_param_t *) malloc(sizeof(effect_param_t) + voffset + vsize); 585 effect_param_t *p; 616 p = (effect_param_t *) malloc(sizeof(effect_param_t) + voffset + vsize);
|