/frameworks/av/media/libeffects/proxy/ |
H A D | EffectProxy.h | 50 uint32_t *replySize, 78 uint32_t replySize; // current size of temporary reply buffer member in struct:android::EffectContext
|
H A D | EffectProxy.cpp | 139 pContext->replySize = PROXY_REPLY_SIZE_DEFAULT; 204 uint32_t *replySize, 268 pCmdData, replySize, pReplyData); 291 if (replySize != NULL) { 292 tmpSize = pContext->replySize; 293 while (tmpSize < *replySize && tmpSize < PROXY_REPLY_SIZE_MAX) { 296 if (tmpSize > pContext->replySize) { 299 pContext->replySize = tmpSize; 301 if (tmpSize > *replySize) { 302 tmpSize = *replySize; 200 Effect_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IAndroidEffect.cpp | 87 void* pCommand, SLuint32 *replySize, void *pReply) { 93 pCommand, replySize, pReply); 85 IAndroidEffect_SendCommand(SLAndroidEffectItf self, SLInterfaceID effectImplementationId, SLuint32 command, SLuint32 commandSize, void* pCommand, SLuint32 *replySize, void *pReply) argument
|
/frameworks/av/media/libmedia/ |
H A D | IEffectClient.cpp | 62 uint32_t replySize, 77 size = replySize; 122 uint32_t replySize = data.readInt32(); local 124 if (replySize) { 125 resp = (char *)malloc(replySize); 126 data.read(resp, replySize); 128 commandExecuted(cmdCode, cmdSize, cmd, replySize, resp); 59 commandExecuted(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t replySize, void *pReplyData) argument
|
H A D | IEffect.cpp | 166 uint32_t replySize = data.readInt32(); local 167 uint32_t replySz = replySize; 169 if (replySize) { 170 resp = (char *)calloc(replySize, 1); 180 if (replySz < replySize) { 181 replySize = replySz; 183 reply->writeInt32(replySize); 184 if (replySize) { 185 reply->write(resp, replySize);
|
H A D | Visualizer.cpp | 243 uint32_t replySize = number * sizeof(int32_t); local 247 &replySize, measurements); 249 if ((status == NO_ERROR) && (replySize == 0)) { 270 uint32_t replySize = mCaptureSize; local 271 status = command(VISUALIZER_CMD_CAPTURE, 0, NULL, &replySize, waveform); 273 if ((status == NO_ERROR) && (replySize == 0)) {
|
H A D | AudioEffect.cpp | 235 uint32_t *replySize, 247 if (replySize == NULL || *replySize != sizeof(status_t) || replyData == NULL) { 253 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData); 397 uint32_t replySize __unused, 232 command(uint32_t cmdCode, uint32_t cmdSize, void *cmdData, uint32_t *replySize, void *replyData) argument
|
/frameworks/av/include/media/ |
H A D | AudioEffect.h | 385 uint32_t *replySize, 426 uint32_t replySize, 455 uint32_t replySize, 460 cmdCode, cmdSize, pCmdData, replySize, pReplyData); 452 commandExecuted(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t replySize, void *pReplyData) argument
|
/frameworks/av/media/libeffects/loudness/ |
H A D | EffectLoudnessEnhancer.cpp | 311 void *pCmdData, uint32_t *replySize, void *pReplyData) { 323 if (pReplyData == NULL || *replySize != sizeof(int)) { 330 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 338 *replySize != sizeof(effect_config_t)) { 347 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 358 if (pReplyData == NULL || *replySize != sizeof(int)) { 371 pReplyData == NULL || replySize == NULL || 372 *replySize < (in 310 LE_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument [all...] |
/frameworks/av/services/audioflinger/ |
H A D | BufferProviders.cpp | 173 uint32_t replySize = sizeof(int); local 179 &replySize, &cmdStatus /*pReplyData*/); 189 replySize = sizeof(int); 192 &replySize, &cmdStatus /*pReplyData*/); 213 replySize = sizeof(int); 216 param /*pCmdData*/, &replySize, &cmdStatus /*pReplyData*/);
|
H A D | Effects.cpp | 549 uint32_t *replySize, 562 (*replySize < sizeof(effect_param_t) || 563 ((effect_param_t *)pCmdData)->psize > *replySize - sizeof(effect_param_t))) { 571 replySize, 574 uint32_t size = (replySize == NULL) ? 0 : *replySize; 1210 uint32_t *replySize, 1285 return mEffect->command(cmdCode, cmdSize, pCmdData, replySize, pReplyData); 1303 uint32_t replySize, 1307 mEffectClient->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyDat 546 command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument 1207 command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument 1300 commandExecuted(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t replySize, void *pReplyData) argument [all...] |
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectEqualizer.cpp | 627 void *pCmdData, uint32_t *replySize, void *pReplyData) { 642 if (pReplyData == NULL || *replySize != sizeof(int)) { 649 || pReplyData == NULL || *replySize != sizeof(int)) { 656 if (pReplyData == NULL || *replySize != sizeof(effect_config_t)) { 666 pReplyData == NULL || *replySize < (sizeof(effect_param_t) + sizeof(int32_t))) { 675 *replySize = sizeof(effect_param_t) + voffset + p->vsize; 676 ALOGV("Equalizer_command EFFECT_CMD_GET_PARAM *pCmdData %d, *replySize %d, *pReplyData %08x %08x", 677 *(int32_t *)((char *)pCmdData + sizeof(effect_param_t)), *replySize, 683 ALOGV("Equalizer_command EFFECT_CMD_SET_PARAM cmdSize %d pCmdData %p, *replySize %d, pReplyData %p", 684 cmdSize, pCmdData, *replySize, pReplyDat 626 Equalizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument [all...] |
H A D | EffectReverb.c | 280 void *pCmdData, uint32_t *replySize, void *pReplyData) { 296 if (pReplyData == NULL || *replySize != sizeof(int)) { 306 || pReplyData == NULL || *replySize != sizeof(int)) { 313 if (pReplyData == NULL || *replySize != sizeof(effect_config_t)) { 322 ALOGV("Reverb_Command EFFECT_CMD_GET_PARAM pCmdData %p, *replySize %d, pReplyData: %p",pCmdData, *replySize, pReplyData); 325 pReplyData == NULL || *replySize < (int) sizeof(effect_param_t)) { 330 ALOGV("Reverb_Command EFFECT_CMD_GET_PARAM param %d, replySize %d",*(int32_t *)rep->data, rep->vsize); 333 *replySize = sizeof(effect_param_t) + sizeof(int32_t) + rep->vsize; 336 ALOGV("Reverb_Command EFFECT_CMD_SET_PARAM cmdSize %d pCmdData %p, *replySize 279 Reverb_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument [all...] |
/frameworks/av/media/libeffects/downmix/ |
H A D | EffectDownmix.c | 388 void *pCmdData, uint32_t *replySize, void *pReplyData) { 404 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 412 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 424 ALOGV("Downmix_Command EFFECT_CMD_GET_PARAM pCmdData %p, *replySize %" PRIu32 ", pReplyData: %p", 425 pCmdData, *replySize, pReplyData); 427 pReplyData == NULL || replySize == NULL || 428 *replySize < (int) sizeof(effect_param_t) + 2 * sizeof(int32_t)) { 433 ALOGV("Downmix_Command EFFECT_CMD_GET_PARAM param %" PRId32 ", replySize 387 Downmix_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument [all...] |
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 103 uint32_t *replySize, 119 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData); 99 Effect_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument
|
/frameworks/av/media/libeffects/visualizer/ |
H A D | EffectVisualizer.cpp | 414 void *pCmdData, uint32_t *replySize, void *pReplyData) { 427 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 434 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 441 if (pReplyData == NULL || replySize == NULL || 442 *replySize != sizeof(effect_config_t)) { 451 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 462 if (pReplyData == NULL || replySize 413 Visualizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument [all...] |
/frameworks/base/media/jni/audioeffect/ |
H A D | android_media_AudioEffect.cpp | 664 jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize, 677 if ((cmdSize != 0 && jCmdData == NULL) || (replySize != 0 && jReplyData == NULL)) { 691 if (replySize != 0 && jReplyData != NULL) { 702 (uint32_t *)&replySize, 715 return replySize; 663 android_media_AudioEffect_native_command(JNIEnv *env, jobject thiz, jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize, jbyteArray jReplyData) argument
|
/frameworks/wilhelm/src/android/ |
H A D | android_Effect.cpp | 843 SLuint32 *replySize, void *pReplyData) { 855 (uint32_t*)replySize, 841 android_genericFx_sendCommand(IAndroidEffect* iae, SLInterfaceID pUuid, SLuint32 command, SLuint32 commandSize, void* pCommandData, SLuint32 *replySize, void *pReplyData) argument
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 1898 uint32_t *replySize, 1918 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)){ 1930 pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 1940 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(effect_config_t)) { 1965 pReplyData == NULL || replySize == NULL || 1966 *replySize < (sizeof(effect_param_t) + p->psize)) { 1983 *replySize 1894 Reverb_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
H A D | EffectBundle.cpp | 3006 uint32_t *replySize, 3043 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)){ 3071 pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 3081 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(effect_config_t)) { 3106 pReplyData == NULL || replySize == NULL || 3107 *replySize < (sizeof(effect_param_t) + p->psize)) { 3124 // "*pCmdData %d, *replySize 3002 Effect_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument [all...] |
/frameworks/av/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 1401 uint32_t *replySize, 1416 if (pReplyData == NULL || *replySize != sizeof(int)){ 1429 *replySize != sizeof(int)){ 1458 *replySize != sizeof(effect_config_t)) { 1471 *replySize != sizeof(int)) { 1485 *replySize != sizeof(effect_config_t)){ 1504 pReplyData == NULL || replySize == NULL || 1505 *replySize < (sizeof(effect_param_t) + p->psize)){ 1521 *replySize = sizeof(effect_param_t) + voffset + p->vsize; 1528 pReplyData == NULL || replySize 1397 PreProcessingFx_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument [all...] |