/external/opencv3/samples/cpp/ |
drawing.cpp | 37 pt1.x = rng.uniform(x1, x2); 38 pt1.y = rng.uniform(y1, y2); 39 pt2.x = rng.uniform(x1, x2); 40 pt2.y = rng.uniform(y1, y2); 42 line( image, pt1, pt2, randomColor(rng), rng.uniform(1,10), lineType ); 52 pt1.x = rng.uniform(x1, x2); 53 pt1.y = rng.uniform(y1, y2); 54 pt2.x = rng.uniform(x1, x2); 55 pt2.y = rng.uniform(y1, y2); 56 int thickness = rng.uniform(-3, 10) [all...] |
kmeans.cpp | 35 int k, clusterCount = rng.uniform(2, MAX_CLUSTERS+1); 36 int i, sampleCount = rng.uniform(1, 1001); 46 center.x = rng.uniform(0, img.cols); 47 center.y = rng.uniform(0, img.rows);
|
/external/opencv3/samples/cpp/tutorial_code/core/Matrix/ |
Drawing_2.cpp | 114 pt1.x = rng.uniform( x_1, x_2 ); 115 pt1.y = rng.uniform( y_1, y_2 ); 116 pt2.x = rng.uniform( x_1, x_2 ); 117 pt2.y = rng.uniform( y_1, y_2 ); 119 line( image, pt1, pt2, randomColor(rng), rng.uniform(1, 10), 8 ); 135 int thickness = rng.uniform( -3, 10 ); 139 pt1.x = rng.uniform( x_1, x_2 ); 140 pt1.y = rng.uniform( y_1, y_2 ); 141 pt2.x = rng.uniform( x_1, x_2 ); 142 pt2.y = rng.uniform( y_1, y_2 ) [all...] |
/ndk/tests/build/issue41387-uniform-initialized-rvalue/jni/ |
Android.mk | 4 LOCAL_MODULE := issue41387-uniform-initialized-rvalue 5 LOCAL_SRC_FILES := issue41387-uniform-initialized-rvalue.cpp
|
/cts/tests/openglperf2/assets/fragment/ |
basic | 15 uniform sampler2D u_Texture;
|
perspective | 15 uniform vec3 u_LightPos; 16 uniform sampler2D u_Texture;
|
water | 15 uniform vec3 u_LightPos; 16 uniform sampler2D u_Texture1; 17 uniform sampler2D u_Texture2; 18 uniform int u_Time;
|
blur | 15 uniform sampler2D u_Texture; 16 uniform vec2 u_Scale;
|
/external/autotest/client/deps/glbench/src/ |
yuv2rgb_3.glslf | 37 uniform sampler2D ySampler; 38 uniform sampler2D uSampler; 39 uniform sampler2D vSampler; 42 uniform mat4 conversion;
|
yuv2rgb_4.glslf | 37 uniform sampler2D ySampler; 38 uniform sampler2D uvSampler; /* GL_LUMINANCE_ALPHA */ 41 uniform mat4 conversion;
|
yuv2rgb_2.glslf | 38 uniform sampler2D textureSampler; 39 uniform sampler2D paritySampler; 47 uniform mat4 conversion;
|
yuv2rgb_1.glslf | 48 uniform float imageWidth; 49 uniform float imageHeight; 55 uniform sampler2D textureSampler; 58 uniform mat4 conversion;
|
/external/skia/src/gpu/glsl/ |
GrGLSLTextureSampler.h | 20 GrGLSLTextureSampler(UniformHandle uniform, const GrTextureAccess& access) 21 : fSamplerUniform(uniform)
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/shaders/ |
BaseShader.java | 40 /** @author Xoppa A BaseShader is a wrapper around a ShaderProgram that keeps track of the uniform and attribute locations. It does
49 /** @return True if the uniform only has to be set once per render call, false if the uniform must be set for each renderable. */
69 public static class Uniform implements Validator {
75 public Uniform (final String alias, final long materialMask, final long environmentMask, final long overallMask) {
82 public Uniform (final String alias, final long materialMask, final long environmentMask) {
86 public Uniform (final String alias, final long overallMask) {
90 public Uniform (final String alias) {
115 /** Register an uniform which might be used by this shader. Only possible prior to the call to init().
116 * @return The ID of the uniform to use in this shader. */ [all...] |
/cts/tests/openglperf2/assets/vertex/ |
water | 15 uniform mat4 u_MVPMatrix; 16 uniform mat4 u_MVMatrix;
|
perspective | 15 uniform mat4 u_MVPMatrix; 16 uniform mat4 u_MVMatrix;
|
/external/opencv3/samples/cpp/tutorial_code/ImgTrans/ |
copyMakeBorder_demo.cpp | 67 Scalar value( rng.uniform(0, 255), rng.uniform(0, 255), rng.uniform(0, 255) );
|
/external/opencv3/modules/features2d/test/ |
test_mser.cpp | 61 uchar b = rng.uniform(0, 256); 62 uchar g = rng.uniform(0, 256); 63 uchar r = rng.uniform(0, 256); 106 bool use_big_image = rng.uniform(0, 7) != 0; 107 bool invert = rng.uniform(0, 2) != 0; 108 bool binarize = use_big_image ? rng.uniform(0, 5) != 0 : false; 109 bool blur = rng.uniform(0, 2) != 0; 110 int thresh = thresharr[rng.uniform(0, 5)];
|
/external/vulkan-validation-layers/demos/ |
cube.frag | 31 layout (binding = 1) uniform sampler2D tex;
|
tri.frag | 31 layout (binding = 0) uniform sampler2D tex;
|
/prebuilts/go/darwin-x86/src/image/ |
names.go | 12 // Black is an opaque black uniform image. 14 // White is an opaque white uniform image. 16 // Transparent is a fully transparent uniform image. 18 // Opaque is a fully opaque uniform image. 22 // Uniform is an infinite-sized Image of uniform color. 24 type Uniform struct { 28 func (c *Uniform) RGBA() (r, g, b, a uint32) { 32 func (c *Uniform) ColorModel() color.Model { 36 func (c *Uniform) Convert(color.Color) color.Color [all...] |
/prebuilts/go/linux-x86/src/image/ |
names.go | 12 // Black is an opaque black uniform image. 14 // White is an opaque white uniform image. 16 // Transparent is a fully transparent uniform image. 18 // Opaque is a fully opaque uniform image. 22 // Uniform is an infinite-sized Image of uniform color. 24 type Uniform struct { 28 func (c *Uniform) RGBA() (r, g, b, a uint32) { 32 func (c *Uniform) ColorModel() color.Model { 36 func (c *Uniform) Convert(color.Color) color.Color [all...] |
/external/opencv3/modules/core/test/ |
test_rotatedrect.cpp | 70 a = Point2f( rng.uniform(-MAX_COORD_VAL, MAX_COORD_VAL), rng.uniform(-MAX_COORD_VAL, MAX_COORD_VAL) ); 73 b = Point2f( rng.uniform(-MAX_COORD_VAL, MAX_COORD_VAL), rng.uniform(-MAX_COORD_VAL, MAX_COORD_VAL) ); 78 double d = (double) rng.uniform(1.0f, 5.0f);
|
/external/opencv3/samples/cpp/tutorial_code/ShapeDescriptors/ |
moments_demo.cpp | 77 Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) ); 91 Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) );
|
/external/opencv3/samples/cpp/tutorial_code/TrackingMotion/ |
cornerDetector_Demo.cpp | 100 { circle( myShiTomasi_copy, Point(i,j), 4, Scalar( rng.uniform(0,255), rng.uniform(0,255), rng.uniform(0,255) ), -1, 8, 0 ); } 119 { circle( myHarris_copy, Point(i,j), 4, Scalar( rng.uniform(0,255), rng.uniform(0,255), rng.uniform(0,255) ), -1, 8, 0 ); }
|