/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | find_region.rscript | 42 int2 mImgOffset; 43 int2 mSearchOffset; // offset to the region we will search 45 rs_allocation mBorderCoords; // int2 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) { [all …]
|
D | healing.rscript | 89 rs_allocation border_coords; // int2 92 float3 __attribute__((kernel)) extractBorder(int2 in) { 99 int2 coord = rsGetElementAt_int2(border_coords, i);
|
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/ |
D | reduce_general_examples_halter.rscript | 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) { 52 static bool fz2Found(const int2 *accum) {
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | find_region.rscript | 23 rs_allocation border_coords; //int2 30 int2 __attribute__((invoke_cpu)) findBestFit(rs_allocation poly, rs_allocation image) { 46 int2 fit_pos = gfindMin(fit, cx, cy, cwidth, cheight); 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) { 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.rscript | 137 rs_allocation border_coords; //int2 140 float3 __attribute__((kernel))extractBorder(int2 in) { 147 int2 coord = rsGetElementAt_int2(border_coords,i);
|
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
D | ball_physics.rscript | 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.rscript | 43 int2 gridDims = (int2){ rsAllocationGetDimX(gGrid), 67 int2 p = convert_int2(balls[ct].position / 100.f);
|
/frameworks/compile/slang/tests/F_reflection3264_variable_mismatch_init/ |
D | reflection3264_variable_mismatch_init.rscript | 16 int2 g = { 1, 2 }; 18 int2 h = { 3, sizeof(void*) }; 45 int2 n = { 1 72 int2 nn = { 1
|
/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/compile/slang/tests/P_reduce_general_examples/ |
D | reduce_general_examples.rscript | 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) { 142 static void modeOutConvert(int2 *result, const Histogram *h) {
|
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/ |
D | reduce_general_examples_backward.rscript | 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) { 138 static void modeOutConvert(int2 *result, const Histogram *h) {
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | reduce_backward.rscript | 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) { 159 static void modeOutConvert(int2 *result, const Histogram *h) {
|
D | reduce.rscript | 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) { 241 static void modeOutConvert(int2 *result, const Histogram *h) {
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | reduce_backward.rscript | 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) { 161 static void modeOutConvert(int2 *result, const Histogram *h) {
|
D | reduce.rscript | 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) { 243 static void modeOutConvert(int2 *result, const Histogram *h) {
|
/frameworks/compile/slang/tests/P_kernel_cpp/ |
D | kernel_cpp.rscript | 5 //int2 i2; 10 int2 i2 = 2;
|
/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.rscript | 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/native/services/surfaceflinger/layerproto/include/layerproto/ |
D | LayerProtoParser.h | 94 int2 size; 124 int2 resolution;
|
/frameworks/compile/slang/tests/F_global_init/ |
D | global_init.rscript | 6 int2 i2 = {3, 4};
|
/frameworks/rs/tests/cpp_api/typecheck/ |
D | kernels.rscript | 60 int2 i2; 61 int2 i2i = {1, 2};
|
/frameworks/compile/slang/tests/F_vector_cast/ |
D | vector_cast.rscript | 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'…
|