/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);
|
minarea.cpp | 29 int i, count = rng.uniform(1, 101); 36 pt.x = rng.uniform(img.cols/4, img.cols*3/4); 37 pt.y = rng.uniform(img.rows/4, img.rows*3/4);
|
/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)
|
/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;
|
/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 ); }
|
/external/opencv3/samples/cpp/tutorial_code/Histograms_Matching/ |
calcHist_Demo.cpp | 40 bool uniform = true; bool accumulate = false; local 45 calcHist( &bgr_planes[0], 1, 0, Mat(), b_hist, 1, &histSize, &histRange, uniform, accumulate ); 46 calcHist( &bgr_planes[1], 1, 0, Mat(), g_hist, 1, &histSize, &histRange, uniform, accumulate ); 47 calcHist( &bgr_planes[2], 1, 0, Mat(), r_hist, 1, &histSize, &histRange, uniform, accumulate );
|
/external/opencv3/modules/ml/test/ |
test_svmtrainauto.cpp | 66 int response = rng.uniform(0, 2); // Random from {0, 1}. 67 samples.at<float>( i, 0 ) = rng.uniform(0.f, 0.5f) + response * 0.5f; 68 samples.at<float>( i, 1 ) = rng.uniform(0.f, 0.5f) + response * 0.5f;
|