Home
last modified time | relevance | path

Searched refs:x2 (Results 1 – 25 of 120) sorted by relevance

12345

/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dintrinsic_convolve3x3.rscript27 uint32_t x2 = max((int32_t)x-1, 0);
33 float4 p02 = convert_float4(rsGetElementAt_uchar4(gIn, x2, y1));
36 float4 p12 = convert_float4(rsGetElementAt_uchar4(gIn, x2, y));
39 float4 p22 = convert_float4(rsGetElementAt_uchar4(gIn, x2, y2));
68 uint32_t x2 = max((int32_t)x-1, 0);
74 float3 p02 = convert_float3(rsGetElementAt_uchar3(gIn, x2, y1));
77 float3 p12 = convert_float3(rsGetElementAt_uchar3(gIn, x2, y));
80 float3 p22 = convert_float3(rsGetElementAt_uchar3(gIn, x2, y2));
109 uint32_t x2 = max((int32_t)x-1, 0);
115 float2 p02 = convert_float2(rsGetElementAt_uchar2(gIn, x2, y1));
[all …]
Dintrinsic_convolve5x5.rscript29 uint32_t x2 = x;
41 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y0)) * gCoeffs[2]
47 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)) * gCoeffs[7]
53 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[12]
59 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y3)) * gCoeffs[17]
65 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y4)) * gCoeffs[22]
76 uint32_t x2 = x;
88 + convert_float3(rsGetElementAt_uchar3(gIn, x2, y0)) * gCoeffs[2]
94 + convert_float3(rsGetElementAt_uchar3(gIn, x2, y1)) * gCoeffs[7]
100 + convert_float3(rsGetElementAt_uchar3(gIn, x2, y2)) * gCoeffs[12]
[all …]
DIntrinsicHistogram.java75 int x1 = 0, y1 = 0, x2 = w, y2 = h; in testNorm() local
79 x2 = w - 11; in testNorm()
84 for (int x = x1; x < x2; x++) { in testNorm()
103 hist.forEach(mAin, makeClipper(x1, y1, x2, y2)); in testNorm()
203 int x1 = 0, y1 = 0, x2 = w, y2 = h; in testDot() local
207 x2 = w - 11; in testDot()
212 for (int x = x1; x < x2; x++) { in testDot()
230 hist.forEach_Dot(mAin, makeClipper(x1, y1, x2, y2)); in testDot()
DIntrinsicColorMatrix.java58 int x1 = 0, y1 = 0, x2 = w, y2 = h; in subtest() local
62 x2 = w - 11; in subtest()
69 mSi.forEach(mAllocSrc, mAllocDst, makeClipper(x1, y1, x2, y2)); in subtest()
73 mSr.invoke_reference(mat, add, mAllocSrc, mAllocRef, x1, y1, x2, y2); in subtest()
DIntrinsicBase.java142 protected Script.LaunchOptions makeClipper(int x, int y, int x2, int y2) { in makeClipper() argument
144 lo.setX(x, x2); in makeClipper()
Dintrinsic_colormatrix.rscript21 int x1, int y1, int x2, int y2) {
30 for (uint32_t x = x1; x < x2; x++) {
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dcamera_response.rsh48 const float x2 = exp_b * pow_va + 1.0f;
49 return pow(x1 / x2, camera_response->c);
55 const float x2 = exp(camera_response->b) * (1.0f - pow_vc) + 1.0f;
56 return pow(pow_vc / x2, 1.0f / camera_response->a);
63 const float x2 = exp_b * pow_va + 1.0f;
64 return pow(x1 / x2, kDefaultC);
69 const float x2 = exp(kDefaultB) * (1.0f - pow_vc) + 1.0f;
70 return pow(pow_vc / x2, 1.0f / kDefaultA);
Dcamera_response_fast.rsh40 const float x2 = exp_b * pow_va + 1.0f;
41 return pow(x1 / x2, kDefaultC);
46 const float x2 = exp(kDefaultB) * (1.0f - pow_vc) + 1.0f;
47 return pow(pow_vc / x2, 1.0f / kDefaultA);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DMathsUtils.java157 float x2 = x * x; in quaternionMatrixOpenGL() local
173 matrix[5] = 1f - 2f * (x2 + z2); in quaternionMatrixOpenGL()
179 matrix[10] = 1f - 2f * (x2 + y2); in quaternionMatrixOpenGL()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityMagnificationTest.java212 final float x2 = 500; in testAnimatingMagnification() local
229 controller.setCenter(x2, y2, true); in testAnimatingMagnification()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/fill_array_data/d/
DT_fill_array_data_12.smali46 0x2
DT_fill_array_data_5.smali41 0x2
DT_fill_array_data_13.smali41 0x2
DT_fill_array_data_3.smali41 0x2
DT_fill_array_data_8.smali41 0x2
DT_fill_array_data_1.smali41 0x2
DT_fill_array_data_11.smali41 0x2
DT_fill_array_data_4.smali41 0x2
DT_fill_array_data_9.smali41 0x2
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sparse_switch/d/
DT_sparse_switch_13.smali43 const p1, 0x2
DT_sparse_switch_1.smali41 const p1, 0x2
DT_sparse_switch_3.smali41 const p1, 0x2
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/packed_switch/d/
DT_packed_switch_9.smali42 const/4 v2, 0x2
DT_packed_switch_12.smali44 const/4 v2, 0x2
DT_packed_switch_8.smali42 const v2, 0x2

12345