Home
last modified time | relevance | path

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

12345

/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-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.c86 EAS_I32 numSamples; in WT_VoiceGain() local
93 numSamples = pWTIntFrame->numSamples; in WT_VoiceGain()
94 if (numSamples <= 0) { in WT_VoiceGain()
114 while (numSamples--) { in WT_VoiceGain()
189 EAS_I32 numSamples; in WT_Interpolate() local
192 numSamples = pWTIntFrame->numSamples; in WT_Interpolate()
193 if (numSamples <= 0) { in WT_Interpolate()
217 while (numSamples--) { in WT_Interpolate()
287 EAS_I32 numSamples; in WT_InterpolateNoLoop() local
290 numSamples = pWTIntFrame->numSamples; in WT_InterpolateNoLoop()
[all …]
Deas_wtsynth.c56 …S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_I32 *pMixBuffer, EAS_I32 numSamples);
453 EAS_I32 numSamples; in WT_CheckSampleEnd() local
463 numSamples = (EAS_I32) (pWTVoice->loopEnd - pWTVoice->phaseAccum); in WT_CheckSampleEnd()
467 numSamples = (EAS_I32) ((numSamples << NUM_PHASE_FRAC_BITS) - pWTVoice->phaseFrac); in WT_CheckSampleEnd()
469 pWTIntFrame->numSamples = 1 + (numSamples / pWTIntFrame->frame.phaseIncrement); in WT_CheckSampleEnd()
471 pWTIntFrame->numSamples = numSamples; in WT_CheckSampleEnd()
473 if (pWTIntFrame->numSamples < 0) { in WT_CheckSampleEnd()
476 pWTIntFrame->numSamples = 0; in WT_CheckSampleEnd()
511 …S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_I32 *pMixBuffer, EAS_I32 numSamples) in WT_UpdateVoice() argument
523 return DLS_UpdateVoice(pVoiceMgr, pSynth, pVoice, voiceNum, pMixBuffer, numSamples); in WT_UpdateVoice()
[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
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()
/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 …]
DrrShadingContext.hpp40 …Vec4* outputArray, float* fragmentDepths, int primitiveID, int numFragmentOutputs, int numSamples);
46 const int numSamples; //!< Number of samples member
162 return context.fragmentDepths[(packetNdx * 4 + fragNdx) * context.numSamples + sampleNdx]; in readFragmentDepth()
169 context.fragmentDepths[(packetNdx * 4 + fragNdx) * context.numSamples + sampleNdx] = depthValue; in writeFragmentDepth()
/external/deqp/modules/gles31/functional/
Des31fShaderMultisampleInterpolationTests.cpp98 …ase (Context& context, const char* name, const char* description, int numSamples, RenderTarget ta…
113 …Case (Context& context, const char* name, const char* description, int numSamples, RenderTarget ta… in MultisampleShadeCountRenderCase() argument
114 …: MultisampleShaderRenderUtil::MultisampleRenderCase(context, name, description, numSamples, targe… in MultisampleShadeCountRenderCase()
193 …Case (Context& context, const char* name, const char* description, int numSamples, RenderTarget ta…
204 …Case (Context& context, const char* name, const char* description, int numSamples, RenderTarget ta… in SampleQualifierRenderCase() argument
205 : MultisampleShadeCountRenderCase(context, name, description, numSamples, target) in SampleQualifierRenderCase()
375 …Case (Context& context, const char* name, const char* description, int numSamples, RenderTarget ta…
389 …Case (Context& context, const char* name, const char* description, int numSamples, RenderTarget ta… in InterpolateAtSampleRenderCase() argument
390 : MultisampleShadeCountRenderCase (context, name, description, numSamples, target) in InterpolateAtSampleRenderCase()
634 …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()
676 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()
473 int numSamples; in init() member
490 …tiple samples per pixel with color", targets[ndx].target, targets[ndx].numSamples, SampleShadingRe… in init()
491 … multiple samples per pixel with", targets[ndx].target, targets[ndx].numSamples, SampleShadingRe… 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/
DgluRenderConfig.cpp41 config->numSamples == RenderConfig::DONT_CARE); in parseConfigBitsFromName()
118 int numSamples; in parseConfigBitsFromName() member
132 config->numSamples = multiSampleCfgs[ndx].numSamples; in parseConfigBitsFromName()
DgluFboRenderContext.cpp218 if (config.numSamples > 0 && !gl.renderbufferStorageMultisample) in createFramebuffer()
239 if (config.numSamples > 0) in createFramebuffer()
240 … gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, colorFormat, width, height); in createFramebuffer()
255 if (config.numSamples > 0) in createFramebuffer()
256 …gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, depthStencilFormat, width, h… in createFramebuffer()
287 …rTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBits, config.numSamples); in createFramebuffer()
DgluRenderConfig.hpp81 int numSamples; member
96 , numSamples (DONT_CARE) in RenderConfig()
/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/skia/src/gpu/
DGrLayerHoister.cpp31 int numSamples) { in prepare_for_hoisting() argument
48 desc.fSampleCnt = numSamples; in prepare_for_hoisting()
123 int numSamples) { in FindLayersToAtlas() argument
124 if (0 != numSamples) { in FindLayersToAtlas()
185 int numSamples) { in FindLayersToHoist() argument
225 needRendering, recycled, false, numSamples); in FindLayersToHoist()
DGrLayerHoister.h61 int numSamples);
80 int numSamples);

12345