/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | launchclip.rs | 21 int dimX; 22 int dimY; 23 int dimZ; 26 int dimA0; 27 int dimA1; 28 int dimA2; 29 int dimA3; 31 int biasX = 0; 32 int biasY = 0; 33 int biasZ = 0; [all …]
|
D | scriptgroup.rs | 6 int memset_toValue = 0; 8 int compare_value = 0; 9 int compare_failure = 2; 12 int arith_operation = 0; 13 int arith_use_rs_allocation = 0; 15 int arith_value = 0; 17 void arith(const int *ain, int *aout, uint32_t x) { constant 18 int value = arith_value; 21 value = *(int*)(rsGetElementAt(arith_rs_input, x)); 35 void memset(int *aout) { [all …]
|
D | intrinsic_blur.rs | 19 int height; 20 int width; 21 static int radius; variable 25 const int MAX_RADIUS = 25; constant 48 void setRadius(int rad) { 60 for (int r = -radius; r <= radius; r ++) { 67 for (int r = -radius; r <= radius; r ++) { 75 int gi = 0; 76 for (int r = -radius; r <= radius; r ++) { 77 int validH = clamp((int)y + r, (int)0, (int)(height - 1)); [all …]
|
D | global_sync.rs | 4 int gInt; 5 static int sInt; constant 9 void test_read_global(int expected) { 15 void test_read_static_global(int expected) { 21 void test_write_global(int i) { 25 void test_write_static_global(int i) { 29 void __attribute__((kernel)) write_global(int ain, uint32_t x) { 35 void __attribute__((kernel)) write_static_global(int ain, uint32_t x) { 41 int __attribute__((kernel)) read_global(int ain, uint32_t x) { 48 int __attribute__((kernel)) read_static_global(int ain, uint32_t x) {
|
D | single_source_script.rs | 21 int RS_KERNEL foo(int a) { 25 int RS_KERNEL goo(int a, int b) { 29 void RS_KERNEL bar(int x, int y) { 30 int a = rsGetElementAt_int(gAllocOut, x, y); 43 void testLaunchOptions(rs_allocation in, rs_allocation out, int dimX, int dimY) { 52 void testAllocationlessLaunch(rs_allocation inAndOut, int dimX, int dimY) { 66 for (int i = 0; i < dimX; i++) { 67 for (int j = 0; j < dimY; j++) {
|
D | setelementat.rs | 6 int memset_toValue = 0; 8 int compare_value = 0; 9 int compare_failure = 2; 10 int failure_value = 0; 16 void memset(int *aout) { 21 void compare(const int *ain) { constant 29 void getCompareResult(int* aout) { 33 void setLargeArray(const int *ain, uint32_t x) { constant 34 int source = 10; 42 void setLargeArray2D(const int *ain, uint32_t x) { constant [all …]
|
D | single_source_alloc.rs | 19 int gDimX; 20 int gDimY; 21 int gDimZ; 22 int gStart; 35 void RS_KERNEL verify_##CT(CT in, int x, int y, int z) { \ 36 int val = (gStart + x + y * gDimX + z * gDimY * gDimX); \ 39 void RS_KERNEL verify_##CT##2(CT##2 in, int x, int y, int z) { \ 40 int val = (gStart + x + y * gDimX + z * gDimY * gDimX); \ 44 void RS_KERNEL verify_##CT##3(CT##3 in, int x, int y, int z) { \ 45 int val = (gStart + x + y * gDimX + z * gDimY * gDimX); \ [all …]
|
D | reduce.rs | 26 for (int i = 0; i < sizeof(half); ++i) 39 static void aiAccum(int *accum, int val) { *accum += val; } 51 int idx; 65 static void fMMAccumulator(MinAndMax *accum, float in, int x) { 238 for (int i = 0; i < 2; ++i) 239 for (int j = 0; j < 2; ++j) 244 for (int i = 0; i < 2; ++i) { 245 for (int j = 0; j < 2; ++j) { 256 for (int i = 0; i < 4; ++i) 274 for (int i = 0; i < 2; ++i) { [all …]
|
D | oob.rs | 5 void write_i(int value, uint32_t x) { 9 void __attribute__((kernel)) write_k(int unused) { 19 int dstXOff = 0; 20 int srcXOff = 0; 21 int yOff = 0; 22 int xCount = 0; 23 int yCount = 0; 24 int srcMip = 0; // Only used in 1D tests 25 int dstMip = 0; // Ditto.
|
D | MatrixTest.rs | 24 for (int row = 0; row < 2; row++) { 25 for (int col = 0; col < 2; col++) { 30 for (int row = 0; row < 3; row++) { 31 for (int col = 0; col < 3; col++) { 36 for (int row = 0; row < 4; row++) { 37 for (int col = 0; col < 4; col++) { 43 for (int row = 0; row < 2; row++) { 44 for (int col = 0; col < 2; col++) { 49 for (int row = 0; row < 3; row++) { 50 for (int col = 0; col < 3; col++) { [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestMin.rs | 24 float __attribute__((kernel)) testMinFloatFloatFloat(float inA, unsigned int x) { 29 float2 __attribute__((kernel)) testMinFloat2Float2Float2(float2 inA, unsigned int x) { 34 float3 __attribute__((kernel)) testMinFloat3Float3Float3(float3 inA, unsigned int x) { 39 float4 __attribute__((kernel)) testMinFloat4Float4Float4(float4 inA, unsigned int x) { 44 half __attribute__((kernel)) testMinHalfHalfHalf(half inA, unsigned int x) { 49 half2 __attribute__((kernel)) testMinHalf2Half2Half2(half2 inA, unsigned int x) { 54 half3 __attribute__((kernel)) testMinHalf3Half3Half3(half3 inA, unsigned int x) { 59 half4 __attribute__((kernel)) testMinHalf4Half4Half4(half4 inA, unsigned int x) { 64 float2 __attribute__((kernel)) testMinFloat2FloatFloat2(float2 inA, unsigned int x) { 69 float3 __attribute__((kernel)) testMinFloat3FloatFloat3(float3 inA, unsigned int x) { [all …]
|
D | TestMax.rs | 24 float __attribute__((kernel)) testMaxFloatFloatFloat(float inA, unsigned int x) { 29 float2 __attribute__((kernel)) testMaxFloat2Float2Float2(float2 inA, unsigned int x) { 34 float3 __attribute__((kernel)) testMaxFloat3Float3Float3(float3 inA, unsigned int x) { 39 float4 __attribute__((kernel)) testMaxFloat4Float4Float4(float4 inA, unsigned int x) { 44 half __attribute__((kernel)) testMaxHalfHalfHalf(half inA, unsigned int x) { 49 half2 __attribute__((kernel)) testMaxHalf2Half2Half2(half2 inA, unsigned int x) { 54 half3 __attribute__((kernel)) testMaxHalf3Half3Half3(half3 inA, unsigned int x) { 59 half4 __attribute__((kernel)) testMaxHalf4Half4Half4(half4 inA, unsigned int x) { 64 float2 __attribute__((kernel)) testMaxFloat2FloatFloat2(float2 inA, unsigned int x) { 69 float3 __attribute__((kernel)) testMaxFloat3FloatFloat3(float3 inA, unsigned int x) { [all …]
|
D | TestClamp.rs | 25 float __attribute__((kernel)) testClampFloatFloatFloatFloat(float inValue, unsigned int x) { 31 float2 __attribute__((kernel)) testClampFloat2Float2Float2Float2(float2 inValue, unsigned int x) { 37 float3 __attribute__((kernel)) testClampFloat3Float3Float3Float3(float3 inValue, unsigned int x) { 43 float4 __attribute__((kernel)) testClampFloat4Float4Float4Float4(float4 inValue, unsigned int x) { 49 float2 __attribute__((kernel)) testClampFloat2FloatFloatFloat2(float2 inValue, unsigned int x) { 55 float3 __attribute__((kernel)) testClampFloat3FloatFloatFloat3(float3 inValue, unsigned int x) { 61 float4 __attribute__((kernel)) testClampFloat4FloatFloatFloat4(float4 inValue, unsigned int x) { 67 char __attribute__((kernel)) testClampCharCharCharChar(char inValue, unsigned int x) { 73 char2 __attribute__((kernel)) testClampChar2Char2Char2Char2(char2 inValue, unsigned int x) { 79 char3 __attribute__((kernel)) testClampChar3Char3Char3Char3(char3 inValue, unsigned int x) { [all …]
|
D | TestStep.rs | 24 float __attribute__((kernel)) testStepFloatFloatFloat(float inEdge, unsigned int x) { 29 float2 __attribute__((kernel)) testStepFloat2Float2Float2(float2 inEdge, unsigned int x) { 34 float3 __attribute__((kernel)) testStepFloat3Float3Float3(float3 inEdge, unsigned int x) { 39 float4 __attribute__((kernel)) testStepFloat4Float4Float4(float4 inEdge, unsigned int x) { 44 half __attribute__((kernel)) testStepHalfHalfHalf(half inEdge, unsigned int x) { 49 half2 __attribute__((kernel)) testStepHalf2Half2Half2(half2 inEdge, unsigned int x) { 54 half3 __attribute__((kernel)) testStepHalf3Half3Half3(half3 inEdge, unsigned int x) { 59 half4 __attribute__((kernel)) testStepHalf4Half4Half4(half4 inEdge, unsigned int x) { 64 float2 __attribute__((kernel)) testStepFloat2FloatFloat2(float2 inEdge, unsigned int x) { 69 float3 __attribute__((kernel)) testStepFloat3FloatFloat3(float3 inEdge, unsigned int x) { [all …]
|
D | TestLdexp.rs | 24 float __attribute__((kernel)) testLdexpFloatIntFloat(float inMantissa, unsigned int x) { 25 int inExponent = rsGetElementAt_int(gAllocInExponent, x); 29 float2 __attribute__((kernel)) testLdexpFloat2Int2Float2(float2 inMantissa, unsigned int x) { 34 float3 __attribute__((kernel)) testLdexpFloat3Int3Float3(float3 inMantissa, unsigned int x) { 39 float4 __attribute__((kernel)) testLdexpFloat4Int4Float4(float4 inMantissa, unsigned int x) { 44 float2 __attribute__((kernel)) testLdexpFloat2IntFloat2(float2 inMantissa, unsigned int x) { 45 int inExponent = rsGetElementAt_int(gAllocInExponent, x); 49 float3 __attribute__((kernel)) testLdexpFloat3IntFloat3(float3 inMantissa, unsigned int x) { 50 int inExponent = rsGetElementAt_int(gAllocInExponent, x); 54 float4 __attribute__((kernel)) testLdexpFloat4IntFloat4(float4 inMantissa, unsigned int x) { [all …]
|
D | TestFmin.rs | 24 float __attribute__((kernel)) testFminFloatFloatFloat(float inA, unsigned int x) { 29 float2 __attribute__((kernel)) testFminFloat2Float2Float2(float2 inA, unsigned int x) { 34 float3 __attribute__((kernel)) testFminFloat3Float3Float3(float3 inA, unsigned int x) { 39 float4 __attribute__((kernel)) testFminFloat4Float4Float4(float4 inA, unsigned int x) { 44 half __attribute__((kernel)) testFminHalfHalfHalf(half inA, unsigned int x) { 49 half2 __attribute__((kernel)) testFminHalf2Half2Half2(half2 inA, unsigned int x) { 54 half3 __attribute__((kernel)) testFminHalf3Half3Half3(half3 inA, unsigned int x) { 59 half4 __attribute__((kernel)) testFminHalf4Half4Half4(half4 inA, unsigned int x) { 64 float2 __attribute__((kernel)) testFminFloat2FloatFloat2(float2 inA, unsigned int x) { 69 float3 __attribute__((kernel)) testFminFloat3FloatFloat3(float3 inA, unsigned int x) { [all …]
|
D | TestFmax.rs | 24 float __attribute__((kernel)) testFmaxFloatFloatFloat(float inA, unsigned int x) { 29 float2 __attribute__((kernel)) testFmaxFloat2Float2Float2(float2 inA, unsigned int x) { 34 float3 __attribute__((kernel)) testFmaxFloat3Float3Float3(float3 inA, unsigned int x) { 39 float4 __attribute__((kernel)) testFmaxFloat4Float4Float4(float4 inA, unsigned int x) { 44 half __attribute__((kernel)) testFmaxHalfHalfHalf(half inA, unsigned int x) { 49 half2 __attribute__((kernel)) testFmaxHalf2Half2Half2(half2 inA, unsigned int x) { 54 half3 __attribute__((kernel)) testFmaxHalf3Half3Half3(half3 inA, unsigned int x) { 59 half4 __attribute__((kernel)) testFmaxHalf4Half4Half4(half4 inA, unsigned int x) { 64 float2 __attribute__((kernel)) testFmaxFloat2FloatFloat2(float2 inA, unsigned int x) { 69 float3 __attribute__((kernel)) testFmaxFloat3FloatFloat3(float3 inA, unsigned int x) { [all …]
|
/cts/tools/release-parser/tests/resources/ |
D | Shell.apk.pb.txt | 256 return_type: "int" 260 return_type: "int" 264 return_type: "int" 268 return_type: "int" 281 parameters: "int" 287 parameters: "int" 338 return_type: "int" 342 parameters: "int" 347 return_type: "int" 351 return_type: "int" [all …]
|
/cts/tests/tests/rscpp/librscpptest/ |
D | setelementat.rs | 5 int memset_toValue = 0; 7 int compare_value = 0; 8 int compare_failure = 2; 9 int failure_value = 0; 15 void memset(int *aout) { 20 void compare(const int *ain) { constant 28 void getCompareResult(int* aout) { 32 void setLargeArray(const int *ain, uint32_t x) { constant 33 int source = 10; 41 void setLargeArray2D(const int *ain, uint32_t x) { constant [all …]
|
D | foreach.rs | 4 int dimX; 5 int dimY; 8 void root(int *out, uint32_t x, uint32_t y) { 12 void foo(const int *in, int *out, uint32_t x, uint32_t y) { constant 20 int i, j; 24 int v = rsGetElementAt_int(aRaw, i, j); 41 int i, j; 45 int v = rsGetElementAt_int(aRaw, i, j);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | layer_info.rsh | 8 int front_depth; 9 int back_depth; 16 int dilation_radius; 24 static inline int ValidDepth(int depth) { return (depth != 0); } 26 static inline int NotInFrontOfTheLayer(int depth, 31 static inline int OnTheLayer(int depth, const LayerInfo_t *layer_info) { 35 static inline int ValidDepthNotInFrontOfTheLayer( 36 int depth, const LayerInfo_t *layer_info) { 40 static inline int ValidDepthNotOnTheLayer(int depth,
|
D | layered_filter_d1new_helper.rsh | 41 static inline void Alloc_ComputeLayerMatteHelper(uchar sharp_input_actual_depth, int index_sharp_me… 43 const int dilation_radius) { 44 const int kernel_center_x = dilation_radius; 45 const int kernel_center_y = dilation_radius; 46 const int kernel_dim_x = 2 * kernel_center_x + 1; 50 int min_dist = dilation_radius + 1; 52 int depth = sharp_input_actual_depth; // Get meta data actual_depth 54 …int current_meta_index = index_sharp_meta - kernel_center_y * image_size_i4.s0 - kernel_center_x; … 55 const int jump_to_next_pixel = 1; 56 const int jump_to_next_row = image_size_i4.s0 - kernel_dim_x; // image_size.width [all …]
|
D | layer_info_fast.rsh | 8 int front_depth; 9 int back_depth; 16 int dilation_radius; 24 static inline int ValidDepth(int depth) { return (depth != 0); } 26 static inline int NotInFrontOfTheLayer(int depth, 31 static inline int OnTheLayer(int depth, const int2 layer_info_i2) { 36 static inline int ValidDepthNotInFrontOfTheLayer( 37 int depth, const int2 layer_info_f2) { 42 static inline int ValidDepthNotOnTheLayer(int depth,
|
D | layered_filter_fast_f32.rs | 50 static int g_use_integral_image; constant 90 static const int g_kDepthScaleShift = 2; constant 92 static const int g_kMaxDepth = 256 >> g_kDepthScaleShift; constant 102 const int index = y * g_image_size.width + x; constant 131 const int actual_depth = g_kMaxDepth - (in.a >> g_kDepthScaleShift); constant 138 const int index = y * g_image_size.width + x; // index of this pixel constant 148 int is_this_pixel_on_boundary = 0; 176 const int kernel_center_x = g_blend_info.dilation_radius; constant 177 const int kernel_center_y = g_blend_info.dilation_radius; constant 178 const int kernel_dim_x = 2 * kernel_center_x + 1; constant [all …]
|
D | layered_filter_f32_helper.rsh | 24 const int dilation_radius) { 25 const int kernel_center_x = dilation_radius; 26 const int kernel_center_y = dilation_radius; 27 const int kernel_dim_x = 2 * kernel_center_x + 1; 31 int min_dist = dilation_radius + 1; 33 int depth = sharp->actual_depth; 37 const int jump_to_next_pixel = 1; 38 const int jump_to_next_row = image_size->width - kernel_dim_x; 40 for (int j = -kernel_center_y; j <= kernel_center_y; ++j) { 41 for (int i = -kernel_center_x; i <= kernel_center_x; ++i) { [all …]
|