/frameworks/av/media/libeffects/visualizer/ |
D | EffectVisualizer.cpp | 258 effect_handle_t self,audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) in Visualizer_process() argument 266 if (inBuffer == NULL || inBuffer->raw == NULL || in Visualizer_process() 268 inBuffer->frameCount != outBuffer->frameCount || in Visualizer_process() 269 inBuffer->frameCount == 0) { in Visualizer_process() 280 int len = inBuffer->frameCount * 2; in Visualizer_process() 282 int32_t smp = inBuffer->s16[i]; in Visualizer_process() 305 inIdx < inBuffer->frameCount; in Visualizer_process() 311 int32_t smp = inBuffer->s16[2 * inIdx] + inBuffer->s16[2 * inIdx + 1]; in Visualizer_process() 324 if (inBuffer->raw != outBuffer->raw) { in Visualizer_process() 327 outBuffer->s16[i] = clamp16(outBuffer->s16[i] + inBuffer->s16[i]); in Visualizer_process() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | sf2.cpp | 440 MediaBuffer *inBuffer; in onFillThisBuffer() local 443 inBuffer = mLeftOverBuffer; in onFillThisBuffer() 453 status_t err = mSource->read(&inBuffer, &options); in onFillThisBuffer() 461 size_t sizeNeeded = inBuffer->range_length(); in onFillThisBuffer() 475 mLeftOverBuffer = inBuffer; in onFillThisBuffer() 483 CHECK(inBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); in onFillThisBuffer() 489 (const uint8_t *)inBuffer->data() in onFillThisBuffer() 490 + inBuffer->range_offset(), in onFillThisBuffer() 491 inBuffer->range_length()); in onFillThisBuffer() 495 if (!inBuffer->meta_data()->findInt32( in onFillThisBuffer() [all …]
|
/frameworks/opt/mms/src/java/com/google/android/mms/util/ |
D | DrmConvertSession.java | 83 public byte [] convert(byte[] inBuffer, int size) { in convert() argument 85 if (inBuffer != null) { in convert() 88 if (size != inBuffer.length) { in convert() 90 System.arraycopy(inBuffer, 0, buf, 0, size); in convert() 93 convertedStatus = mDrmClient.convertData(mConvertSessionId, inBuffer); in convert()
|
/frameworks/av/media/libeffects/preprocessing/ |
D | PreProcessing.cpp | 1162 audio_buffer_t *inBuffer, in PreProcessingFx_Process() argument 1174 if (inBuffer == NULL || inBuffer->raw == NULL || in PreProcessingFx_Process() 1205 inBuffer->frameCount = 0; in PreProcessingFx_Process() 1211 if (inBuffer->frameCount < fr) { in PreProcessingFx_Process() 1212 fr = inBuffer->frameCount; in PreProcessingFx_Process() 1220 inBuffer->s16, in PreProcessingFx_Process() 1225 fwrite(inBuffer->raw, in PreProcessingFx_Process() 1232 inBuffer->frameCount = fr; in PreProcessingFx_Process() 1258 if (inBuffer->frameCount < fr) { in PreProcessingFx_Process() 1259 fr = inBuffer->frameCount; in PreProcessingFx_Process() [all …]
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
D | SoftAAC2.cpp | 308 UCHAR* inBuffer[FILEREAD_MAX_LAYERS]; in onQueueFilled() local 320 inBuffer[0] = header->pBuffer + header->nOffset; in onQueueFilled() 325 inBuffer, in onQueueFilled() 441 inBuffer[0] = (UCHAR *)adtsHeader + adtsHeaderSize; in onQueueFilled() 460 inBuffer[0] = inHeader->pBuffer + inHeader->nOffset; in onQueueFilled() 476 inBuffer, in onQueueFilled()
|
/frameworks/av/media/libeffects/testlibs/ |
D | EffectEqualizer.cpp | 602 extern "C" int Equalizer_process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *ou… in Equalizer_process() argument 609 if (inBuffer == NULL || inBuffer->raw == NULL || in Equalizer_process() 611 inBuffer->frameCount != outBuffer->frameCount) { in Equalizer_process() 622 pContext->adapter.process(inBuffer->raw, outBuffer->raw, outBuffer->frameCount); in Equalizer_process()
|
D | EffectReverb.c | 192 static int Reverb_Process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer… in Reverb_Process() argument 201 if (inBuffer == NULL || inBuffer->raw == NULL || in Reverb_Process() 203 inBuffer->frameCount != outBuffer->frameCount) { in Reverb_Process() 218 if (inBuffer->raw != outBuffer->raw) { in Reverb_Process() 220 pSrc = inBuffer->s16; in Reverb_Process() 222 size_t count = inBuffer->frameCount; in Reverb_Process() 243 pSrc = inBuffer->s16; in Reverb_Process()
|
D | EffectReverb.h | 312 audio_buffer_t *inBuffer,
|
/frameworks/av/media/libeffects/downmix/ |
D | EffectDownmix.c | 270 audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) { in Downmix_Process() argument 280 if (inBuffer == NULL || inBuffer->raw == NULL || in Downmix_Process() 282 inBuffer->frameCount != outBuffer->frameCount) { in Downmix_Process() 296 pSrc = inBuffer->s16; in Downmix_Process()
|
D | EffectDownmix.h | 77 audio_buffer_t *inBuffer,
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsFactory.c | 68 int Effect_Process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) in Effect_Process() argument 83 ret = (*fx->subItfe)->process(fx->subItfe, inBuffer, outBuffer); in Effect_Process() 134 int Effect_ProcessReverse(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) in Effect_ProcessReverse() argument 150 ret = (*fx->subItfe)->process_reverse(fx->subItfe, inBuffer, outBuffer); in Effect_ProcessReverse()
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 1457 Buffer inBuffer; in write() local 1460 inBuffer.frameCount = frames; in write() 1461 inBuffer.i16 = data; in write() 1491 pInBuffer = &inBuffer; in write() 1538 if (inBuffer.frameCount) { in write() 1543 pInBuffer->mBuffer = new int16_t[inBuffer.frameCount * channelCount]; in write() 1544 pInBuffer->frameCount = inBuffer.frameCount; in write() 1546 memcpy(pInBuffer->raw, inBuffer.raw, inBuffer.frameCount * channelCount * in write()
|
D | Effects.h | 84 int16_t *inBuffer() { return mConfig.inputCfg.buffer.s16; } in inBuffer() function 271 int16_t *inBuffer() const { in inBuffer() function
|
D | Threads.cpp | 1234 ALOGV("createTrack_l() setting main buffer %p", chain->inBuffer()); in createTrack_l() 1235 track->setMainBuffer(chain->inBuffer()); in createTrack_l() 1851 track->setAuxBuffer(EffectId, (int32_t *)effect->inBuffer()); in attachAuxEffect_l()
|
D | Effects.cpp | 1401 delete[] effect->inBuffer(); in removeEffect_l()
|
/frameworks/av/libvideoeditor/vss/common/inc/ |
D | M4ENCODER_AudioCommon.h | 228 typedef M4OSA_ERR (M4AE_step) (M4OSA_Context pContext, M4ENCODER_AudioBuffer *inBuffer,
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | SoftAACEncoder2.cpp | 482 void* inBuffer[] = { (unsigned char *)mInputFrame }; in onQueueFilled() local 488 inBufDesc.numBufs = sizeof(inBuffer) / sizeof(void*); in onQueueFilled() 489 inBufDesc.bufs = (void**)&inBuffer; in onQueueFilled()
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.cpp | 2588 audio_buffer_t *inBuffer, in Effect_process() argument 2594 LVM_INT16 *in = (LVM_INT16 *)inBuffer->raw; in Effect_process() 2616 if (inBuffer == NULL || inBuffer->raw == NULL || in Effect_process() 2618 inBuffer->frameCount != outBuffer->frameCount){ in Effect_process() 2687 lvmStatus = android::LvmBundle_process( (LVM_INT16 *)inBuffer->raw, in Effect_process() 2703 clamp16((LVM_INT32)outBuffer->s16[i] + (LVM_INT32)inBuffer->s16[i]); in Effect_process() 2705 } else if (outBuffer->raw != inBuffer->raw) { in Effect_process() 2706 memcpy(outBuffer->raw, inBuffer->raw, outBuffer->frameCount*sizeof(LVM_INT16)*2); in Effect_process()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
D | MediaPlayerPerformance.java | 300 BufferedReader inBuffer = new BufferedReader(inReader); in writeProcmemInfo() local 302 while ((s = inBuffer.readLine()) != null) { in writeProcmemInfo()
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
D | EffectReverb.cpp | 1857 audio_buffer_t *inBuffer, in Reverb_process() argument 1866 if (inBuffer == NULL || inBuffer->raw == NULL || in Reverb_process() 1868 inBuffer->frameCount != outBuffer->frameCount){ in Reverb_process() 1874 status = process( (LVM_INT16 *)inBuffer->raw, in Reverb_process()
|
/frameworks/av/libvideoeditor/lvpp/ |
D | VideoEditorPreviewController.cpp | 1432 M4VIFI_UInt8 *inBuffer = M4OSA_NULL; in doImageRenderingMode() local 1436 inBuffer = (M4OSA_UInt8 *)dataPtr; in doImageRenderingMode() 1440 videoHeight, (M4VIFI_UInt8 *)inBuffer, videoWidth, videoHeight); in doImageRenderingMode()
|