/external/sonic/ |
H A D | wave.h | 15 int readFromWaveFile(waveFile file, short *buffer, int maxSamples);
|
H A D | sonic.h | 88 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);
|
H A D | Sonic.java | 361 int maxSamples) 369 if(numSamples > maxSamples) { 370 remainingSamples = numSamples - maxSamples; 371 numSamples = maxSamples; 385 int maxSamples) 393 if(numSamples > maxSamples) { 394 remainingSamples = numSamples - maxSamples; 395 numSamples = maxSamples; 407 int maxSamples) 415 if(numSamples > maxSamples) { 359 readFloatFromStream( float samples[], int maxSamples) argument 383 readShortFromStream( short samples[], int maxSamples) argument 405 readUnsignedByteFromStream( byte samples[], int maxSamples) argument [all...] |
H A D | wave.c | 328 int maxSamples) 335 if(maxSamples*file->numChannels*2 > WAVE_BUF_LEN) { 336 maxSamples = WAVE_BUF_LEN/(file->numChannels*2); 338 bytesRead = readBytes(file, bytes, maxSamples*file->numChannels*2); 325 readFromWaveFile( waveFile file, short *buffer, int maxSamples) argument
|
H A D | sonic.c | 458 int maxSamples) 468 if(numSamples > maxSamples) { 469 remainingSamples = numSamples - maxSamples; 470 numSamples = maxSamples; 490 int maxSamples) 498 if(numSamples > maxSamples) { 499 remainingSamples = numSamples - maxSamples; 500 numSamples = maxSamples; 516 int maxSamples) 526 if(numSamples > maxSamples) { 455 sonicReadFloatFromStream( sonicStream stream, float *samples, int maxSamples) argument 487 sonicReadShortFromStream( sonicStream stream, short *samples, int maxSamples) argument 513 sonicReadUnsignedCharFromStream( sonicStream stream, unsigned char *samples, int maxSamples) argument [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fInternalFormatQueryTests.cpp | 103 StateQueryMemoryWriteGuard<GLint> maxSamples; local 104 glGetIntegerv(GL_MAX_SAMPLES, &maxSamples); 107 if (maxSamples.verifyValidity(m_testCtx)) 110 if (!(maximumFormatSampleCount >= maxSamples)) 112 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected maximum value in SAMPLES (" << maximumFormatSampleCount << ") to be at least the value of MAX_SAMPLES (" << maxSamples << ")" << TestLog::EndMessage;
|
/external/deqp/framework/referencerenderer/ |
H A D | rrRasterizer.hpp | 46 const int maxSamples = numBits/4; local 47 DE_STATIC_ASSERT(maxSamples >= RASTERIZER_MAX_SAMPLES_PER_FRAGMENT); 48 DE_ASSERT(de::inRange(numSamples, 1, maxSamples) && de::inBounds(x, 0, 2) && de::inBounds(y, 0, 2));
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fInternalFormatQueryTests.cpp | 89 glw::GLint maxSamples = 0; local 97 gl.getIntegerv(samplesEnum, &maxSamples); 100 m_testCtx.getLog() << tcu::TestLog::Message << glu::getGettableStateStr(samplesEnum) << " = " << maxSamples << tcu::TestLog::EndMessage; 102 if (maxSamples < 1) 171 // maxSamples must be supported 172 if (samples[0] < maxSamples)
|
H A D | es31fShaderHelperInvocationTests.cpp | 230 const int maxSamples = getInteger(gl, GL_MAX_SAMPLES); local 237 if (m_numSamples > maxSamples && gl.checkFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) 333 const int maxSamples = getInteger(gl, GL_MAX_SAMPLES); local 334 const int actualSamples = m_numSamples == NUM_SAMPLES_MAX ? maxSamples : m_numSamples; 492 const int maxSamples = getInteger(gl, GL_MAX_SAMPLES); local 493 const int actualSamples = m_numSamples == NUM_SAMPLES_MAX ? maxSamples : m_numSamples;
|
H A D | es31fShaderTextureSizeTests.cpp | 155 glw::GLint maxSamples = 0; 159 gl.getInternalformativ(getTextureGLTarget(), getTextureGLInternalFormat(), GL_SAMPLES, 1, &maxSamples); 166 if (m_numSamples > maxSamples)
|
H A D | es31fTextureMultisampleTests.cpp | 192 GLint maxSamples = 0; local 199 gl.getIntegerv(GL_MAX_COLOR_TEXTURE_SAMPLES, &maxSamples); 200 if (m_samples > maxSamples) 203 m_testCtx.getLog() << tcu::TestLog::Message << "GL_MAX_COLOR_TEXTURE_SAMPLES = " << maxSamples << tcu::TestLog::EndMessage; 609 glw::GLint maxSamples = 0; local 621 gl.getIntegerv(GL_MAX_COLOR_TEXTURE_SAMPLES, &maxSamples); 622 if (m_samples > maxSamples) 625 m_testCtx.getLog() << tcu::TestLog::Message << "GL_MAX_COLOR_TEXTURE_SAMPLES = " << maxSamples << tcu::TestLog::EndMessage; 1123 glw::GLint maxSamples = 0; 1124 gl.getInternalformativ(textureTarget, internalFormat, GL_SAMPLES, 1, &maxSamples); [all...] |
H A D | es31fFboNoAttachmentTests.cpp | 506 const int maxSamples = 4; local 581 for (int samples = 0; samples <= maxSamples; samples++) 603 const int samples = rng.getInt(0, maxSamples);
|
H A D | es31fTextureLevelStateQueryTests.cpp | 382 static void generateColorTextureGenerationGroup (std::vector<TextureGenerationSpec>& group, glw::GLenum target, int maxSamples, glw::GLenum internalFormat) argument 429 texGen.sampleCount = maxSamples; 450 texGen.sampleCount = maxSamples; 992 int maxSamples; local 997 maxSamples = -1; 999 maxSamples = samples[0]; 1001 generateColorTextureGenerationGroup(iterations, m_target, maxSamples, internalFormat);
|
H A D | es31fSampleVariableTests.cpp | 356 deInt32 maxSamples = -1; 360 gl.getIntegerv(GL_MAX_SAMPLES, &maxSamples); 363 m_testCtx.getLog() << tcu::TestLog::Message << "GL_MAX_SAMPLES = " << maxSamples << tcu::TestLog::EndMessage; 372 gl.uniform1i(maxSampleLoc, maxSamples); 375 m_testCtx.getLog() << tcu::TestLog::Message << "Set u_maxSamples = " << maxSamples << tcu::TestLog::EndMessage;
|
H A D | es31fGeometryShaderTests.cpp | 2844 int maxSamples = 0; local 2845 gl.getIntegerv(GL_MAX_COLOR_TEXTURE_SAMPLES, &maxSamples); 2849 if (numSamples > maxSamples)
|