HomeSort by relevance Sort by last modified time
    Searched refs:INPUTSIZE (Results 1 - 25 of 25) sorted by null

  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationResize.java 38 mIn = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE/2);
39 mOut = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE*2);
40 mIn.resize(INPUTSIZE);
41 mOut.resize(INPUTSIZE);
44 int[] outArray = new int[INPUTSIZE];
45 int[] inArray = new int[INPUTSIZE];
46 for (int i = 0; i < INPUTSIZE; i++) {
49 mIn.copy1DRangeFrom(0, INPUTSIZE, inArray);
57 for (int i = 0; i < INPUTSIZE; i++) {
InitTest.java 36 float[] ref = new float[INPUTSIZE];
37 float[] in = new float[INPUTSIZE];
38 float[] out = new float[INPUTSIZE];
39 mIn = Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE);
40 mOut= Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE);
41 for (int i = 0 ;i < INPUTSIZE; i++) {
46 mIn.copy1DRangeFrom(0, INPUTSIZE, in);
53 checkArray(ref, out, INPUTSIZE, 1, 1, 0);
PownTest.java 82 Allocation nAlloc = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE);
84 n = new int[INPUTSIZE];
93 Allocation nAlloc = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE);
95 n = new int[INPUTSIZE];
104 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_2(mRS), INPUTSIZE);
106 n = new int[INPUTSIZE*2];
115 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_2(mRS), INPUTSIZE);
117 n = new int[INPUTSIZE*2];
126 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_3(mRS), INPUTSIZE);
128 n = new int[INPUTSIZE*4]
    [all...]
RootnTest.java 80 Allocation nAlloc = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE);
82 n = new int[INPUTSIZE];
91 Allocation nAlloc = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE);
93 n = new int[INPUTSIZE];
103 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_2(mRS), INPUTSIZE);
105 n = new int[INPUTSIZE*2];
114 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_2(mRS), INPUTSIZE);
116 n = new int[INPUTSIZE*2];
126 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_3(mRS), INPUTSIZE);
128 n = new int[INPUTSIZE*4]
    [all...]
GetElementAt.java 58 setupArrays(INPUTSIZE);
60 gIn = Allocation.createSized(mRS, Element.U32(mRS), INPUTSIZE);
69 for (int k = 0; k < INPUTSIZE; ++k) {
75 setupArrays(INPUTSIZE*INPUTSIZE);
78 builder.setX(INPUTSIZE);
79 builder.setY(INPUTSIZE);
90 for (int k = 0; k < INPUTSIZE*INPUTSIZE; ++k) {
RsPackColorTo8888Test.java 70 Allocation mAllocationIn = Allocation.createSized(mRS, Element.F32_3(mRS), INPUTSIZE);
71 Allocation mAllocationOut = Allocation.createSized(mRS, Element.U8_4(mRS), INPUTSIZE);
72 float[] inArray = new float[INPUTSIZE * 4];
73 byte[] outArray = new byte[INPUTSIZE * 4];
74 byte[] refArray = new byte[INPUTSIZE * 4];
76 mAllocationIn.copy1DRangeFrom(0, INPUTSIZE, inArray);
97 Allocation mAllocationIn = Allocation.createSized(mRS, Element.F32_4(mRS), INPUTSIZE);
98 Allocation mAllocationOut = Allocation.createSized(mRS, Element.U8_4(mRS), INPUTSIZE);
99 float[] inArray = new float[INPUTSIZE * 4];
100 byte[] outArray = new byte[INPUTSIZE * 4]
    [all...]
RsUnpackColor8888Test.java 36 Allocation mAllocationIn = Allocation.createSized(mRS, Element.U8_4(mRS), INPUTSIZE);
37 Allocation mAllocationOut = Allocation.createSized(mRS, Element.F32_4(mRS), INPUTSIZE);
38 byte[] inArray = new byte[INPUTSIZE * 4];
39 float[] outArray = new float[INPUTSIZE * 4];
40 float[] refArray = new float[INPUTSIZE * 4];
45 mAllocationIn.copy1DRangeFrom(0, INPUTSIZE, inArray);
Atan2PiTest.java 90 ScriptField_atan2pi_float_input in = new ScriptField_atan2pi_float_input(mRS, INPUTSIZE);
96 ScriptField_atan2pi_float_input in = new ScriptField_atan2pi_float_input(mRS, INPUTSIZE);
102 ScriptField_atan2pi_float2_input in = new ScriptField_atan2pi_float2_input(mRS, INPUTSIZE);
108 ScriptField_atan2pi_float2_input in = new ScriptField_atan2pi_float2_input(mRS, INPUTSIZE);
114 ScriptField_atan2pi_float3_input in = new ScriptField_atan2pi_float3_input(mRS, INPUTSIZE);
120 ScriptField_atan2pi_float3_input in = new ScriptField_atan2pi_float3_input(mRS, INPUTSIZE);
126 ScriptField_atan2pi_float4_input in = new ScriptField_atan2pi_float4_input(mRS, INPUTSIZE);
132 ScriptField_atan2pi_float4_input in = new ScriptField_atan2pi_float4_input(mRS, INPUTSIZE);
Atan2Test.java 90 ScriptField_atan2_f32_in in = new ScriptField_atan2_f32_in(mRS, INPUTSIZE);
96 ScriptField_atan2_f32_in in = new ScriptField_atan2_f32_in(mRS, INPUTSIZE);
102 ScriptField_atan2_f32_2_in in = new ScriptField_atan2_f32_2_in(mRS, INPUTSIZE);
108 ScriptField_atan2_f32_2_in in = new ScriptField_atan2_f32_2_in(mRS, INPUTSIZE);
114 ScriptField_atan2_f32_3_in in = new ScriptField_atan2_f32_3_in(mRS, INPUTSIZE);
120 ScriptField_atan2_f32_3_in in = new ScriptField_atan2_f32_3_in(mRS, INPUTSIZE);
126 ScriptField_atan2_f32_4_in in = new ScriptField_atan2_f32_4_in(mRS, INPUTSIZE);
132 ScriptField_atan2_f32_4_in in = new ScriptField_atan2_f32_4_in(mRS, INPUTSIZE);
CopysignTest.java 94 ScriptField_copysign_f32_input in = new ScriptField_copysign_f32_input(mRS, INPUTSIZE);
100 ScriptField_copysign_f32_input in = new ScriptField_copysign_f32_input(mRS, INPUTSIZE);
109 ScriptField_copysign_f32_2_input in = new ScriptField_copysign_f32_2_input(mRS, INPUTSIZE);
115 ScriptField_copysign_f32_2_input in = new ScriptField_copysign_f32_2_input(mRS, INPUTSIZE);
124 ScriptField_copysign_f32_3_input in = new ScriptField_copysign_f32_3_input(mRS, INPUTSIZE);
130 ScriptField_copysign_f32_3_input in = new ScriptField_copysign_f32_3_input(mRS, INPUTSIZE);
139 ScriptField_copysign_f32_4_input in = new ScriptField_copysign_f32_4_input(mRS, INPUTSIZE);
145 ScriptField_copysign_f32_4_input in = new ScriptField_copysign_f32_4_input(mRS, INPUTSIZE);
FdimTest.java 89 ScriptField_fdim_f32_input floatArray = new ScriptField_fdim_f32_input(mRS, INPUTSIZE);
95 ScriptField_fdim_f32_input floatArray = new ScriptField_fdim_f32_input(mRS, INPUTSIZE);
101 ScriptField_fdim_f32_2_input floatArray = new ScriptField_fdim_f32_2_input(mRS, INPUTSIZE);
107 ScriptField_fdim_f32_2_input floatArray = new ScriptField_fdim_f32_2_input(mRS, INPUTSIZE);
113 ScriptField_fdim_f32_3_input floatArray = new ScriptField_fdim_f32_3_input(mRS, INPUTSIZE);
119 ScriptField_fdim_f32_3_input floatArray = new ScriptField_fdim_f32_3_input(mRS, INPUTSIZE);
125 ScriptField_fdim_f32_4_input floatArray = new ScriptField_fdim_f32_4_input(mRS, INPUTSIZE);
131 ScriptField_fdim_f32_4_input floatArray = new ScriptField_fdim_f32_4_input(mRS, INPUTSIZE);
FmaTest.java 90 ScriptField_Floats floatArray = new ScriptField_Floats(mRS, INPUTSIZE);
96 ScriptField_Floats floatArray = new ScriptField_Floats(mRS, INPUTSIZE);
102 ScriptField_Floats2 floatArray = new ScriptField_Floats2(mRS, INPUTSIZE);
108 ScriptField_Floats2 floatArray = new ScriptField_Floats2(mRS, INPUTSIZE);
114 ScriptField_Floats3 floatArray = new ScriptField_Floats3(mRS, INPUTSIZE);
120 ScriptField_Floats3 floatArray = new ScriptField_Floats3(mRS, INPUTSIZE);
126 ScriptField_Floats4 floatArray = new ScriptField_Floats4(mRS, INPUTSIZE);
132 ScriptField_Floats4 floatArray = new ScriptField_Floats4(mRS, INPUTSIZE);
FmaxTest.java 89 ScriptField_fmax_f32_in in = new ScriptField_fmax_f32_in(mRS, INPUTSIZE);
95 ScriptField_fmax_f32_in in = new ScriptField_fmax_f32_in(mRS, INPUTSIZE);
101 ScriptField_fmax_f32_2_in in = new ScriptField_fmax_f32_2_in(mRS, INPUTSIZE);
107 ScriptField_fmax_f32_2_in in = new ScriptField_fmax_f32_2_in(mRS, INPUTSIZE);
113 ScriptField_fmax_f32_3_in in = new ScriptField_fmax_f32_3_in(mRS, INPUTSIZE);
119 ScriptField_fmax_f32_3_in in = new ScriptField_fmax_f32_3_in(mRS, INPUTSIZE);
125 ScriptField_fmax_f32_4_in in = new ScriptField_fmax_f32_4_in(mRS, INPUTSIZE);
131 ScriptField_fmax_f32_4_in in = new ScriptField_fmax_f32_4_in(mRS, INPUTSIZE);
FminTest.java 89 ScriptField_fmin_f32_in in = new ScriptField_fmin_f32_in(mRS, INPUTSIZE);
95 ScriptField_fmin_f32_in in = new ScriptField_fmin_f32_in(mRS, INPUTSIZE);
101 ScriptField_fmin_f32_2_in in = new ScriptField_fmin_f32_2_in(mRS, INPUTSIZE);
107 ScriptField_fmin_f32_2_in in = new ScriptField_fmin_f32_2_in(mRS, INPUTSIZE);
113 ScriptField_fmin_f32_3_in in = new ScriptField_fmin_f32_3_in(mRS, INPUTSIZE);
119 ScriptField_fmin_f32_3_in in = new ScriptField_fmin_f32_3_in(mRS, INPUTSIZE);
125 ScriptField_fmin_f32_4_in in = new ScriptField_fmin_f32_4_in(mRS, INPUTSIZE);
131 ScriptField_fmin_f32_4_in in = new ScriptField_fmin_f32_4_in(mRS, INPUTSIZE);
FmodTest.java 93 ScriptField_fmod_input_f32 floatArray = new ScriptField_fmod_input_f32(mRS, INPUTSIZE);
99 ScriptField_fmod_input_f32 floatArray = new ScriptField_fmod_input_f32(mRS, INPUTSIZE);
108 ScriptField_fmod_input_f32_2 floatArray = new ScriptField_fmod_input_f32_2(mRS, INPUTSIZE);
114 ScriptField_fmod_input_f32_2 floatArray = new ScriptField_fmod_input_f32_2(mRS, INPUTSIZE);
123 ScriptField_fmod_input_f32_3 floatArray = new ScriptField_fmod_input_f32_3(mRS, INPUTSIZE);
129 ScriptField_fmod_input_f32_3 floatArray = new ScriptField_fmod_input_f32_3(mRS, INPUTSIZE);
138 ScriptField_fmod_input_f32_4 floatArray = new ScriptField_fmod_input_f32_4(mRS, INPUTSIZE);
144 ScriptField_fmod_input_f32_4 floatArray = new ScriptField_fmod_input_f32_4(mRS, INPUTSIZE);
HypotTest.java 90 ScriptField_hypot_f32_in in = new ScriptField_hypot_f32_in(mRS, INPUTSIZE);
96 ScriptField_hypot_f32_in in = new ScriptField_hypot_f32_in(mRS, INPUTSIZE);
102 ScriptField_hypot_f32_2_in in = new ScriptField_hypot_f32_2_in(mRS, INPUTSIZE);
108 ScriptField_hypot_f32_2_in in = new ScriptField_hypot_f32_2_in(mRS, INPUTSIZE);
114 ScriptField_hypot_f32_3_in in = new ScriptField_hypot_f32_3_in(mRS, INPUTSIZE);
120 ScriptField_hypot_f32_3_in in = new ScriptField_hypot_f32_3_in(mRS, INPUTSIZE);
126 ScriptField_hypot_f32_4_in in = new ScriptField_hypot_f32_4_in(mRS, INPUTSIZE);
132 ScriptField_hypot_f32_4_in in = new ScriptField_hypot_f32_4_in(mRS, INPUTSIZE);
MadTest.java 90 ScriptField_mad_input_f32 in = new ScriptField_mad_input_f32(mRS, INPUTSIZE);
96 ScriptField_mad_input_f32 in = new ScriptField_mad_input_f32(mRS, INPUTSIZE);
102 ScriptField_mad_input_f32_2 in = new ScriptField_mad_input_f32_2(mRS, INPUTSIZE);
108 ScriptField_mad_input_f32_2 in = new ScriptField_mad_input_f32_2(mRS, INPUTSIZE);
114 ScriptField_mad_input_f32_3 in = new ScriptField_mad_input_f32_3(mRS, INPUTSIZE);
120 ScriptField_mad_input_f32_3 in = new ScriptField_mad_input_f32_3(mRS, INPUTSIZE);
126 ScriptField_mad_input_f32_4 in = new ScriptField_mad_input_f32_4(mRS, INPUTSIZE);
132 ScriptField_mad_input_f32_4 in = new ScriptField_mad_input_f32_4(mRS, INPUTSIZE);
NextafterTest.java 90 ScriptField_InputData inputDataArray = new ScriptField_InputData(mRS, INPUTSIZE);
96 ScriptField_InputData inputDataArray = new ScriptField_InputData(mRS, INPUTSIZE);
102 ScriptField_InputData_2 inputDataArray = new ScriptField_InputData_2(mRS, INPUTSIZE);
108 ScriptField_InputData_2 inputDataArray = new ScriptField_InputData_2(mRS, INPUTSIZE);
114 ScriptField_InputData_3 inputDataArray = new ScriptField_InputData_3(mRS, INPUTSIZE);
120 ScriptField_InputData_3 inputDataArray = new ScriptField_InputData_3(mRS, INPUTSIZE);
126 ScriptField_InputData_4 inputDataArray = new ScriptField_InputData_4(mRS, INPUTSIZE);
132 ScriptField_InputData_4 inputDataArray = new ScriptField_InputData_4(mRS, INPUTSIZE);
RemainderTest.java 92 ScriptField_remainder_f32 in = new ScriptField_remainder_f32(mRS, INPUTSIZE);
98 ScriptField_remainder_f32 in = new ScriptField_remainder_f32(mRS, INPUTSIZE);
104 ScriptField_remainder_f32_2 in = new ScriptField_remainder_f32_2(mRS, INPUTSIZE);
110 ScriptField_remainder_f32_2 in = new ScriptField_remainder_f32_2(mRS, INPUTSIZE);
116 ScriptField_remainder_f32_3 in = new ScriptField_remainder_f32_3(mRS, INPUTSIZE);
122 ScriptField_remainder_f32_3 in = new ScriptField_remainder_f32_3(mRS, INPUTSIZE);
128 ScriptField_remainder_f32_4 in = new ScriptField_remainder_f32_4(mRS, INPUTSIZE);
134 ScriptField_remainder_f32_4 in = new ScriptField_remainder_f32_4(mRS, INPUTSIZE);
StepTest.java 89 ScriptField_step_input in = new ScriptField_step_input(mRS, INPUTSIZE);
95 ScriptField_step_input in = new ScriptField_step_input(mRS, INPUTSIZE);
101 ScriptField_step_2_input in = new ScriptField_step_2_input(mRS, INPUTSIZE);
107 ScriptField_step_2_input in = new ScriptField_step_2_input(mRS, INPUTSIZE);
113 ScriptField_step_3_input in = new ScriptField_step_3_input(mRS, INPUTSIZE);
119 ScriptField_step_3_input in = new ScriptField_step_3_input(mRS, INPUTSIZE);
125 ScriptField_step_4_input in = new ScriptField_step_4_input(mRS, INPUTSIZE);
131 ScriptField_step_4_input in = new ScriptField_step_4_input(mRS, INPUTSIZE);
GetAllocationTest.java 29 int[] tempArray = new int[INPUTSIZE];
30 for (int i = 0; i < INPUTSIZE; ++i) {
36 Allocation mTemp = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE);
45 int [] out = new int[INPUTSIZE];
PowTest.java 96 ScriptField_PowInputData in = new ScriptField_PowInputData(mRS, INPUTSIZE);
102 ScriptField_PowInputData in = new ScriptField_PowInputData(mRS, INPUTSIZE);
108 ScriptField_PowInputData_2 in = new ScriptField_PowInputData_2(mRS, INPUTSIZE);
114 ScriptField_PowInputData_2 in = new ScriptField_PowInputData_2(mRS, INPUTSIZE);
120 ScriptField_PowInputData_3 in = new ScriptField_PowInputData_3(mRS, INPUTSIZE);
126 ScriptField_PowInputData_3 in = new ScriptField_PowInputData_3(mRS, INPUTSIZE);
132 ScriptField_PowInputData_4 in = new ScriptField_PowInputData_4(mRS, INPUTSIZE);
138 ScriptField_PowInputData_4 in = new ScriptField_PowInputData_4(mRS, INPUTSIZE);
PowrTest.java 96 ScriptField_PowInputData in = new ScriptField_PowInputData(mRS, INPUTSIZE);
102 ScriptField_PowInputData in = new ScriptField_PowInputData(mRS, INPUTSIZE);
108 ScriptField_PowInputData_2 in = new ScriptField_PowInputData_2(mRS, INPUTSIZE);
114 ScriptField_PowInputData_2 in = new ScriptField_PowInputData_2(mRS, INPUTSIZE);
120 ScriptField_PowInputData_3 in = new ScriptField_PowInputData_3(mRS, INPUTSIZE);
126 ScriptField_PowInputData_3 in = new ScriptField_PowInputData_3(mRS, INPUTSIZE);
132 ScriptField_PowInputData_4 in = new ScriptField_PowInputData_4(mRS, INPUTSIZE);
138 ScriptField_PowInputData_4 in = new ScriptField_PowInputData_4(mRS, INPUTSIZE);
RSBaseCompute.java 40 protected int INPUTSIZE = 512;
91 float[] inArray = makeInArray(INPUTSIZE * inStride);
93 float[] refArray = getRefArray(inArray, INPUTSIZE, inStride, skip);
105 float[] outArray = makeOutArray(INPUTSIZE * outStride);
107 checkArray(refArray, outArray, INPUTSIZE, refStride, outStride, ulp);
161 return Allocation.createSized(mRS, e, INPUTSIZE);
165 return Allocation.createSized(mRS, e, INPUTSIZE);
181 mIn.copy1DRangeFromUnchecked(0, INPUTSIZE, inArray);
CrossTest.java 84 ScriptField__cross_f32_3_struct in = new ScriptField__cross_f32_3_struct(mRS, INPUTSIZE);
92 ScriptField__cross_f32_3_struct in = new ScriptField__cross_f32_3_struct(mRS, INPUTSIZE);
103 ScriptField__cross_f32_4_struct in = new ScriptField__cross_f32_4_struct(mRS, INPUTSIZE);
111 ScriptField__cross_f32_4_struct in = new ScriptField__cross_f32_4_struct(mRS, INPUTSIZE);

Completed in 108 milliseconds