Home
last modified time | relevance | path

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

123456

/external/sonic/
DSonic.java67 int numSamples) in move() argument
69 for(int xSample = 0; xSample < numSamples*numChannels; xSample++) { in move()
78 int numSamples, in scaleSamples() argument
83 int stop = start + numSamples*numChannels; in scaleSamples()
242 int numSamples) in enlargeOutputBufferIfNeeded() argument
244 if(numOutputSamples + numSamples > outputBufferSize) { in enlargeOutputBufferIfNeeded()
245 outputBufferSize += (outputBufferSize >> 1) + numSamples; in enlargeOutputBufferIfNeeded()
252 int numSamples) in enlargeInputBufferIfNeeded() argument
254 if(numInputSamples + numSamples > inputBufferSize) { in enlargeInputBufferIfNeeded()
255 inputBufferSize += (inputBufferSize >> 1) + numSamples; in enlargeInputBufferIfNeeded()
[all …]
Dsonic.c70 int numSamples, in scaleSamples() argument
76 while(numSamples--) { in scaleSamples()
312 int numSamples) in enlargeOutputBufferIfNeeded() argument
314 if(stream->numOutputSamples + numSamples > stream->outputBufferSize) { in enlargeOutputBufferIfNeeded()
315 stream->outputBufferSize += (stream->outputBufferSize >> 1) + numSamples; in enlargeOutputBufferIfNeeded()
328 int numSamples) in enlargeInputBufferIfNeeded() argument
330 if(stream->numInputSamples + numSamples > stream->inputBufferSize) { in enlargeInputBufferIfNeeded()
331 stream->inputBufferSize += (stream->inputBufferSize >> 1) + numSamples; in enlargeInputBufferIfNeeded()
345 int numSamples) in addFloatSamplesToInputBuffer() argument
348 int count = numSamples*stream->numChannels; in addFloatSamplesToInputBuffer()
[all …]
Dsonic.h79 int sonicWriteFloatToStream(sonicStream stream, float *samples, int numSamples);
82 int sonicWriteShortToStream(sonicStream stream, short *samples, int numSamples);
85 int sonicWriteUnsignedCharToStream(sonicStream stream, unsigned char *samples, int numSamples);
137 int sonicChangeFloatSpeed(float *samples, int numSamples, float speed, float pitch,
142 int sonicChangeShortSpeed(short *samples, int numSamples, float speed, float pitch,
/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
/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
/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 …]
/external/deqp/framework/referencerenderer/
DrrRasterizer.hpp43 inline deUint64 getCoverageBit (int numSamples, int x, int y, int sampleNdx) in getCoverageBit() argument
48 …DE_ASSERT(de::inRange(numSamples, 1, maxSamples) && de::inBounds(x, 0, 2) && de::inBounds(y, 0, 2)… in getCoverageBit()
49 return 1ull << ((x*2 + y)*numSamples + sampleNdx); in getCoverageBit()
53 inline deUint64 getCoverageFragmentSampleBits (int numSamples, int x, int y) in getCoverageFragmentSampleBits() argument
56 const deUint64 fragMask = (1ull << numSamples) - 1; in getCoverageFragmentSampleBits()
57 return fragMask << (x*2 + y)*numSamples; in getCoverageFragmentSampleBits()
61 inline deUint64 setCoverageValue (deUint64 mask, int numSamples, int x, int y, int sampleNdx, bool … in setCoverageValue() argument
63 const deUint64 bit = getCoverageBit(numSamples, x, y, sampleNdx); in setCoverageValue()
68 inline bool getCoverageValue (deUint64 mask, int numSamples, int x, int y, int sampleNdx) in getCoverageValue() argument
70 return (mask & getCoverageBit(numSamples, x, y, sampleNdx)) != 0; in getCoverageValue()
[all …]
/external/deqp/modules/gles31/functional/
Des31fShaderMultisampleInterpolationTests.cpp87 …ase (Context& context, const char* name, const char* description, int numSamples, RenderTarget ta…
102 …Case (Context& context, const char* name, const char* description, int numSamples, RenderTarget ta… in MultisampleShadeCountRenderCase() argument
103 …: MultisampleShaderRenderUtil::MultisampleRenderCase(context, name, description, numSamples, targe… in MultisampleShadeCountRenderCase()
182 …Case (Context& context, const char* name, const char* description, int numSamples, RenderTarget ta…
193 …Case (Context& context, const char* name, const char* description, int numSamples, RenderTarget ta… in SampleQualifierRenderCase() argument
194 : MultisampleShadeCountRenderCase(context, name, description, numSamples, target) in SampleQualifierRenderCase()
364 …Case (Context& context, const char* name, const char* description, int numSamples, RenderTarget ta…
378 …Case (Context& context, const char* name, const char* description, int numSamples, RenderTarget ta… in InterpolateAtSampleRenderCase() argument
379 : MultisampleShadeCountRenderCase (context, name, description, numSamples, target) in InterpolateAtSampleRenderCase()
623 …ase (Context& context, const char* name, const char* description, int numSamples, RenderTarget ta…
[all …]
Des31fShaderHelperInvocationTests.cpp203 …er (const glu::RenderContext& renderCtx, int width, int height, deUint32 format, int numSamples);
220 …elper (const glu::RenderContext& renderCtx, int width, int height, deUint32 format, int numSamples) in FboHelper() argument
222 , m_numSamples (numSamples) in FboHelper()
295 …ntext& context, const char* name, const char* description, PrimitiveType primType, int numSamples);
314 …ontext& context, const char* name, const char* description, PrimitiveType primType, int numSamples) in HelperInvocationValueCase() argument
317 , m_numSamples (numSamples) in HelperInvocationValueCase()
452 …const char* name, const char* description, PrimitiveType primType, int numSamples, const char* der…
472 …const char* name, const char* description, PrimitiveType primType, int numSamples, const char* der… in HelperInvocationDerivateCase() argument
475 , m_numSamples (numSamples) in HelperInvocationDerivateCase()
684 int numSamples; in init() member
[all …]
Des31fSampleShadingTests.cpp239 …text& ctx, const char* name, const char* desc, RenderTarget target, int numSamples, TestType type);
252 std::string genFragmentSource (int numSamples) const;
262 …ntext& ctx, const char* name, const char* desc, RenderTarget target, int numSamples, TestType type) in SampleShadingRenderingCase() argument
263 …: MultisampleShaderRenderUtil::MultisampleRenderCase (ctx, name, desc, numSamples, target, RENDER_… in SampleShadingRenderingCase()
405 std::string SampleShadingRenderingCase::genFragmentSource (int numSamples) const in genFragmentSource()
407 DE_UNREF(numSamples); in genFragmentSource()
471 int numSamples; in init() member
488 …tiple samples per pixel with color", targets[ndx].target, targets[ndx].numSamples, SampleShadingRe… in init()
489 … multiple samples per pixel with", targets[ndx].target, targets[ndx].numSamples, SampleShadingRe… in init()
/external/jmonkeyengine/engine/src/core/com/jme3/post/
DFilter.java97 …width, int height, Format textureFormat, Format depthBufferFormat, int numSamples, boolean renderD… in init() argument
99 …if (numSamples > 1 && caps.contains(Caps.FrameBufferMultisample) && caps.contains(Caps.OpenGL31)) { in init()
100 renderFrameBuffer = new FrameBuffer(width, height, numSamples); in init()
101 renderedTexture = new Texture2D(width, height, numSamples, textureFormat); in init()
104 depthTexture = new Texture2D(width, height, numSamples, depthBufferFormat); in init()
134 … renderer, int width, int height, Format textureFormat, Format depthBufferFormat, int numSamples) { in init() argument
135 init(renderer, width, height, textureFormat, depthBufferFormat, numSamples, false); in init()
/external/deqp/modules/gles3/functional/
Des3fRasterizationTests.cpp113 … context, const char* name, const char* desc, RenderTarget target, int numSamples, int renderSize);
144 …& context, const char* name, const char* desc, RenderTarget target, int numSamples, int renderSize) in BaseRenderingCase() argument
150 , m_numRequestedSamples (numSamples) in BaseRenderingCase()
422 …desc, glw::GLenum primitiveDrawType, BaseRenderingCase::RenderTarget renderTarget, int numSamples);
435 … desc, glw::GLenum primitiveDrawType, BaseRenderingCase::RenderTarget renderTarget, int numSamples) in BaseTriangleCase() argument
436 : BaseRenderingCase (context, name, desc, renderTarget, numSamples, DEFAULT_RENDER_SIZE) in BaseTriangleCase()
467 args.numSamples = m_numSamples; in iterate()
498 …rawType, PrimitiveWideness wideness, BaseRenderingCase::RenderTarget renderTarget, int numSamples);
518 …DrawType, PrimitiveWideness wideness, BaseRenderingCase::RenderTarget renderTarget, int numSamples) in BaseLineCase() argument
519 : BaseRenderingCase (context, name, desc, renderTarget, numSamples, DEFAULT_RENDER_SIZE) in BaseLineCase()
[all …]
Des3fFboCompletenessTests.cpp321 GLsizei numSamples[3]; member
331 for (const GLsizei* ns = DE_ARRAY_BEGIN(params.numSamples); in getName()
332 ns != DE_ARRAY_END(params.numSamples); in getName()
355 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_names) == DE_LENGTH_OF_ARRAY(params.numSamples)); in getDescription()
359 GLsizei ns = params.numSamples[i]; in getDescription()
399 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_targets) == DE_LENGTH_OF_ARRAY(m_params.numSamples)); in build()
406 const GLsizei ns = m_params.numSamples[i]; in build()
419 rboCfg.numSamples = ns; in build()
/external/deqp/framework/opengl/
DgluFboRenderContext.cpp189 if (config.numSamples > 0 && !gl.renderbufferStorageMultisample) in createFramebuffer()
210 if (config.numSamples > 0) in createFramebuffer()
211 … gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, colorFormat, width, height); in createFramebuffer()
226 if (config.numSamples > 0) in createFramebuffer()
227 …gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, depthStencilFormat, width, h… in createFramebuffer()
258 …rTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBits, config.numSamples); in createFramebuffer()
DgluRenderConfig.cpp41 config->numSamples == RenderConfig::DONT_CARE); in parseConfigBitsFromName()
118 int numSamples; in parseConfigBitsFromName() member
132 config->numSamples = multiSampleCfgs[ndx].numSamples; in parseConfigBitsFromName()
/external/deqp/framework/common/
DtcuRenderTarget.cpp39 … (int width, int height, const PixelFormat& format, int depthBits, int stencilBits, int numSamples) in RenderTarget() argument
45 , m_numSamples (numSamples) in RenderTarget()
/external/jmonkeyengine/engine/src/test/jme3test/network/
DMovingAverage.java42 public MovingAverage(int numSamples){ in MovingAverage() argument
43 samples = new long[numSamples]; in MovingAverage()

123456