Home
last modified time | relevance | path

Searched refs:replySize (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp414 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Visualizer_command() argument
427 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Visualizer_command()
434 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Visualizer_command()
441 if (pReplyData == NULL || replySize == NULL || in Visualizer_command()
442 *replySize != sizeof(effect_config_t)) { in Visualizer_command()
451 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Visualizer_command()
462 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Visualizer_command()
475 pReplyData == NULL || replySize == NULL || in Visualizer_command()
476 *replySize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t))) { in Visualizer_command()
482 *replySize = sizeof(effect_param_t) + sizeof(uint32_t); in Visualizer_command()
[all …]
/frameworks/av/media/libmedia/
DIEffect.cpp166 uint32_t replySize = data.readInt32(); in onTransact() local
167 uint32_t replySz = replySize; in onTransact()
169 if (replySize) { in onTransact()
170 resp = (char *)calloc(replySize, 1); in onTransact()
180 if (replySz < replySize) { in onTransact()
181 replySize = replySz; in onTransact()
183 reply->writeInt32(replySize); in onTransact()
184 if (replySize) { in onTransact()
185 reply->write(resp, replySize); in onTransact()
DIEffectClient.cpp62 uint32_t replySize, in commandExecuted() argument
77 size = replySize; in commandExecuted()
122 uint32_t replySize = data.readInt32(); in onTransact() local
124 if (replySize) { in onTransact()
125 resp = (char *)malloc(replySize); in onTransact()
126 data.read(resp, replySize); in onTransact()
128 commandExecuted(cmdCode, cmdSize, cmd, replySize, resp); in onTransact()
DVisualizer.cpp243 uint32_t replySize = number * sizeof(int32_t); in getIntMeasurements() local
247 &replySize, measurements); in getIntMeasurements()
249 if ((status == NO_ERROR) && (replySize == 0)) { in getIntMeasurements()
270 uint32_t replySize = mCaptureSize; in getWaveForm() local
271 status = command(VISUALIZER_CMD_CAPTURE, 0, NULL, &replySize, waveform); in getWaveForm()
273 if ((status == NO_ERROR) && (replySize == 0)) { in getWaveForm()
DAudioEffect.cpp235 uint32_t *replySize, in command() argument
247 if (replySize == NULL || *replySize != sizeof(status_t) || replyData == NULL) { in command()
253 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData); in command()
397 uint32_t replySize __unused, in commandExecuted()
/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()
330 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in LE_command()
338 *replySize != sizeof(effect_config_t)) { in LE_command()
347 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in LE_command()
358 if (pReplyData == NULL || *replySize != sizeof(int)) { in LE_command()
371 pReplyData == NULL || replySize == NULL || in LE_command()
372 *replySize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t))) { in LE_command()
378 *replySize = sizeof(effect_param_t) + sizeof(uint32_t); in LE_command()
388 *replySize += sizeof(int32_t); in LE_command()
[all …]
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp139 pContext->replySize = PROXY_REPLY_SIZE_DEFAULT; in EffectProxyCreate()
204 uint32_t *replySize, in Effect_command() argument
268 pCmdData, replySize, pReplyData); in Effect_command()
291 if (replySize != NULL) { in Effect_command()
292 tmpSize = pContext->replySize; in Effect_command()
293 while (tmpSize < *replySize && tmpSize < PROXY_REPLY_SIZE_MAX) { in Effect_command()
296 if (tmpSize > pContext->replySize) { in Effect_command()
299 pContext->replySize = tmpSize; in Effect_command()
301 if (tmpSize > *replySize) { in Effect_command()
302 tmpSize = *replySize; in Effect_command()
[all …]
DEffectProxy.h50 uint32_t *replySize,
78 uint32_t replySize; // current size of temporary reply buffer member
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1401 uint32_t *replySize, in PreProcessingFx_Command() argument
1416 if (pReplyData == NULL || *replySize != sizeof(int)){ in PreProcessingFx_Command()
1429 *replySize != sizeof(int)){ in PreProcessingFx_Command()
1458 *replySize != sizeof(effect_config_t)) { in PreProcessingFx_Command()
1471 *replySize != sizeof(int)) { in PreProcessingFx_Command()
1485 *replySize != sizeof(effect_config_t)){ in PreProcessingFx_Command()
1504 pReplyData == NULL || replySize == NULL || in PreProcessingFx_Command()
1505 *replySize < (sizeof(effect_param_t) + p->psize)){ in PreProcessingFx_Command()
1521 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in PreProcessingFx_Command()
1528 pReplyData == NULL || replySize == NULL || in PreProcessingFx_Command()
[all …]
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c388 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Downmix_Command() argument
404 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Downmix_Command()
412 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Downmix_Command()
425 pCmdData, *replySize, pReplyData); in Downmix_Command()
427 pReplyData == NULL || replySize == NULL || in Downmix_Command()
428 *replySize < (int) sizeof(effect_param_t) + 2 * sizeof(int32_t)) { in Downmix_Command()
437 *replySize = sizeof(effect_param_t) + sizeof(int32_t) + rep->vsize; in Downmix_Command()
442 ", pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData); in Downmix_Command()
444 || pReplyData == NULL || replySize == NULL || *replySize != (int)sizeof(int32_t)) { in Downmix_Command()
463 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Downmix_Command()
[all …]
DEffectDownmix.h83 uint32_t *replySize,
/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()
649 || pReplyData == NULL || *replySize != sizeof(int)) { 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()
675 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Equalizer_command()
677 *(int32_t *)((char *)pCmdData + sizeof(effect_param_t)), *replySize, in Equalizer_command()
684 cmdSize, pCmdData, *replySize, pReplyData); in Equalizer_command()
686 pReplyData == NULL || *replySize != sizeof(int32_t)) { in Equalizer_command()
694 if (pReplyData == NULL || *replySize != sizeof(int)) { 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()
306 || pReplyData == NULL || *replySize != sizeof(int)) { 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()
333 *replySize = sizeof(effect_param_t) + sizeof(int32_t) + rep->vsize; in Reverb_Command()
337 cmdSize, pCmdData, *replySize, pReplyData); in Reverb_Command()
339 || pReplyData == NULL || *replySize != (int)sizeof(int32_t)) { in Reverb_Command()
347 if (pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_Command()
[all …]
DEffectReverb.h318 uint32_t *replySize,
/frameworks/av/include/media/
DAudioEffect.h385 uint32_t *replySize,
426 uint32_t replySize,
455 uint32_t replySize, in commandExecuted() argument
460 cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
DIEffectClient.h37 uint32_t replySize,
/frameworks/av/services/audioflinger/
DBufferProviders.cpp173 uint32_t replySize = sizeof(int); in DownmixerBufferProvider() local
179 &replySize, &cmdStatus /*pReplyData*/); in DownmixerBufferProvider()
189 replySize = sizeof(int); in DownmixerBufferProvider()
192 &replySize, &cmdStatus /*pReplyData*/); in DownmixerBufferProvider()
213 replySize = sizeof(int); in DownmixerBufferProvider()
216 param /*pCmdData*/, &replySize, &cmdStatus /*pReplyData*/); in DownmixerBufferProvider()
DEffects.h67 uint32_t *replySize,
182 uint32_t *replySize,
201 uint32_t replySize,
DEffects.cpp549 uint32_t *replySize, in command() argument
562 (*replySize < sizeof(effect_param_t) || in command()
563 ((effect_param_t *)pCmdData)->psize > *replySize - sizeof(effect_param_t))) { in command()
571 replySize, in command()
574 uint32_t size = (replySize == NULL) ? 0 : *replySize; in command()
1210 uint32_t *replySize, in command() argument
1285 return mEffect->command(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
1303 uint32_t replySize, in commandExecuted() argument
1307 mEffectClient->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp3006 uint32_t *replySize, in Effect_command() argument
3043 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)){ in Effect_command()
3071 pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Effect_command()
3081 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(effect_config_t)) { in Effect_command()
3106 pReplyData == NULL || replySize == NULL || in Effect_command()
3107 *replySize < (sizeof(effect_param_t) + p->psize)) { in Effect_command()
3170 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Effect_command()
3184 pReplyData == NULL || replySize == NULL || *replySize != sizeof(int32_t)) { in Effect_command()
3219 pReplyData == NULL || replySize == NULL || *replySize != sizeof(int32_t)) { in Effect_command()
3252 pReplyData == NULL || replySize == NULL || *replySize != sizeof(int32_t)) { in Effect_command()
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1898 uint32_t *replySize, in Reverb_command() argument
1918 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)){ in Reverb_command()
1930 pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Reverb_command()
1940 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(effect_config_t)) { in Reverb_command()
1965 pReplyData == NULL || replySize == NULL || in Reverb_command()
1966 *replySize < (sizeof(effect_param_t) + p->psize)) { in Reverb_command()
1983 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Reverb_command()
2002 pReplyData == NULL || replySize == NULL || *replySize != sizeof(int32_t)) { in Reverb_command()
2032 if (pReplyData == NULL || *replySize != sizeof(int)){ in Reverb_command()
2057 if (pReplyData == NULL || *replySize != sizeof(int)){ in Reverb_command()
/frameworks/wilhelm/src/itf/
DIAndroidEffect.cpp87 void* pCommand, SLuint32 *replySize, void *pReply) { in IAndroidEffect_SendCommand() argument
93 pCommand, replySize, pReply); in IAndroidEffect_SendCommand()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp664 jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize, in android_media_AudioEffect_native_command() argument
677 if ((cmdSize != 0 && jCmdData == NULL) || (replySize != 0 && jReplyData == NULL)) { in android_media_AudioEffect_native_command()
691 if (replySize != 0 && jReplyData != NULL) { in android_media_AudioEffect_native_command()
702 (uint32_t *)&replySize, in android_media_AudioEffect_native_command()
715 return replySize; in android_media_AudioEffect_native_command()
/frameworks/wilhelm/src/android/
Dandroid_Effect.h92 SLuint32 *replySize, void *pReplyData);
/frameworks/wilhelm/include/SLES/
DOpenSLES_Android.h112 SLuint32 *replySize,

12