/cts/apps/CtsVerifier/jni/verifier/ |
com_android_cts_verifier_camera_StatsImage.cpp | 53 for (int gy = 0; gy < ngy; gy++) { 59 for (int y = aay+gy*gh; y < aay+(gy+1)*gh; y++) { 76 mean[gy*ngx*4 + gx*4 + ch] = m; 77 var[gy*ngx*4 + gx*4 + ch] = mSq - m*m;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
sobeloperator.cpp | 87 int gy = static_cast<int>(*(gyPtr + 3 * i + c) / 8 + 127.5); local 91 gy = 2 * gy - 255; 93 double value = sqrt(gx * gx + gy * gy); 98 (atan(static_cast<double>(gy)/static_cast<double>(gx)) + 3.14) / 6.28);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
EyePosition.java | 113 private void onAccelerometerChanged(float gx, float gy, float gz) { 115 float x = gx, y = gy, z = gz; 118 case Surface.ROTATION_90: x = -gy; y= gx; break; 119 case Surface.ROTATION_180: x = -gx; y = -gy; break; 120 case Surface.ROTATION_270: x = gy; y = -gx; break; 144 private void onGyroscopeChanged(float gx, float gy, float gz) { 146 float distance = (gx > 0 ? gx : -gx) + (gy > 0 ? gy : - gy); 165 float x = -gy, y = -gx [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
ECCurves.java | 111 BigInteger gy, 116 ECPoint generator = new ECPoint(gx, gy);
|
/external/libvpx/libvpx/vpx_dsp/ |
fastssim.c | 258 unsigned gy; \ 260 gy = gy_buf[((j + (_joffs)) & 7) * stride + i + (_ioffs)]; \ 262 col_sums_gy2[(_col)] = gy * (double)gy; \ 263 col_sums_gxgy[(_col)] = gx * (double)gy; \ 269 unsigned gy; \ 271 gy = gy_buf[((j + (_joffs)) & 7) * stride + i + (_ioffs)]; \ 273 col_sums_gy2[(_col)] += gy * (double)gy; \ 274 col_sums_gxgy[(_col)] += gx * (double)gy; \ 349 unsigned gy; local [all...] |
/prebuilts/go/darwin-x86/src/crypto/elliptic/ |
elliptic_test.go | 17 if !p224.IsOnCurve(p224.Params().Gx, p224.Params().Gy) { 444 baseY := curve.Params().Gy 480 gy := p256.Params().Gy 489 x, y := p256.CombinedMult(gx, gy, zero, zero) 495 x, y = p256.CombinedMult(gx, gy, one, zero) 496 if x.Cmp(gx) != 0 || y.Cmp(gy) != 0 { 497 t.Errorf("1×G + 0×G = (%d, %d), should be (%d, %d)", x, y, gx, gy) 501 x, y = p256.CombinedMult(gx, gy, zero, one) 502 if x.Cmp(gx) != 0 || y.Cmp(gy) != 0 [all...] |
p224.go | 20 gx, gy, b p224FieldElement 30 p224.Gy, _ = new(big.Int).SetString("bd376388b5f723fb4c22dfe6cd4375a05a07476444d5819985007e34", 16) 34 p224FromBig(&p224.gy, p224.Gy) 124 p224ScalarMult(&x2, &y2, &z2, &curve.gx, &curve.gy, &z1, scalar)
|
/prebuilts/go/linux-x86/src/crypto/elliptic/ |
elliptic_test.go | 17 if !p224.IsOnCurve(p224.Params().Gx, p224.Params().Gy) { 444 baseY := curve.Params().Gy 480 gy := p256.Params().Gy 489 x, y := p256.CombinedMult(gx, gy, zero, zero) 495 x, y = p256.CombinedMult(gx, gy, one, zero) 496 if x.Cmp(gx) != 0 || y.Cmp(gy) != 0 { 497 t.Errorf("1×G + 0×G = (%d, %d), should be (%d, %d)", x, y, gx, gy) 501 x, y = p256.CombinedMult(gx, gy, zero, one) 502 if x.Cmp(gx) != 0 || y.Cmp(gy) != 0 [all...] |
p224.go | 20 gx, gy, b p224FieldElement 30 p224.Gy, _ = new(big.Int).SetString("bd376388b5f723fb4c22dfe6cd4375a05a07476444d5819985007e34", 16) 34 p224FromBig(&p224.gy, p224.Gy) 124 p224ScalarMult(&x2, &y2, &z2, &curve.gx, &curve.gy, &z1, scalar)
|
/external/skia/tests/ |
PathOpsSimplifyQuadThreadedTest.cpp | 34 int gy = g >> 2; local 47 path.quadTo(SkIntToScalar(gx), SkIntToScalar(gy), 60 pathStr.appendf(" path.quadTo(%d, %d, %d, %d);\n", gx, gy, hx, hy);
|
PathOpsSimplifyQuadralateralsThreadedTest.cpp | 34 int gy = g >> 2; local 47 path.lineTo(SkIntToScalar(gx), SkIntToScalar(gy)); 61 pathStr.appendf(" path.lineTo(%d, %d);\n", gx, gy);
|
/external/skqp/tests/ |
PathOpsSimplifyQuadThreadedTest.cpp | 34 int gy = g >> 2; local 47 path.quadTo(SkIntToScalar(gx), SkIntToScalar(gy), 60 pathStr.appendf(" path.quadTo(%d, %d, %d, %d);\n", gx, gy, hx, hy);
|
PathOpsSimplifyQuadralateralsThreadedTest.cpp | 34 int gy = g >> 2; local 47 path.lineTo(SkIntToScalar(gx), SkIntToScalar(gy)); 61 pathStr.appendf(" path.lineTo(%d, %d);\n", gx, gy);
|
/external/libxcam/cl_kernel/ |
kernel_rgb_pipe.cl | 37 __inline void cl_tnr (float4 *out, int gx, int gy, __read_only image2d_t inputFrame1, __read_only image2d_t inputFrame2, __read_only image2d_t inputFrame3, CLRgbTnrConfig tnr_config) 46 in1 = read_imagef(inputFrame1, sampler, (int2)(gx, gy)); 47 in2 = read_imagef(inputFrame2, sampler, (int2)(gx, gy)); 48 in3 = read_imagef(inputFrame3, sampler, (int2)(gx, gy));
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
EcdhTest.java | 436 final BigInteger gy; // y-coordainat of the generator field in class:EcdhTest.EcPublicKeyTestVector 449 BigInteger gy, 460 this.gy = gy; 474 ECPoint g = new ECPoint(gx, gy); [all...] |
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/ |
shadertoy_shader.cpp | 101 vec4 texture2DGrad(sampler2D s, in vec2 uv, vec2 gx, vec2 gy) { return texture2D(s, uv); }
|
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/ |
AccelerometerPlayActivity.java | 165 final float gy = -sy * m; local 174 final float ay = gy * invm;
|
/external/pdfium/third_party/libopenjpeg20/ |
mct.c | 226 const __m128i gy = _mm_set1_epi32(4809); local 256 lo = _mm_mul_epi32(lo, gy); 257 hi = _mm_mul_epi32(hi, gy);
|
/external/deqp/framework/randomshaders/ |
rsgProgramExecutor.cpp | 199 float gy = ((float)y + 0.5f) / cellHeight; local 200 return tcu::Vec2(deFloatFrac(gx), deFloatFrac(gy));
|
/external/wycheproof/java/com/google/security/wycheproof/ |
EcUtil.java | 80 final BigInteger gy = new BigInteger(hexGY, 16); local 84 ECPoint g = new ECPoint(gx, gy);
|
/external/tensorflow/tensorflow/python/ops/ |
math_grad.py | 926 gy = array_ops.reshape [all...] |
/external/swiftshader/src/Renderer/ |
ETC_Decoder.cpp | 579 int gy = j * (gv - go) + 2; local 584 ((i * (gh - go) + gy) >> 2) + go,
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
ec_test.cc | 243 bssl::UniquePtr<BIGNUM> gy(BN_bin2bn(kY, sizeof(kY), nullptr)); 244 ASSERT_TRUE(gy); 254 group.get(), generator.get(), gx.get(), gy.get(), ctx.get())); 288 group2.get(), generator2.get(), gx.get(), gy.get(), ctx.get()));
|
/cts/apps/CameraITS/pymodules/its/ |
image.py | 799 [gy, gx] = numpy.gradient(luma) 800 return numpy.average(numpy.sqrt(gy*gy + gx*gx)) [all...] |
/external/tensorflow/tensorflow/core/common_runtime/ |
function_test.cc | 1032 auto gy = ops::Identity(s.WithOpName("gy"), dz); local 1063 auto gy = ops::Mul(s.WithOpName("gy"), x, dz); local [all...] |