HomeSort by relevance Sort by last modified time
    Searched refs:uniform (Results 26 - 50 of 155) sorted by null

12 3 4 5 6 7

  /external/opencv3/samples/cpp/
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);
image_alignment.cpp 239 warpGround = (Mat_<float>(2,3) << 1, 0, (rng.uniform(10.f, 20.f)),
240 0, 1, (rng.uniform(10.f, 20.f)));
245 angle = CV_PI/30 + CV_PI*rng.uniform((double)-2.f, (double)2.f)/180;
247 warpGround = (Mat_<float>(2,3) << cos(angle), -sin(angle), (rng.uniform(10.f, 20.f)),
248 sin(angle), cos(angle), (rng.uniform(10.f, 20.f)));
254 warpGround = (Mat_<float>(2,3) << (1-rng.uniform(-0.05f, 0.05f)),
255 (rng.uniform(-0.03f, 0.03f)), (rng.uniform(10.f, 20.f)),
256 (rng.uniform(-0.03f, 0.03f)), (1-rng.uniform(-0.05f, 0.05f))
    [all...]
convexhull.cpp 33 pt.x = rng.uniform(img.cols/4, img.cols*3/4);
34 pt.y = rng.uniform(img.rows/4, img.rows*3/4);
watershed.cpp 105 int b = theRNG().uniform(0, 255);
106 int g = theRNG().uniform(0, 255);
107 int r = theRNG().uniform(0, 255);
  /external/opencv3/samples/cpp/tutorial_code/ShapeDescriptors/
findContours_demo.cpp 72 Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) );
hull_demo.cpp 74 Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) );
generalContours_demo1.cpp 80 Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) );
generalContours_demo2.cpp 77 Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) );
  /external/opencv3/samples/cpp/tutorial_code/TrackingMotion/
cornerSubPix_Demo.cpp 88 { circle( copy, corners[i], r, Scalar(rng.uniform(0,255), rng.uniform(0,255), rng.uniform(0,255)), -1, 8, 0 ); }
goodFeaturesToTrack_Demo.cpp 88 { circle( copy, corners[i], r, Scalar(rng.uniform(0,255), rng.uniform(0,255), rng.uniform(0,255)), -1, 8, 0 ); }
  /external/opencv3/modules/video/test/
test_ecc.cpp 135 Mat translationGround = (Mat_<float>(2,3) << 1, 0, (rng.uniform(10.f, 20.f)),
136 0, 1, (rng.uniform(10.f, 20.f)));
208 double angle = CV_PI/30 + CV_PI*rng.uniform((double)-2.f, (double)2.f)/180;
210 Mat euclideanGround = (Mat_<float>(2,3) << cos(angle), -sin(angle), (rng.uniform(10.f, 20.f)),
211 sin(angle), cos(angle), (rng.uniform(10.f, 20.f)));
283 Mat affineGround = (Mat_<float>(2,3) << (1-rng.uniform(-0.05f, 0.05f)),
284 (rng.uniform(-0.03f, 0.03f)), (rng.uniform(10.f, 20.f)),
285 (rng.uniform(-0.03f, 0.03f)), (1-rng.uniform(-0.05f, 0.05f))
    [all...]
  /external/opencv3/modules/core/perf/
perf_math.cpp 39 dims = rng.uniform(1, MAX_DIM+1);
40 N = rng.uniform(1, MAX_POINTS+1);
41 N0 = rng.uniform(1, MAX(N/10, 2));
42 K = rng.uniform(1, N+1);
45 rng.fill(data0, RNG::UNIFORM, -1, 1);
49 data0.row(rng.uniform(0, N0)).copyTo(data.row(i));
  /cts/hostsidetests/sustainedperf/shadertoy_android/jni/
shadertoy_shader.cpp 94 uniform vec3 iResolution;
95 uniform float iGlobalTime;
96 uniform vec4 iMouse;
97 uniform int iFrame;
98 uniform float iTimeDelta;
99 uniform vec3 iChannelResolution[4];
100 uniform sampler2D iChannel0;
  /external/opencv3/modules/imgproc/perf/
perf_threshold.cpp 30 double thresh = theRNG().uniform(1, 254);
31 double maxval = theRNG().uniform(1, 254);
50 double maxval = theRNG().uniform(1, 254);
80 double maxValue = theRNG().uniform(1, 254);
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
ImageShader.java 71 "uniform sampler2D tex_sampler_0;\n" +
204 GLToolbox.checkGlError("Initializing uniform");
321 GLToolbox.checkGlError("Set uniform value (" + uniformName + ")");
328 GLToolbox.checkGlError("Set uniform value (" + uniformName + ")");
332 ProgramUniform uniform = getProgramUniform(uniformName, true); local
335 switch (uniform.getType()) {
337 checkUniformAssignment(uniform, len, 1);
338 GLES20.glUniform1iv(uniform.getLocation(), len, values, 0);
341 checkUniformAssignment(uniform, len, 2);
342 GLES20.glUniform2iv(uniform.getLocation(), len / 2, values, 0)
361 ProgramUniform uniform = getProgramUniform(uniformName, true); local
745 ProgramUniform uniform = new ProgramUniform(mProgram, i); local
746 mUniforms.put(uniform.getName(), uniform); local
    [all...]
  /external/autotest/client/deps/glbench/src/
yuv2rgb_2.glslv 32 uniform float imageHeight;
  /external/opencv3/modules/imgproc/test/
test_lsd.cpp 57 rng.fill(image, RNG::UNIFORM, 0, 256);
62 image = Mat(img_size, CV_8UC1, Scalar::all(rng.uniform(0, 256)));
67 image = Mat(img_size, CV_8UC1, Scalar::all(rng.uniform(0, 128)));
71 int y = rng.uniform(10, img_size.width - 10);
82 Point center(rng.uniform(img_size.width/4, img_size.width*3/4),
83 rng.uniform(img_size.height/4, img_size.height*3/4));
84 Size rect_size(rng.uniform(img_size.width/8, img_size.width/6),
85 rng.uniform(img_size.height/8, img_size.height/6));
86 float angle = rng.uniform(0.f, 360.f);
test_imgwarp_strict.cpp 140 size.width = static_cast<int>(std::exp(rng.uniform(1.0f, 7.0f)));
141 size.height = static_cast<int>(std::exp(rng.uniform(1.0f, 7.0f)));
153 int depth = rng.uniform(0, CV_64F);
155 depth = rng.uniform(0, CV_64F);
157 int cn = rng.uniform(1, 4);
159 cn = rng.uniform(1, 4);
182 interpolation = rng.uniform(0, CV_INTER_LANCZOS4 + 1);
188 bool area_fast = rng.uniform(0., 1.) > 0.5;
191 scale_x = rng.uniform(2, 5);
192 scale_y = rng.uniform(2, 5)
    [all...]
  /external/vulkan-validation-layers/demos/
cube.vert 31 layout(std140, binding = 0) uniform buf {
  /external/webrtc/webrtc/base/
random.cc 24 // Casting the output to 32 bits will give an almost uniform number.
27 // Uniform would be Pr[x=k] = 2^32 / 2^64 for all 32-bit integers k.
29 // If x / 2^32 is uniform on [0,1), then x / 2^32 * (t+1) is uniform on
30 // the interval [0,t+1), so the integer part is uniform on [0,t].
70 // Creating a Normal distribution variable from two independent uniform
82 double uniform = Rand<double>(); local
83 return -log(uniform) / lambda;
  /external/opencv3/modules/calib3d/test/
test_undistort_points.cpp 50 cameraMatrix.at<double>(0,0) = rng.uniform(fcMinVal, fcMaxVal);
51 cameraMatrix.at<double>(1,1) = rng.uniform(fcMinVal, fcMaxVal);
52 cameraMatrix.at<double>(0,2) = rng.uniform(fcMinVal, fcMaxVal);
53 cameraMatrix.at<double>(1,2) = rng.uniform(fcMinVal, fcMaxVal);
60 distCoeffs.at<double>(i,0) = rng.uniform(0.0, 1.0e-3);
  /external/chromium-trace/catapult/third_party/gsutil/third_party/retry-decorator/retry_decorator/
retry_decorator.py 24 actual_delay = random.uniform(mdelay - half_interval, mdelay + half_interval)
  /external/opencv3/modules/imgproc/test/ocl/
test_warp.cpp 128 rng.uniform(-180.f, 180.f), rng.uniform(0.4f, 2.0f));
151 Point2f dp[] = { Point2f(rng.uniform(0.0f, cols2), rng.uniform(0.0f, rows2)),
152 Point2f(rng.uniform(cols2, cols), rng.uniform(0.0f, rows2)),
153 Point2f(rng.uniform(0.0f, cols2), rng.uniform(rows2, rows)),
154 Point2f(rng.uniform(cols2, cols), rng.uniform(rows2, rows)) }
    [all...]
  /external/deqp/modules/gles31/functional/
es31fProgramUniformTests.cpp 23 * \todo [2013-02-26 nuutti] Much duplication between ES2&3 uniform api
306 struct Uniform
311 Uniform (const char* const name_, const glu::VarType& type_) : name(name_), type(type_) {}
320 Uniform& getUniform (const int ndx) { return m_uniforms[ndx]; }
321 const Uniform& getUniform (const int ndx) const { return m_uniforms[ndx]; }
323 void addUniform (const Uniform& uniform) { m_uniforms.push_back(uniform); }
379 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(type, prec)));
387 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(glu::VarType(type, prec), 3)))
1280 const BasicUniform& uniform = basicUniforms[unifNdx]; local
1361 const BasicUniform& uniform = basicUniforms[unifNdx]; local
1560 const BasicUniform& uniform = basicUniforms[unifNdx]; local
    [all...]
  /external/opencv3/samples/cpp/tutorial_code/ImgTrans/
imageSegmentation.cpp 139 int b = theRNG().uniform(0, 255);
140 int g = theRNG().uniform(0, 255);
141 int r = theRNG().uniform(0, 255);

Completed in 375 milliseconds

12 3 4 5 6 7