Searched refs:input (Results 1 - 25 of 431) sorted by last modified time

1234567891011>>

/frameworks/support/v4/java/android/support/v4/view/animation/
H A DLookupTableInterpolator.java23 * given input.
36 public float getInterpolation(float input) { argument
37 if (input >= 1.0f) {
40 if (input <= 0f) {
46 int position = Math.min((int) (input * (mValues.length - 1)), mValues.length - 2);
50 float diff = input - quantized;
/frameworks/rs/api/
H A DGenerateDocumentation.cpp67 // If prefix starts input, copy it to stream and remove it from input.
68 static void skipPrefix(ostringstream* stream, string* input, const string& prefix) { argument
70 if (input->compare(0, size, prefix) != 0) {
73 input->erase(0, size);
H A DSpecification.cpp76 static vector<string> convertToTypeVector(const string& input) { argument
79 stringstream stream(input);
803 cerr << "Error opening input file: " << mSpecFileName << "\n";
H A Drs_convert.spec106 The input values are typically between 0.0f and 1.0f inclusive. For input values outside
108 clamping may be done after the input is multiplied by 255.f and converted to an integer,
109 input numbers greater than INT_MAX/255.f or less than INT_MIN/255.f result in
H A Drs_for_each.spec99 arg: rs_allocation input, "Allocation to source data from."
105 Runs the kernel over zero or more input allocations. They are passed after the
107 must be specified as the last argument. All input allocations,
111 the work has completed for all cells of the input allocations. If the kernel
116 "root" in the specified script, and only a single input allocation can be used.
120 input can be used.
138 arg: rs_allocation input
148 arg: rs_allocation input
160 arg: rs_allocation input
171 arg: rs_allocation input
[all...]
H A Drs_graphics.spec262 The Allocation must be a valid constant input for the Program.
H A Drs_math.spec21 to vectors, the returned value is a vector of the function applied to each entry of the input.
33 instead the input as a single vector in n-dimensional space.
45 infinity input may not be handled correctly.</li>
1747 Both components will have the same sign as x. For example, for an input of -3.72f,
1796 This function yields undefined results from input values less than -1 or greater than 1.
1852 This function yields undefined results from input values less than -1 or greater than 1.
1881 This function yields undefined results from input values less than -1 or greater than 1.
1937 This function yields undefined results from input values less than -1 or greater than 1.
2747 In rs_fp_relaxed mode, a denormalized input value may not yield the next denormalized
H A Drs_vector_math.spec20 These functions interpret the input arguments as representation of vectors in
31 infinity input may not be handled correctly.</li>
/frameworks/rs/cpu_ref/
H A DrsCpuScriptGroup2.cpp137 // (1st) input and output.
276 for (const char* input : inputs) {
277 args->push_back(input);
465 // Fuse the input kernels and generate native code in an object file
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A DMainActivity.java234 InputStream input = null;
236 input = getContentResolver().openInputStream(data);
237 mDisplayedImage = BitmapFactory.decodeStream(input);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_reduce.java89 private int addint(int[] input) { argument
91 for (int idx = 0; idx < input.length; ++idx)
92 rslt += input[idx];
97 final int[] input = createInputArrayInt(100000, 0, 1 << 13);
99 final int javaRslt = addint(input);
100 final int rsRslt = s.reduce_addint(input).get();
122 private Int2 findMinAndMax(float[] input) { argument
128 for (int idx = 0; idx < input.length; ++idx) {
129 if (input[idx] < minVal) {
130 minVal = input[id
[all...]
H A DUT_reduce_backward.java89 private int addint(int[] input) { argument
91 for (int idx = 0; idx < input.length; ++idx)
92 rslt += input[idx];
97 final int[] input = createInputArrayInt(100000, 0, 1 << 13);
99 final int javaRslt = addint(input);
100 final int rsRslt = s.reduce_addint(input).get();
122 private Int2 findMinAndMax(float[] input) { argument
128 for (int idx = 0; idx < input.length; ++idx) {
129 if (input[idx] < minVal) {
130 minVal = input[id
[all...]
H A DUT_script_group2_float.java48 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE);
49 input.copyFrom(array);
78 ((Allocation)group.execute(input)[0]).copyTo(a);
H A DUT_script_group2_gatherscatter.java53 // The test sums up all elements in the input int4 array of size ARRAY_SIZE.
59 // same kernel function, with the input of one kernel being the output of
72 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE);
73 input.copyFrom(mArray);
103 ((Allocation)group.execute(input)[0]).copyTo(a);
H A DUT_script_group2_nochain.java51 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE);
52 input.copyFrom(array);
68 //input,
70 //new ScriptGroup.Binding(s_inc2.getFieldID_a(), input));
80 ((Allocation)group.execute(input)[0]).copyTo(a);
H A DUT_script_group2_pointwise.java50 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE);
51 input.copyFrom(array);
70 ((Allocation)group.execute(input)[0]).copyTo(a);
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
H A DDepthImage.java31 InputStream input = context.getContentResolver().openInputStream(data);
32 XmpDepthDecode decode = new XmpDepthDecode(input);
42 input = context.getContentResolver().openInputStream(data);
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
H A DBNNMTest.java79 private byte[] unsignedToSignedByte(int[] input) { argument
80 byte[] output = new byte[input.length];
81 for (int i = 0; i < input.length; ++i) {
82 output[i] = (byte)(input[i]);
H A DSGEMMTest.java72 private float calcL2Norm(float[] input) { argument
74 for (int i = 0; i < input.length; ++i) {
75 l2Norm += input[i] * input[i];
97 private float[] byteToFloat(byte[] input, int offset) { argument
98 float[] output = new float[input.length];
99 for (int i = 0; i < input.length; ++i) {
100 output[i] = (float)(input[i] - offset);
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DViewfinderProcessor.java86 public ProcessingTask(Allocation input) { argument
87 mInputAllocation = input;
111 // Get to newest input
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_reduce.java55 for (Allocation input : myInputs)
56 inputBytes += input.getBytesSize();
148 private long[] intArrayToLong(final int[] input) { argument
149 final long[] output = new long[input.length];
151 for (int i = 0; i < input.length; ++i)
152 output[i] = input[i];
242 private int addint(int[] input) { argument
244 for (int idx = 0; idx < input.length; ++idx)
245 rslt += input[idx];
250 final int[] input
384 sillySumIntoDecArray(final int[] input) argument
392 sillySumIntoIncArray(final int[] input) argument
423 findMinAndMax(float[] input) argument
509 run(Allocation input) argument
556 fz(final int[] input) argument
[all...]
H A DUT_reduce_backward.java99 private int addint(int[] input) { argument
101 for (int idx = 0; idx < input.length; ++idx)
102 rslt += input[idx];
107 final int[] input = createInputArrayInt(100000, 0, 1 << 13);
109 final int javaRslt = addint(input);
110 final int rsRslt = s.reduce_addint(input).get();
132 private Int2 findMinAndMax(float[] input) { argument
138 for (int idx = 0; idx < input.length; ++idx) {
139 if (input[idx] < minVal) {
140 minVal = input[id
[all...]
H A DUT_script_group2_float.java48 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE);
49 input.copyFrom(array);
78 ((Allocation)group.execute(input)[0]).copyTo(a);
H A DUT_script_group2_gatherscatter.java51 // The test sums up all elements in the input int4 array of size ARRAY_SIZE.
57 // same kernel function, with the input of one kernel being the output of
70 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE);
71 input.copyFrom(mArray);
101 ((Allocation)group.execute(input)[0]).copyTo(a);
H A DUT_script_group2_nochain.java49 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE);
50 input.copyFrom(array);
75 ((Allocation)group.execute(input)[0]).copyTo(a);

Completed in 504 milliseconds

1234567891011>>