Home
last modified time | relevance | path

Searched refs:maxSamples (Results 1 – 15 of 15) sorted by relevance

/external/sonic/
DSonic.java361 int maxSamples) in readFloatFromStream() argument
369 if(numSamples > maxSamples) { in readFloatFromStream()
370 remainingSamples = numSamples - maxSamples; in readFloatFromStream()
371 numSamples = maxSamples; in readFloatFromStream()
385 int maxSamples) in readShortFromStream() argument
393 if(numSamples > maxSamples) { in readShortFromStream()
394 remainingSamples = numSamples - maxSamples; in readShortFromStream()
395 numSamples = maxSamples; in readShortFromStream()
407 int maxSamples) in readUnsignedByteFromStream() argument
415 if(numSamples > maxSamples) { in readUnsignedByteFromStream()
[all …]
Dsonic.h88 int sonicReadFloatFromStream(sonicStream stream, float *samples, int maxSamples);
91 int sonicReadShortFromStream(sonicStream stream, short *samples, int maxSamples);
94 int sonicReadUnsignedCharFromStream(sonicStream stream, unsigned char *samples, int maxSamples);
Dsonic.c458 int maxSamples) in sonicReadFloatFromStream() argument
468 if(numSamples > maxSamples) { in sonicReadFloatFromStream()
469 remainingSamples = numSamples - maxSamples; in sonicReadFloatFromStream()
470 numSamples = maxSamples; in sonicReadFloatFromStream()
490 int maxSamples) in sonicReadShortFromStream() argument
498 if(numSamples > maxSamples) { in sonicReadShortFromStream()
499 remainingSamples = numSamples - maxSamples; in sonicReadShortFromStream()
500 numSamples = maxSamples; in sonicReadShortFromStream()
516 int maxSamples) in sonicReadUnsignedCharFromStream() argument
526 if(numSamples > maxSamples) { in sonicReadUnsignedCharFromStream()
[all …]
Dwave.c328 int maxSamples) in readFromWaveFile() argument
335 if(maxSamples*file->numChannels*2 > WAVE_BUF_LEN) { in readFromWaveFile()
336 maxSamples = WAVE_BUF_LEN/(file->numChannels*2); in readFromWaveFile()
338 bytesRead = readBytes(file, bytes, maxSamples*file->numChannels*2); in readFromWaveFile()
Dwave.h15 int readFromWaveFile(waveFile file, short *buffer, int maxSamples);
/external/deqp/modules/gles3/functional/
Des3fInternalFormatQueryTests.cpp103 StateQueryMemoryWriteGuard<GLint> maxSamples; in test() local
104 glGetIntegerv(GL_MAX_SAMPLES, &maxSamples); in test()
107 if (maxSamples.verifyValidity(m_testCtx)) in test()
110 if (!(maximumFormatSampleCount >= maxSamples)) in test()
112 …mFormatSampleCount << ") to be at least the value of MAX_SAMPLES (" << maxSamples << ")" << TestLo… in test()
/external/deqp/framework/referencerenderer/
DrrRasterizer.hpp46 const int maxSamples = numBits/4; in getCoverageBit() local
47 DE_STATIC_ASSERT(maxSamples >= RASTERIZER_MAX_SAMPLES_PER_FRAGMENT); in getCoverageBit()
48 …DE_ASSERT(de::inRange(numSamples, 1, maxSamples) && de::inBounds(x, 0, 2) && de::inBounds(y, 0, 2)… in getCoverageBit()
/external/deqp/modules/gles31/functional/
Des31fInternalFormatQueryTests.cpp89 glw::GLint maxSamples = 0; in iterate() local
97 gl.getIntegerv(samplesEnum, &maxSamples); in iterate()
100 …:TestLog::Message << glu::getGettableStateStr(samplesEnum) << " = " << maxSamples << tcu::TestLog:… in iterate()
102 if (maxSamples < 1) in iterate()
172 if (samples[0] < maxSamples) in iterate()
Des31fShaderHelperInvocationTests.cpp230 const int maxSamples = getInteger(gl, GL_MAX_SAMPLES); in FboHelper() local
237 …if (m_numSamples > maxSamples && gl.checkFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPL… in FboHelper()
333 const int maxSamples = getInteger(gl, GL_MAX_SAMPLES); in init() local
334 const int actualSamples = m_numSamples == NUM_SAMPLES_MAX ? maxSamples : m_numSamples; in init()
492 const int maxSamples = getInteger(gl, GL_MAX_SAMPLES); in init() local
493 const int actualSamples = m_numSamples == NUM_SAMPLES_MAX ? maxSamples : m_numSamples; in init()
Des31fTextureMultisampleTests.cpp192 GLint maxSamples = 0; in init() local
199 gl.getIntegerv(GL_MAX_COLOR_TEXTURE_SAMPLES, &maxSamples); in init()
200 if (m_samples > maxSamples) in init()
203 …m_testCtx.getLog() << tcu::TestLog::Message << "GL_MAX_COLOR_TEXTURE_SAMPLES = " << maxSamples << … in init()
609 glw::GLint maxSamples = 0; in init() local
621 gl.getIntegerv(GL_MAX_COLOR_TEXTURE_SAMPLES, &maxSamples); in init()
622 if (m_samples > maxSamples) in init()
625 …m_testCtx.getLog() << tcu::TestLog::Message << "GL_MAX_COLOR_TEXTURE_SAMPLES = " << maxSamples << … in init()
1123 glw::GLint maxSamples = 0; in init() local
1124 gl.getInternalformativ(textureTarget, internalFormat, GL_SAMPLES, 1, &maxSamples); in init()
[all …]
Des31fShaderTextureSizeTests.cpp155 glw::GLint maxSamples = 0; in init() local
159 …etInternalformativ(getTextureGLTarget(), getTextureGLInternalFormat(), GL_SAMPLES, 1, &maxSamples); in init()
166 if (m_numSamples > maxSamples) in init()
Des31fFboNoAttachmentTests.cpp506 const int maxSamples = 4; in createFboNoAttachmentTests() local
581 for (int samples = 0; samples <= maxSamples; samples++) in createFboNoAttachmentTests()
603 const int samples = rng.getInt(0, maxSamples); in createFboNoAttachmentTests()
Des31fTextureLevelStateQueryTests.cpp382 …up (std::vector<TextureGenerationSpec>& group, glw::GLenum target, int maxSamples, glw::GLenum int… in generateColorTextureGenerationGroup() argument
429 texGen.sampleCount = maxSamples; in generateColorTextureGenerationGroup()
450 texGen.sampleCount = maxSamples; in generateColorTextureGenerationGroup()
992 int maxSamples; in generateTestIterations() local
997 maxSamples = -1; in generateTestIterations()
999 maxSamples = samples[0]; in generateTestIterations()
1001 generateColorTextureGenerationGroup(iterations, m_target, maxSamples, internalFormat); in generateTestIterations()
Des31fSampleVariableTests.cpp356 deInt32 maxSamples = -1; in preDraw() local
360 gl.getIntegerv(GL_MAX_SAMPLES, &maxSamples); in preDraw()
363 …m_testCtx.getLog() << tcu::TestLog::Message << "GL_MAX_SAMPLES = " << maxSamples << tcu::TestLog::… in preDraw()
372 gl.uniform1i(maxSampleLoc, maxSamples); in preDraw()
375 …m_testCtx.getLog() << tcu::TestLog::Message << "Set u_maxSamples = " << maxSamples << tcu::TestLog… in preDraw()
Des31fGeometryShaderTests.cpp2844 int maxSamples = 0; in initTexture() local
2845 gl.getIntegerv(GL_MAX_COLOR_TEXTURE_SAMPLES, &maxSamples); in initTexture()
2849 if (numSamples > maxSamples) in initTexture()