/third_party/pulseaudio/sonic/ |
D | Sonic.java | 361 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 …]
|
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);
|
D | sonic.c | 458 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 …]
|
D | wave.c | 328 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()
|
D | wave.h | 15 int readFromWaveFile(waveFile file, short *buffer, int maxSamples);
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | TextureMultisampleTest.cpp | 82 GLint maxSamples = 65536; in getSamplesToUse() local 87 maxSamples = std::min(maxSamples, maxSamplesFormat); in getSamplesToUse() 89 return maxSamples; in getSamplesToUse() 288 GLint maxSamples; in TEST_P() local 289 glGetIntegerv(GL_MAX_SAMPLES, &maxSamples); in TEST_P() 290 GLint maxSamplesR8Required = std::min(maxColorTextureSamples, maxSamples); in TEST_P() 336 GLint maxSamples = 0; in TEST_P() local 337 glGetInternalformativ(GL_TEXTURE_2D_MULTISAMPLE, GL_R8, GL_SAMPLES, 1, &maxSamples); in TEST_P() 338 texStorageMultisample(GL_TEXTURE_2D_MULTISAMPLE, maxSamples + 1, GL_RGBA8, 1, 1, GL_FALSE); in TEST_P() 415 GLsizei maxSamples = 0; in TEST_P() local [all …]
|
D | MultisampleCompatibilityTest.cpp | 378 GLsizei maxSamples = 0; in TEST_P() local 379 glGetIntegerv(GL_MAX_SAMPLES, &maxSamples); in TEST_P() 380 int iterationCount = maxSamples + 1; in TEST_P()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fInternalFormatQueryTests.cpp | 103 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()
|
D | es3fFboMultisampleTests.cpp | 268 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()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcSampleVariablesTests.cpp | 250 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()
|
D | glcShaderMultisampleInterpolationTests.cpp | 299 GLint maxSamples; in iterate() local 305 gl.getInternalformativ(GL_TEXTURE_2D_MULTISAMPLE, m_internalFormat, GL_SAMPLES, 1, &maxSamples); in iterate() 306 if (m_samples > maxSamples) in iterate() 316 gl.getIntegerv(GL_MAX_INTEGER_SAMPLES, &maxSamples); in iterate() 317 if (m_samples > maxSamples) in iterate() 325 gl.getIntegerv(GL_MAX_SAMPLES, &maxSamples); in iterate() 326 if (m_samples > maxSamples) in iterate()
|
D | glcFramebufferCompleteness.cpp | 216 bool isDifferentRboSampleCountsSupported(TestContext& testContext, GLint& maxSamples) in isDifferentRboSampleCountsSupported() argument 219 gl.getIntegerv(GL_MAX_SAMPLES, &maxSamples); in isDifferentRboSampleCountsSupported() 222 if (maxSamples < 4) in isDifferentRboSampleCountsSupported() 235 return minSamplesRbo < maxSamples; in isDifferentRboSampleCountsSupported() 238 bool isDifferentTextureSampleCountsSupported(TestContext& testContext, GLint& maxSamples) in isDifferentTextureSampleCountsSupported() argument 251 maxSamples = min(maxColorSamples, maxDepthSamples); in isDifferentTextureSampleCountsSupported() 269 return minSamplesTex < maxSamples; in isDifferentTextureSampleCountsSupported() 644 GLint maxSamples; in __anonfe0cf7781f02() local 645 if (!isDifferentRboSampleCountsSupported(testContext, maxSamples)) in __anonfe0cf7781f02() 673 [maxSamples](TestContext& context) in __anonfe0cf7781f02() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cES31CompatibilitySampleVariablesTests.cpp | 248 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()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/analyzer/ |
D | InfiniteRecording.h | 29 InfiniteRecording(size_t maxSamples) in InfiniteRecording() argument 30 : mMaxSamples(maxSamples) { in InfiniteRecording()
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrRasterizer.hpp | 45 const int maxSamples = numBits/4; in getCoverageBit() local 46 DE_STATIC_ASSERT(maxSamples >= RASTERIZER_MAX_SAMPLES_PER_FRAGMENT); in getCoverageBit() 47 …DE_ASSERT(de::inRange(numSamples, 1, maxSamples) && de::inBounds(x, 0, 2) && de::inBounds(y, 0, 2)… in getCoverageBit()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
D | CircularCaptureBuffer.java | 30 public CircularCaptureBuffer(int maxSamples) { in CircularCaptureBuffer() argument 31 mData = new float[maxSamples]; in CircularCaptureBuffer()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cSampleShadingTests.cpp | 244 GLint maxSamples = 0; in iterate() local 250 gl.getInternalformativ(GL_TEXTURE_2D_MULTISAMPLE, m_internalFormat, GL_SAMPLES, 1, &maxSamples); in iterate() 251 if (maxSamples == 0) in iterate() 260 gl.getIntegerv(GL_MAX_INTEGER_SAMPLES, &maxSamples); in iterate() 264 gl.getIntegerv(GL_MAX_SAMPLES, &maxSamples); in iterate() 266 GLint samples = de::min<GLint>(maxSamples, MAX_SAMPLES); in iterate()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fInternalFormatQueryTests.cpp | 93 glw::GLint maxSamples = 0; in iterate() local 116 gl.getIntegerv(samplesEnum, &maxSamples); in iterate() 119 …:TestLog::Message << glu::getGettableStateStr(samplesEnum) << " = " << maxSamples << tcu::TestLog:… in iterate() 121 if (maxSamples < 1) in iterate() 194 if (samples[0] < maxSamples) in iterate()
|
D | es31fShaderHelperInvocationTests.cpp | 230 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()
|
D | es31fTextureMultisampleTests.cpp | 204 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() 623 glw::GLint maxSamples = 0; in init() local 635 maxSamples = getMaxConformantSampleCount(GL_TEXTURE_2D_MULTISAMPLE, GL_RGBA8); in init() 636 if (m_samples > maxSamples) in init() 639 … << tcu::TestLog::Message << "glGetInternalformativ(GL_SAMPLES) = " << maxSamples << tcu::TestLog:… in init() 1179 glw::GLint maxSamples = 0; in init() local 1180 gl.getInternalformativ(textureTarget, internalFormat, GL_SAMPLES, 1, &maxSamples); in init() [all …]
|
D | es31fShaderTextureSizeTests.cpp | 178 glw::GLint maxSamples = 0; in init() local 182 …etInternalformativ(getTextureGLTarget(), getTextureGLInternalFormat(), GL_SAMPLES, 1, &maxSamples); in init() 184 if (m_numSamples > maxSamples) in init()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | renderer9_utils.cpp | 516 GLuint maxSamples = 0; in GenerateCaps() local 523 maxSamples = std::max(maxSamples, textureCaps.getMaxSamples()); in GenerateCaps() 666 caps->maxSamples = maxSamples; in GenerateCaps()
|
/third_party/skia/tests/ |
D | VkWrapTests.cpp | 186 int maxSamples = dContext->priv().caps()->maxRenderTargetSampleCount( in wrap_trt_test() local 188 bool shouldSucceed = maxSamples > 1; in wrap_trt_test()
|
/third_party/glslang/glslang/Include/ |
D | ResourceLimits.h | 135 int maxSamples; member
|
/third_party/glslang/StandAlone/ |
D | ResourceLimits.cpp | 237 … << "MaxSamples " << DefaultTBuiltInResource.maxSamples << "\n" in GetDefaultTBuiltInResourceString() 453 resources->maxSamples = value; in DecodeResourceLimits()
|