/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
BrightnessFilter.java | 32 "uniform sampler2D tex_sampler_0;\n" + 33 "uniform float brightness;\n" +
|
ContrastFilter.java | 32 "uniform sampler2D tex_sampler_0;\n" + 33 "uniform float contrast;\n" +
|
SaturateFilter.java | 42 "uniform sampler2D tex_sampler_0;\n" + 43 "uniform float scale;\n" + 44 "uniform float shift;\n" + 45 "uniform vec3 weights;\n" + 56 "uniform sampler2D tex_sampler_0;\n" + 57 "uniform vec3 weights;\n" + 58 "uniform vec3 exponents;\n" +
|
/frameworks/rs/rsov/compiler/tests/arguments/ |
signedness.ll | 17 ; CHECK: [[PtrTy1:%.*]] = OpTypePointer Uniform [[Struct1]] 22 ; CHECK: [[OutPtrTy1:%.*]] = OpTypePointer Uniform [[OutStruct1]] 27 ; CHECK: [[PtrTy2:%.*]] = OpTypePointer Uniform [[Struct2]] 32 ; CHECK: [[OutPtrTy2:%.*]] = OpTypePointer Uniform [[OutStruct2]] 37 ; CHECK: [[PtrTy3:%.*]] = OpTypePointer Uniform [[Struct3]] 42 ; CHECK: [[OutPtrTy3:%.*]] = OpTypePointer Uniform [[OutStruct3]] 47 ; CHECK: [[PtrTy4:%.*]] = OpTypePointer Uniform [[Struct4]] 52 ; CHECK: [[OutPtrTy4:%.*]] = OpTypePointer Uniform [[OutStruct4]]
|
/packages/services/Car/evs/app/ |
shader_simpleTex.h | 24 "uniform mat4 cameraMat; \n" 35 "uniform sampler2D tex; \n"
|
/external/deqp/modules/gles3/functional/ |
es3fUniformApiTests.cpp | 21 * \brief Uniform API tests. 326 struct Uniform 331 Uniform (const char* const name_, const glu::VarType& type_) : name(name_), type(type_) {} 340 Uniform& getUniform (const int ndx) { return m_uniforms[ndx]; } 341 const Uniform& getUniform (const int ndx) const { return m_uniforms[ndx]; } 343 void addUniform (const Uniform& uniform) { m_uniforms.push_back(uniform); } 399 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(type, prec))); 407 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(glu::VarType(type, prec), 3))) 1711 const BasicUniform& uniform = basicUniforms[unifNdx]; local 1790 const BasicUniform& uniform = basicUniforms[unifNdx]; local 1848 const BasicUniform& uniform = basicUniforms[unifNdx]; local 2047 const BasicUniform& uniform = basicUniforms[unifNdx]; local [all...] |
es3fShaderDiscardTests.cpp | 184 "uniform sampler2D ut_brick;\n" 185 "uniform mediump int ui_one;\n\n" 197 "uniform sampler2D ut_brick;\n" 198 "uniform mediump int ui_one;\n\n" 214 "uniform sampler2D ut_brick;\n" 215 "uniform mediump int ui_one;\n\n" 231 "uniform sampler2D ut_brick;\n" 232 "uniform mediump int ui_one;\n" 233 "uniform mediump int ui_two;\n\n" 249 "uniform sampler2D ut_brick;\n [all...] |
/external/deqp/doc/testspecs/GLES31/ |
functional.shaders.opaque_type_indexing.txt | 29 + Indexing of Uniform Block instance arrays 38 + Indexing with uniform values (XXX_gpu_shader5) 39 + Indexing with dynamically uniform values (XXX_gpu_shader5) 53 uniform cases with values read directly from a list of uniforms, and 54 dynamically uniform cases using attribute/varying/SSBO variables depending on
|
/external/tensorflow/tensorflow/contrib/specs/python/ |
params_ops.py | 63 return random.uniform(lo, hi) 72 """Log-uniform distributed floatint point number.""" 73 return math.exp(random.uniform(math.log(lo), math.log(hi))) 77 """Log-uniform distributed integer, inclusive limits.""" 78 return int(math.floor(math.exp(random.uniform(math.log(lo),
|
/external/tensorflow/tensorflow/core/kernels/ |
random_poisson_op.cc | 46 #define UNIFORM(X) \ 48 uniform_remaining = Uniform::kResultElementCount; \ 49 uniform_result = uniform(&gen); \ 88 // uniform variates. 91 // pairs of uniform random variables due to Hormann. 103 typedef random::UniformDistribution<random::PhiloxRandom, CT> Uniform; 111 Uniform uniform; 112 typename Uniform::ResultType uniform_result; 127 // Uniform(0, 1), then Y ~ Exp(lambda), where Y = -log(X) / lambda [all...] |
/external/tensorflow/tensorflow/core/lib/random/ |
exact_uniform_int.h | 16 // Exact uniform integers using rejection sampling 42 // random's output is uniform in the half-open interval [0, 2^{bits}). 56 rnd = random(); // rnd uniform over [0, 2^{bits}) 58 // rnd is uniform over [rem, 2^{bits}) 74 // Therefore, v % n is uniform over [0, n). QED.
|
/external/deqp/external/openglcts/modules/common/ |
glcUniformBlockTests.cpp | 22 * \brief Uniform block tests. 199 block.addUniform(Uniform(name.c_str(), type, flags)); 303 block.addUniform(Uniform("var", type, 0)); 348 block.addUniform(Uniform("s", VarType(&typeS), 0)); 383 block.addUniform(Uniform("u", VarType(glu::TYPE_UINT, PRECISION_LOW))); 384 block.addUniform(Uniform("s", VarType(VarType(&typeS), 3))); 385 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_MEDIUM))); 424 block.addUniform(Uniform("s", VarType(&typeS), 0)); 425 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC2, PRECISION_LOW), UNUSED_BOTH)); 426 block.addUniform(Uniform("t", VarType(&typeT), 0)) [all...] |
glcUniformBlockCase.cpp | 22 * \brief Uniform block case. 170 // Uniform implementation. 172 Uniform::Uniform(const char* name, const VarType& type, deUint32 flags) : m_name(name), m_type(type), m_flags(flags) 570 const Uniform& uniform = *uniformIter; local 571 computeStd140Layout(layout, curOffset, activeBlockNdx, blockPrefix + uniform.getName(), uniform.getType(), 572 mergeLayoutFlags(block.getFlags(), uniform.getFlags())); 589 // Compute active uniform set for block 1016 const Uniform& uniform = *uniformIter; local 1757 const UniformLayoutEntry& uniform = layout.uniforms[uniformNdx]; local 1795 const UniformLayoutEntry& uniform = layout.uniforms[uniformNdx]; local [all...] |
/external/deqp/modules/glshared/ |
glsUniformBlockCase.cpp | 21 * \brief Uniform block case. 186 // Uniform implementation. 188 Uniform::Uniform (const char* name, const VarType& type, deUint32 flags) 594 const Uniform& uniform = *uniformIter; local 595 computeStd140Layout(layout, curOffset, activeBlockNdx, blockPrefix + uniform.getName(), uniform.getType(), mergeLayoutFlags(block.getFlags(), uniform.getFlags())); 612 // Compute active uniform set for block 1081 const Uniform& uniform = *uniformIter; local 1795 const UniformLayoutEntry& uniform = layout.uniforms[uniformNdx]; local 1830 const UniformLayoutEntry& uniform = layout.uniforms[uniformNdx]; local [all...] |
/external/clang/test/OpenMP/ |
declare_simd_messages.cpp | 81 #pragma omp declare simd simdlen(N) uniform(this, var) aligned(var) 90 // expected-error@+1 {{expected '(' after 'uniform'}} 91 #pragma omp declare simd uniform 95 #pragma omp declare simd uniform( 97 #pragma omp declare simd uniform() 101 #pragma omp declare simd uniform(this 105 #pragma omp declare simd uniform(this,a 107 #pragma omp declare simd uniform(,a) 184 // expected-error@+1 {{expected a reference to a parameter specified in a 'uniform' clause}} 186 // expected-note@+2 {{defined as uniform}} [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
vktUniformBlockCase.hpp | 24 * \brief Uniform block tests. 39 // Uniform block details. 60 UNUSED_VERTEX = (1<<11), //!< Uniform or struct member is not read in vertex shader. 61 UNUSED_FRAGMENT = (1<<12), //!< Uniform or struct member is not read in fragment shader. 171 class Uniform 174 Uniform (const std::string& name, const VarType& type, deUint32 flags = 0); 189 typedef std::vector<Uniform>::iterator Iterator; 190 typedef std::vector<Uniform>::const_iterator ConstIterator; 204 void addUniform (const Uniform& uniform) { m_uniforms.push_back(uniform); [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderDiscardTests.cpp | 202 "uniform sampler2D ut_brick;\n" 203 "uniform mediump int ui_one;\n\n" 213 "uniform sampler2D ut_brick;\n" 214 "uniform mediump int ui_one;\n\n" 228 "uniform sampler2D ut_brick;\n" 229 "uniform mediump int ui_one;\n\n" 243 "uniform sampler2D ut_brick;\n" 244 "uniform mediump int ui_one;\n" 245 "uniform mediump int ui_two;\n\n" 259 "uniform sampler2D ut_brick;\n [all...] |
es2fUniformApiTests.cpp | 21 * \brief Uniform API tests. 260 struct Uniform 265 Uniform (const char* const name_, const glu::VarType& type_) : name(name_), type(type_) {} 274 Uniform& getUniform (const int ndx) { return m_uniforms[ndx]; } 275 const Uniform& getUniform (const int ndx) const { return m_uniforms[ndx]; } 277 void addUniform (const Uniform& uniform) { m_uniforms.push_back(uniform); } 333 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(type, prec))); 341 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(glu::VarType(type, prec), 3))) 1354 const BasicUniform& uniform = basicUniforms[unifNdx]; local 1424 const BasicUniform& uniform = basicUniforms[unifNdx]; local 1477 const BasicUniform& uniform = basicUniforms[unifNdx]; local 1635 const BasicUniform& uniform = basicUniforms[unifNdx]; local [all...] |
/external/swiftshader/src/OpenGL/libGL/ |
Program.cpp | 41 Uniform::Uniform(GLenum type, GLenum precision, const std::string &name, unsigned int arraySize) : type(type), precision(precision), name(name), arraySize(arraySize) 52 Uniform::~Uniform() 57 bool Uniform::isArray() const 62 int Uniform::size() const 67 int Uniform::registerCount() const 300 Uniform *targetUniform = uniforms[uniformIndex[location].index]; 307 return false; // Attempting to write an array to a non-array uniform is an INVALID_OPERATION 348 Uniform *targetUniform = uniforms[uniformIndex[location].index] 1300 const glsl::Uniform &uniform = activeUniforms[uniformIndex]; local 1354 Uniform *uniform = 0; local [all...] |
/external/deqp/modules/gles31/functional/ |
es31fNegativeAtomicCounterTests.cpp | 98 shader << "layout (binding = " << maxBuffers << ", offset = 0) uniform atomic_uint counter0;\n"; 102 shader << "layout (binding = 1, offset = 0) " << glu::getPrecisionName(glu::PRECISION_MEDIUMP) << " uniform atomic_uint counter0;\n"; 106 shader << "layout (binding = 1, offset = 0) " << glu::getPrecisionName(glu::PRECISION_LOWP) << " uniform atomic_uint counter0;\n"; 110 shader << "layout (binding = 1, offset = 0) uniform atomic_uint counter0;\n" 111 << "layout (binding = 1, offset = 2) uniform atomic_uint counter1;\n"; 115 shader << "layout (offset = 0) uniform atomic_uint counter0;\n"; 127 shader << "layout (binding = 1) uniform atomic_uint counter;\n";
|
/external/mesa3d/src/compiler/glsl/ |
opt_dead_code.cpp | 125 /* uniform initializers are precious, and could get used by another 126 * stage. Also, once uniform locations have been assigned, the 134 /* Section 2.11.6 (Uniform Variables) of the OpenGL ES 3.0.3 spec 137 * "All members of a named uniform block declared with a 140 * program. The uniform block itself is also considered 143 * If the variable is in a uniform block with one of those 186 * irrelevent. If there is a uniform declaration encountered
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/ |
PVRTPFXParserAPI.h | 41 @brief A struct containing GL uniform data. 46 unsigned int nLocation; /*!< GL location of the Uniform */ 156 @brief Sets the dafault value for the uniform semantic. 157 @param[in] pszName name of uniform 163 @brief Registers a user-provided uniform semantic. 173 re-parses the effect to update the uniform table. 215 @brief Builds the uniform table from a list of known semantics.
|
/frameworks/base/libs/hwui/ |
ProgramCache.cpp | 47 const char* gVS_Header_Uniforms_TextureTransform = "uniform mat4 mainTextureTransform;\n"; 49 "uniform mat4 projection;\n" 50 "uniform mat4 transform;\n"; 51 const char* gVS_Header_Uniforms_HasGradient = "uniform mat4 screenSpace;\n"; 53 "uniform mat4 textureTransform;\n" 54 "uniform mediump vec2 textureDimension;\n"; 56 "uniform mat4 roundRectInvTransform;\n" 57 "uniform mediump vec4 roundRectInnerRectLTWH;\n" 58 "uniform mediump float roundRectRadius;\n"; 113 const char* gFS_Uniforms_Color = "uniform vec4 color;\n" [all...] |
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
esextcTextureCubeMapArrayImageOperations.cpp | 718 GLU_EXPECT_NO_ERROR(gl.getError(), "Error getting uniform location!"); 722 TCU_FAIL("Invalid location returned for active uniform!"); 726 GLU_EXPECT_NO_ERROR(gl.getError(), "Error setting value for uniform variable!"); 739 GLU_EXPECT_NO_ERROR(gl.getError(), "Error getting uniform location!"); 743 TCU_FAIL("Invalid location returned for active uniform!"); 747 GLU_EXPECT_NO_ERROR(gl.getError(), "Error setting value for uniform variable!"); [all...] |
/external/autotest/client/deps/glbench/src/ |
yuv2rgb_2.glslf | 38 uniform sampler2D textureSampler; 39 uniform sampler2D paritySampler; 47 uniform mat4 conversion;
|