/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | find_region.rs | 42 int2 mImgOffset; 43 int2 mSearchOffset; // offset to the region we will search 48 int2 __attribute__((kernel)) toInt_ss(int2 in) { return in - mImgOffset; } 84 int2 size = roiBounds.zw - roiBounds.xy; 85 int2 minr = max((int2){0, 0}, roiBounds.xy - size * (1 + pad)); 86 int2 maxr = min((int2){imgWidth, imgHeight}, roiBounds.zw + size * (1 + pad)); 92 int2 delta = {x, y}; 96 int2 coord = rsGetElementAt_int2(mBorderCoords, i) + delta; 105 static int2 gfindMin_ss(rs_allocation fit, int4 regionInSearch) { constant 109 int2 fit_pos = {0, 0}; [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/ |
D | reduce_general_examples_halter.rs | 35 static void fz2Init(int2 *accum) { accum->x = accum->y = -1; } 37 static void fz2Accum(int2 *accum, 47 static void fz2Combine(int2 *accum, const int2 *accum2) { constant 52 static bool fz2Found(const int2 *accum) { constant
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | find_region.rs | 90 float3 __attribute__((kernel))extractBorder(int2 in) { 94 int2 __attribute__((kernel)) toInt(float2 in) { 95 int2 out = {(int)in.x, (int) in.y}; 100 static int2 gfindMin(rs_allocation fit, int cx, int cy, int cwidth, int cheight) { variable 104 int2 fit_pos = {0, 0}; 133 int2 fit_pos = gfindMin(fit, cx, cy, cwidth, cheight); 145 int2 coord = rsGetElementAt_int2(border_coords, i);
|
D | healing.rs | 140 float3 __attribute__((kernel))extractBorder(int2 in) { 147 int2 coord = rsGetElementAt_int2(border_coords,i);
|
/frameworks/compile/slang/tests/F_reflection3264_variable_mismatch_init/ |
D | reflection3264_variable_mismatch_init.rs | 16 int2 g = { 1, 2 }; 18 int2 h = { 3, sizeof(void*) }; 45 int2 n = { 1 72 int2 nn = { 1
|
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
D | ball_physics.rs | 35 int2 gridPos[9]; 38 gridPos[1] = (int2){gridPos[0].x - 1, gridPos[0].y - 1}; 39 gridPos[2] = (int2){gridPos[0].x + 0, gridPos[0].y - 1}; 40 gridPos[3] = (int2){gridPos[0].x + 1, gridPos[0].y - 1}; 41 gridPos[4] = (int2){gridPos[0].x - 1, gridPos[0].y}; 42 gridPos[5] = (int2){gridPos[0].x + 1, gridPos[0].y}; 43 gridPos[6] = (int2){gridPos[0].x - 1, gridPos[0].y + 1}; 44 gridPos[7] = (int2){gridPos[0].x + 0, gridPos[0].y + 1}; 45 gridPos[8] = (int2){gridPos[0].x + 1, gridPos[0].y + 1};
|
D | balls.rs | 43 int2 gridDims = (int2){ rsAllocationGetDimX(gGrid), 67 int2 p = convert_int2(balls[ct].position / 100.f);
|
/frameworks/compile/slang/tests/P_reduce_general_examples/ |
D | reduce_general_examples.rs | 78 static void fMMOutConverter(int2 *result, 107 static void fz2Init(int2 *accum) { accum->x = accum->y = -1; } 109 static void fz2Accum(int2 *accum, 119 static void fz2Combine(int2 *accum, const int2 *accum2) { constant 142 static void modeOutConvert(int2 *result, const Histogram *h) {
|
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/ |
D | reduce_general_examples_backward.rs | 74 static void fMMOutConverter(int2 *result, 103 static void fz2Init(int2 *accum) { accum->x = accum->y = -1; } 105 static void fz2Accum(int2 *accum, 115 static void fz2Combine(int2 *accum, const int2 *accum2) { constant 138 static void modeOutConvert(int2 *result, const Histogram *h) {
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | reduce_backward.rs | 73 static void fMMOutConverter(int2 *result, 102 static void fz2Init(int2 *accum) { accum->x = accum->y = -1; } 104 static void fz2Accum(int2 *accum, 114 static void fz2Combine(int2 *accum, const int2 *accum2) { constant 161 static void modeOutConvert(int2 *result, const Histogram *h) {
|
D | reduce.rs | 155 static void fMMOutConverter(int2 *result, 184 static void fz2Init(int2 *accum) { accum->x = accum->y = -1; } 186 static void fz2Accum(int2 *accum, 196 static void fz2Combine(int2 *accum, const int2 *accum2) { constant 243 static void modeOutConvert(int2 *result, const Histogram *h) {
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | reduce_backward.rs | 71 static void fMMOutConverter(int2 *result, 100 static void fz2Init(int2 *accum) { accum->x = accum->y = -1; } 102 static void fz2Accum(int2 *accum, 112 static void fz2Combine(int2 *accum, const int2 *accum2) { constant 159 static void modeOutConvert(int2 *result, const Histogram *h) {
|
D | reduce.rs | 153 static void fMMOutConverter(int2 *result, 182 static void fz2Init(int2 *accum) { accum->x = accum->y = -1; } 184 static void fz2Accum(int2 *accum, 194 static void fz2Combine(int2 *accum, const int2 *accum2) { constant 241 static void modeOutConvert(int2 *result, const Histogram *h) {
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | layer_info_fast.rsh | 27 const int2 layer_info_f2) { 31 static inline int OnTheLayer(int depth, const int2 layer_info_i2) { 37 int depth, const int2 layer_info_f2) { 43 const int2 layer_info_f2) {
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicInlines.h | 41 typedef int int2 __attribute__((ext_vector_type(2))); typedef 103 static inline int2 clamp(int2 amount, int low, int high) { in clamp() 104 int2 r; in clamp()
|
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/ |
D | yuv.rs | 68 int2 vignette_half_dims; 70 int2 xy = {x, y}; 122 vignette_half_dims = (int2){w / 2, h / 2};
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | CursorWindowTest.java | 87 long int2 = window.getLong(0, 1); in doTestValues() local 88 assertEquals(int1, int2); in doTestValues()
|
/frameworks/rs/script_api/include/ |
D | rs_convert.rsh | 89 convert_float2(int2 v); 152 convert_char2(int2 v); 215 convert_uchar2(int2 v); 278 convert_short2(int2 v); 341 convert_ushort2(int2 v); 358 extern int2 __attribute__((const, overloadable)) 367 extern int2 __attribute__((const, overloadable)) 376 extern int2 __attribute__((const, overloadable)) 385 extern int2 __attribute__((const, overloadable)) 394 extern int2 __attribute__((const, overloadable)) [all …]
|
/frameworks/rs/tests/cpp_api/typecheck/ |
D | kernels.rs | 60 int2 i2; 61 int2 i2i = {1, 2};
|
/frameworks/compile/slang/tests/F_global_init/ |
D | global_init.rs | 6 int2 i2 = {3, 4};
|
/frameworks/compile/slang/tests/P_kernel_cpp/ |
D | kernel_cpp.rs | 10 int2 i2 = 2;
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | math.rs | 11 volatile int2 i2; 92 f2 = fnc(f2, (int2*) &i2); \ 99 f2 = fnc(f2, f2, (int2*) &i2); \ 214 volatile int2 prefix##_i_2 = 1; \
|
/frameworks/compile/slang/tests/F_vector_cast/ |
D | vector_cast.rs | 5 int2 i;
|
D | stderr.txt.expect | 1 …ctor values of different size ('float2' (vector of 2 'float' values) and 'int2' (vector of 2 'int'…
|
/frameworks/compile/slang/tests/P_reduce_general_result/ |
D | reduce_general_result.rs | 153 static void my_int2_accum(int2 *accum, int2 val) { } 154 static void my_int2_comb(int2 *accum, const int2 *other) { } constant 166 typedef int2 array_int2[7]; 167 static void my_array_int2_accum(array_int2 *accum, int2 val) { }
|