Home
last modified time | relevance | path

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

12

/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()
Des3fFboMultisampleTests.cpp268 int maxSamples = 0; in test() local
269 glGetInternalformativ(GL_RENDERBUFFER, GL_RGBA8, GL_SAMPLES, 1, &maxSamples); in test()
270 deUint32 samp1 = m_multisampled1 ? maxSamples : 0; in test()
271 deUint32 samp2 = m_multisampled2 ? maxSamples : 0; in test()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DPipe.java32 public Pipe(int maxSamples) { in Pipe() argument
33 mMaxValues = Utilities.roundup(maxSamples); // round up to the nearest power of 2 in Pipe()
DPipeShort.java38 public PipeShort(int maxSamples) { in PipeShort() argument
39 super(maxSamples); in PipeShort()
DPipeByteBuffer.java55 public PipeByteBuffer(int maxSamples) { in PipeByteBuffer() argument
56 super(maxSamples); in PipeByteBuffer()
/external/deqp/external/openglcts/modules/gl/
Dgl4cES31CompatibilitySampleVariablesTests.cpp248 GLint maxSamples; in iterate() local
254 gl.getInternalformativ(GL_TEXTURE_2D_MULTISAMPLE, m_internalFormat, GL_SAMPLES, 1, &maxSamples); in iterate()
255 if (m_samples > maxSamples) in iterate()
265 gl.getIntegerv(GL_MAX_INTEGER_SAMPLES, &maxSamples); in iterate()
266 if (m_samples > maxSamples) in iterate()
274 gl.getIntegerv(GL_MAX_SAMPLES, &maxSamples); in iterate()
275 if (m_samples > maxSamples) in iterate()
592 GLint maxSamples; in iterate() local
593 gl.getIntegerv(GL_MAX_SAMPLES, &maxSamples); in iterate()
594 if (m_samples > maxSamples) in iterate()
/external/deqp/external/openglcts/modules/common/
DglcSampleVariablesTests.cpp250 GLint maxSamples; in iterate() local
256 gl.getInternalformativ(GL_TEXTURE_2D_MULTISAMPLE, m_internalFormat, GL_SAMPLES, 1, &maxSamples); in iterate()
257 if (m_samples > maxSamples) in iterate()
267 gl.getIntegerv(GL_MAX_INTEGER_SAMPLES, &maxSamples); in iterate()
268 if (m_samples > maxSamples) in iterate()
276 gl.getIntegerv(GL_MAX_SAMPLES, &maxSamples); in iterate()
277 if (m_samples > maxSamples) in iterate()
591 GLint maxSamples; in iterate() local
592 gl.getIntegerv(GL_MAX_SAMPLES, &maxSamples); in iterate()
593 if (m_samples > maxSamples) in iterate()
DglcShaderMultisampleInterpolationTests.cpp298 GLint maxSamples; in iterate() local
304 gl.getInternalformativ(GL_TEXTURE_2D_MULTISAMPLE, m_internalFormat, GL_SAMPLES, 1, &maxSamples); in iterate()
305 if (m_samples > maxSamples) in iterate()
315 gl.getIntegerv(GL_MAX_INTEGER_SAMPLES, &maxSamples); in iterate()
316 if (m_samples > maxSamples) in iterate()
324 gl.getIntegerv(GL_MAX_SAMPLES, &maxSamples); in iterate()
325 if (m_samples > maxSamples) in iterate()
/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.cpp91 glw::GLint maxSamples = 0; in iterate() local
112 gl.getIntegerv(samplesEnum, &maxSamples); in iterate()
115 …:TestLog::Message << glu::getGettableStateStr(samplesEnum) << " = " << maxSamples << tcu::TestLog:… in iterate()
117 if (maxSamples < 1) in iterate()
190 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.cpp204 GLint maxSamples = 0; in init() local
211 gl.getIntegerv(GL_MAX_COLOR_TEXTURE_SAMPLES, &maxSamples); in init()
212 if (m_samples > maxSamples) in init()
215 …m_testCtx.getLog() << tcu::TestLog::Message << "GL_MAX_COLOR_TEXTURE_SAMPLES = " << maxSamples << … in init()
621 glw::GLint maxSamples = 0; in init() local
633 gl.getIntegerv(GL_MAX_COLOR_TEXTURE_SAMPLES, &maxSamples); in init()
634 if (m_samples > maxSamples) in init()
637 …m_testCtx.getLog() << tcu::TestLog::Message << "GL_MAX_COLOR_TEXTURE_SAMPLES = " << maxSamples << … in init()
1138 glw::GLint maxSamples = 0; in init() local
1139 gl.getInternalformativ(textureTarget, internalFormat, GL_SAMPLES, 1, &maxSamples); in init()
[all …]
Des31fShaderTextureSizeTests.cpp174 glw::GLint maxSamples = 0; in init() local
178 …etInternalformativ(getTextureGLTarget(), getTextureGLInternalFormat(), GL_SAMPLES, 1, &maxSamples); in init()
180 if (m_numSamples > maxSamples) in init()
/external/deqp/external/openglcts/modules/gles31/
Des31cSampleShadingTests.cpp243 GLint maxSamples = 0; in iterate() local
249 gl.getInternalformativ(GL_TEXTURE_2D_MULTISAMPLE, m_internalFormat, GL_SAMPLES, 1, &maxSamples); in iterate()
250 if (maxSamples == 0) in iterate()
259 gl.getIntegerv(GL_MAX_INTEGER_SAMPLES, &maxSamples); in iterate()
263 gl.getIntegerv(GL_MAX_SAMPLES, &maxSamples); in iterate()
265 GLint samples = de::min<GLint>(maxSamples, MAX_SAMPLES); in iterate()
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Dloopback2.cpp91 int lb2ProcessNext(void *pLbData, double *pSamples, long maxSamples) { in lb2ProcessNext() argument
95 AudioBufferView<double>(pSamples, maxSamples / CHANNEL_COUNT, CHANNEL_COUNT)); in lb2ProcessNext()
Dloopback2.h33 int lb2ProcessNext(void *pCtx, double *pSamples, long maxSamples);
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Dloopback_sles.h33 int slesProcessNext(void *pCtx, double *pSamples, long maxSamples);
Dloopback.h64 int (*processNext)(void *pCtx, double *pSamples, long maxSamples);
Djni_native.c99 long maxSamples = (*env)->GetArrayLength(env, samplesArray); in Java_org_drrickorang_loopback_NativeAudioThread_nativeProcessNext() local
102 long availableSamples = maxSamples-offset; in Java_org_drrickorang_loopback_NativeAudioThread_nativeProcessNext()
/external/deqp-deps/glslang/glslang/Include/
DResourceLimits.h135 int maxSamples; member

12