Home
last modified time | relevance | path

Searched refs:numSamples (Results 1 – 25 of 58) sorted by relevance

123

/external/sonivox/arm-hybrid-22k/lib_src/
Deas_mixer.c46 EAS_I32 MaximizerProcess (EAS_VOID_PTR pInstData, EAS_I32 *pSrc, EAS_I32 *pDst, EAS_I32 numSamples);
107 void EAS_MixEnginePrep (S_EAS_DATA *pEASData, EAS_I32 numSamples) in EAS_MixEnginePrep() argument
112 EAS_HWMemSet(pEASData->pMixBuffer, 0, numSamples * (EAS_I32) sizeof(long) * 2); in EAS_MixEnginePrep()
114 EAS_HWMemSet(pEASData->pMixBuffer, 0, (EAS_I32) numSamples * (EAS_I32) sizeof(long)); in EAS_MixEnginePrep()
135 void EAS_MixEnginePost (S_EAS_DATA *pEASData, EAS_I32 numSamples) in EAS_MixEnginePost() argument
146 …sModules[EAS_MODULE_MAXIMIZER].effectData, pEASData->pMixBuffer, pEASData->pMixBuffer, numSamples); in EAS_MixEnginePost()
173 …in(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) ((EAS_U16) numSamples * 2)); in EAS_MixEnginePost()
175 SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) numSamples); in EAS_MixEnginePost()
185 numSamples); in EAS_MixEnginePost()
195 numSamples); in EAS_MixEnginePost()
[all …]
Deas_wtengine.c83 EAS_I32 numSamples; in WT_VoiceGain() local
90 numSamples = pWTIntFrame->numSamples; in WT_VoiceGain()
106 while (numSamples--) { in WT_VoiceGain()
181 EAS_I32 numSamples; in WT_Interpolate() local
184 numSamples = pWTIntFrame->numSamples; in WT_Interpolate()
204 while (numSamples--) { in WT_Interpolate()
274 EAS_I32 numSamples; in WT_InterpolateNoLoop() local
277 numSamples = pWTIntFrame->numSamples; in WT_InterpolateNoLoop()
295 while (numSamples--) { in WT_InterpolateNoLoop()
362 EAS_I32 numSamples; in WT_VoiceFilter() local
[all …]
DARM-E_voice_gain_gnu.s50 numSamples .req r9 label
74 LDR numSamples, [pWTFrame, #m_numSamples]
124 SUBS numSamples, numSamples, #1
156 SUBS numSamples, numSamples, #1
Deas_wtsynth.c53 …S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_I32 *pMixBuffer, EAS_I32 numSamples);
450 EAS_I32 numSamples; in WT_CheckSampleEnd() local
460 numSamples = (EAS_I32) (pWTVoice->loopEnd - pWTVoice->phaseAccum); in WT_CheckSampleEnd()
464 numSamples = (EAS_I32) ((numSamples << NUM_PHASE_FRAC_BITS) - pWTVoice->phaseFrac); in WT_CheckSampleEnd()
465 pWTIntFrame->numSamples = 1 + (numSamples / pWTIntFrame->frame.phaseIncrement); in WT_CheckSampleEnd()
499 …S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_I32 *pMixBuffer, EAS_I32 numSamples) in WT_UpdateVoice() argument
511 return DLS_UpdateVoice(pVoiceMgr, pSynth, pVoice, voiceNum, pMixBuffer, numSamples); in WT_UpdateVoice()
552 intFrame.numSamples = numSamples; in WT_UpdateVoice()
DARM-E_filter_gnu.s41 numSamples .req r3 label
68 LDR numSamples, [pWTFrame, #m_numSamples]
105 SUBS numSamples, numSamples, #2 @ unroll loop once
DARM-E_interpolate_loop_gnu.s41 numSamples .req r2 label
69 LDR numSamples, [pWTFrame, #m_numSamples]
119 SUBS numSamples, numSamples, #1
DARM-E_interpolate_noloop_gnu.s42 numSamples .req r3 label
67 LDR numSamples, [pWTFrame, #m_numSamples]
111 SUBS numSamples, numSamples, #1
Deas_effects.h38 void (*pfProcess)(EAS_VOID_PTR pInstData, EAS_PCM *in, EAS_PCM *out, EAS_I32 numSamples);
47 void (*pfProcess)(EAS_VOID_PTR pInstData, EAS_I32 *in, EAS_I32 *out, EAS_I32 numSamples);
Deas_chorus.c42 static void ChorusProcess (EAS_VOID_PTR pInstData, EAS_PCM *pSrc, EAS_PCM *pDst, EAS_I32 numSamples
252 static void ChorusProcess (EAS_VOID_PTR pInstData, EAS_PCM *pSrc, EAS_PCM *pDst, EAS_I32 numSamples) in ChorusProcess() argument
276 EAS_HWMemCpy(pSrc, pDst, numSamples * NUM_OUTPUT_CHANNELS * (EAS_I32) sizeof(EAS_PCM)); in ChorusProcess()
293 for (ix = 0; ix < numSamples; ix++) in ChorusProcess()
339 for (ix = 0; ix < numSamples; ix++) in ChorusProcess()
Deas_reverb.c47 static void ReverbProcess (EAS_VOID_PTR pInstData, EAS_PCM *pSrc, EAS_PCM *pDst, EAS_I32 numSamples
275 static void ReverbProcess(EAS_VOID_PTR pInstData, EAS_PCM *pSrc, EAS_PCM *pDst, EAS_I32 numSamples) in ReverbProcess() argument
286 EAS_HWMemCpy(pSrc, pDst, numSamples * NUM_OUTPUT_CHANNELS * (EAS_I32) sizeof(EAS_PCM)); in ReverbProcess()
295 ReverbUpdateXfade(pReverbData, numSamples); in ReverbProcess()
297 Reverb(pReverbData, numSamples, pDst, pSrc); in ReverbProcess()
307 pReverbData->m_nUpdateCounter += (EAS_I16)numSamples; in ReverbProcess()
/external/sonivox/arm-fm-22k/lib_src/
Deas_mixer.c46 EAS_I32 MaximizerProcess (EAS_VOID_PTR pInstData, EAS_I32 *pSrc, EAS_I32 *pDst, EAS_I32 numSamples);
107 void EAS_MixEnginePrep (S_EAS_DATA *pEASData, EAS_I32 numSamples) in EAS_MixEnginePrep() argument
112 EAS_HWMemSet(pEASData->pMixBuffer, 0, numSamples * (EAS_I32) sizeof(long) * 2); in EAS_MixEnginePrep()
114 EAS_HWMemSet(pEASData->pMixBuffer, 0, (EAS_I32) numSamples * (EAS_I32) sizeof(long)); in EAS_MixEnginePrep()
135 void EAS_MixEnginePost (S_EAS_DATA *pEASData, EAS_I32 numSamples) in EAS_MixEnginePost() argument
146 …sModules[EAS_MODULE_MAXIMIZER].effectData, pEASData->pMixBuffer, pEASData->pMixBuffer, numSamples); in EAS_MixEnginePost()
173 …in(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) ((EAS_U16) numSamples * 2)); in EAS_MixEnginePost()
175 SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) numSamples); in EAS_MixEnginePost()
185 numSamples); in EAS_MixEnginePost()
195 numSamples); in EAS_MixEnginePost()
[all …]
Deas_effects.h38 void (*pfProcess)(EAS_VOID_PTR pInstData, EAS_PCM *in, EAS_PCM *out, EAS_I32 numSamples);
47 void (*pfProcess)(EAS_VOID_PTR pInstData, EAS_I32 *in, EAS_I32 *out, EAS_I32 numSamples);
Deas_chorus.c42 static void ChorusProcess (EAS_VOID_PTR pInstData, EAS_PCM *pSrc, EAS_PCM *pDst, EAS_I32 numSamples
252 static void ChorusProcess (EAS_VOID_PTR pInstData, EAS_PCM *pSrc, EAS_PCM *pDst, EAS_I32 numSamples) in ChorusProcess() argument
276 EAS_HWMemCpy(pSrc, pDst, numSamples * NUM_OUTPUT_CHANNELS * (EAS_I32) sizeof(EAS_PCM)); in ChorusProcess()
293 for (ix = 0; ix < numSamples; ix++) in ChorusProcess()
339 for (ix = 0; ix < numSamples; ix++) in ChorusProcess()
/external/sonivox/arm-wt-22k/lib_src/
Deas_mixer.c46 EAS_I32 MaximizerProcess (EAS_VOID_PTR pInstData, EAS_I32 *pSrc, EAS_I32 *pDst, EAS_I32 numSamples);
107 void EAS_MixEnginePrep (S_EAS_DATA *pEASData, EAS_I32 numSamples) in EAS_MixEnginePrep() argument
112 EAS_HWMemSet(pEASData->pMixBuffer, 0, numSamples * (EAS_I32) sizeof(long) * 2); in EAS_MixEnginePrep()
114 EAS_HWMemSet(pEASData->pMixBuffer, 0, (EAS_I32) numSamples * (EAS_I32) sizeof(long)); in EAS_MixEnginePrep()
135 void EAS_MixEnginePost (S_EAS_DATA *pEASData, EAS_I32 numSamples) in EAS_MixEnginePost() argument
146 …sModules[EAS_MODULE_MAXIMIZER].effectData, pEASData->pMixBuffer, pEASData->pMixBuffer, numSamples); in EAS_MixEnginePost()
173 …in(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) ((EAS_U16) numSamples * 2)); in EAS_MixEnginePost()
175 SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) numSamples); in EAS_MixEnginePost()
185 numSamples); in EAS_MixEnginePost()
195 numSamples); in EAS_MixEnginePost()
[all …]
Deas_wtengine.c83 EAS_I32 numSamples; in WT_VoiceGain() local
90 numSamples = pWTIntFrame->numSamples; in WT_VoiceGain()
106 while (numSamples--) { in WT_VoiceGain()
181 EAS_I32 numSamples; in WT_Interpolate() local
184 numSamples = pWTIntFrame->numSamples; in WT_Interpolate()
204 while (numSamples--) { in WT_Interpolate()
274 EAS_I32 numSamples; in WT_InterpolateNoLoop() local
277 numSamples = pWTIntFrame->numSamples; in WT_InterpolateNoLoop()
295 while (numSamples--) { in WT_InterpolateNoLoop()
362 EAS_I32 numSamples; in WT_VoiceFilter() local
[all …]
Deas_wtsynth.c53 …S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_I32 *pMixBuffer, EAS_I32 numSamples);
450 EAS_I32 numSamples; in WT_CheckSampleEnd() local
460 numSamples = (EAS_I32) (pWTVoice->loopEnd - pWTVoice->phaseAccum); in WT_CheckSampleEnd()
464 numSamples = (EAS_I32) ((numSamples << NUM_PHASE_FRAC_BITS) - pWTVoice->phaseFrac); in WT_CheckSampleEnd()
466 pWTIntFrame->numSamples = 1 + (numSamples / pWTIntFrame->frame.phaseIncrement); in WT_CheckSampleEnd()
468 pWTIntFrame->numSamples = numSamples; in WT_CheckSampleEnd()
503 …S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_I32 *pMixBuffer, EAS_I32 numSamples) in WT_UpdateVoice() argument
515 return DLS_UpdateVoice(pVoiceMgr, pSynth, pVoice, voiceNum, pMixBuffer, numSamples); in WT_UpdateVoice()
556 intFrame.numSamples = numSamples; in WT_UpdateVoice()
564 if (intFrame.numSamples < 0) intFrame.numSamples = 0; in WT_UpdateVoice()
DARM-E_voice_gain_gnu.s50 numSamples .req r9 label
74 LDR numSamples, [pWTFrame, #m_numSamples]
124 SUBS numSamples, numSamples, #1
156 SUBS numSamples, numSamples, #1
DARM-E_filter_gnu.s41 numSamples .req r3 label
68 LDR numSamples, [pWTFrame, #m_numSamples]
105 SUBS numSamples, numSamples, #2 @ unroll loop once
DARM-E_interpolate_loop_gnu.s41 numSamples .req r2 label
69 LDR numSamples, [pWTFrame, #m_numSamples]
119 SUBS numSamples, numSamples, #1
DARM-E_interpolate_noloop_gnu.s42 numSamples .req r3 label
67 LDR numSamples, [pWTFrame, #m_numSamples]
111 SUBS numSamples, numSamples, #1
Deas_effects.h38 void (*pfProcess)(EAS_VOID_PTR pInstData, EAS_PCM *in, EAS_PCM *out, EAS_I32 numSamples);
47 void (*pfProcess)(EAS_VOID_PTR pInstData, EAS_I32 *in, EAS_I32 *out, EAS_I32 numSamples);
Deas_chorus.c42 static void ChorusProcess (EAS_VOID_PTR pInstData, EAS_PCM *pSrc, EAS_PCM *pDst, EAS_I32 numSamples
252 static void ChorusProcess (EAS_VOID_PTR pInstData, EAS_PCM *pSrc, EAS_PCM *pDst, EAS_I32 numSamples) in ChorusProcess() argument
276 EAS_HWMemCpy(pSrc, pDst, numSamples * NUM_OUTPUT_CHANNELS * (EAS_I32) sizeof(EAS_PCM)); in ChorusProcess()
293 for (ix = 0; ix < numSamples; ix++) in ChorusProcess()
339 for (ix = 0; ix < numSamples; ix++) in ChorusProcess()
Deas_dlssynth.c378 … S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_I32 *pMixBuffer, EAS_I32 numSamples) in DLS_UpdateVoice() argument
422 intFrame.numSamples = numSamples; in DLS_UpdateVoice()
423 if (numSamples < 0) in DLS_UpdateVoice()
/external/opencore/fileformats/mp4/parser/src/
Dtrackfragmentatom.cpp497 uint32 numSamples = 0; in getNextNSamples() local
587 numSamples = samplesYetToBeRead; in getNextNSamples()
593 numSamples = samplesLeftInChunk; in getNextNSamples()
597 uint32 sampleLeft = (numSamples + StartReadingFromSampleNum); in getNextNSamples()
737 sampleNum = sampleNum + numSamples; in getNextNSamples()
741 _currentTrackFragmentRunSampleNumber += numSamples; in getNextNSamples()
742 sampleBeforeGet += numSamples; in getNextNSamples()
945 uint32 numSamples = 0; in peekNextNSamples() local
999 numSamples = samplesToBePeek; in peekNextNSamples()
1005 numSamples = samplesLeftInChunk; in peekNextNSamples()
[all …]
Dsampletableatom.cpp509 uint32 numSamples = _psampleSizeAtom->getSampleCount(); in getSample() local
510 if (sampleNum >= numSamples) in getSample()
2266 uint32 numSamples = getSampleSizeAtom().getSampleCount(); in getNextBundledAccessUnits() local
2268 if (_currentPlaybackSampleNumber >= (int32)numSamples) in getNextBundledAccessUnits()
2290 if (_currentPlaybackSampleNumber >= (int32)numSamples) in getNextBundledAccessUnits()
2347 uint32 numSamples = 0; in getNextNSamples() local
2448 numSamples = samplesYetToBeRead; in getNextNSamples()
2455 numSamples = samplesLeftInChunk; in getNextNSamples()
2487 j < (sampleNum + numSamples); in getNextNSamples()
2843 sampleNum = sampleNum + numSamples; in getNextNSamples()
[all …]

123