/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | IntrinsicConvolve3x3.java | 23 …private void testConvolve3(int w, int h, Element.DataType dt, int vecSize, Script.LaunchOptions sc… in testConvolve3() argument 31 Element e = makeElement(dt, vecSize); in testConvolve3() 55 switch(vecSize) { in testConvolve3() 70 switch(vecSize) { in testConvolve3() 93 switch(vecSize) { in testConvolve3() 108 switch(vecSize) { in testConvolve3() 130 switch(vecSize) { in testConvolve3() 145 switch(vecSize) { in testConvolve3()
|
D | single_source_alloc.rs | 88 switch (vecSize) { \ 117 if (vecSize == 1) rsForEach(verify_##CT, gAlloc); \ 118 else if (vecSize == 2) rsForEach(verify_##CT##2, gAlloc); \ 119 else if (vecSize == 3) rsForEach(verify_##CT##3, gAlloc); \ 120 else if (vecSize == 4) rsForEach(verify_##CT##4, gAlloc); \ 134 static void CreateAndTestAlloc(rs_data_type dt, int vecSize, int dimX, int dimY, int dimZ) { 152 if (vecSize == 1) 155 element = rsCreateVectorElement((rs_data_type) dt, vecSize); 244 for (int vecSize = 1; vecSize <= 4; vecSize ++) { 248 CreateAndTestAlloc(all_types[i], vecSize, gDimX, dimY, dimZ);
|
D | IntrinsicBase.java | 61 protected Element makeElement(Element.DataType dt, int vecSize) { in makeElement() argument 63 if (vecSize > 1) { in makeElement() 64 e = Element.createVector(mRS, dt, vecSize); in makeElement()
|
D | IntrinsicConvolve5x5.java | 76 …private void testConvolve5(int w, int h, Element.DataType dt, int vecSize, Script.LaunchOptions sc… in testConvolve5() argument 96 Element e = makeElement(dt, vecSize); in testConvolve5()
|
D | IntrinsicResize.java | 27 …private void testResize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY… in testResize() argument 29 Element e = makeElement(dt, vecSize); in testResize() 56 switch(vecSize) { in testResize() 71 switch(vecSize) { in testResize()
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | RSCppTest.java | 77 protected Element makeElement(Element.DataType dt, int vecSize) { in makeElement() argument 79 if (vecSize > 1) { in makeElement() 80 e = Element.createVector(mRS, dt, vecSize); in makeElement()
|
D | RSResizeTest.java | 35 boolean useByte, int vecSize, byte[] inB, byte[] outB, in resizeTest() argument 37 …private void testResize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY… in testResize() argument 44 Element e = makeElement(dt, vecSize); in testResize() 47 int arrSize = w * h * (vecSize == 3 ? 4 : vecSize); in testResize() 78 int outArrSize = outW * outH * (vecSize == 3 ? 4 : vecSize); in testResize() 82 useByte, vecSize, byteAlloc, nativeByteAlloc, floatAlloc, nativeFloatAlloc); in testResize() local
|
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni.cpp | 53 sp<const Element> makeElement(const sp<RS> &rs, RsDataType dt, int vecSize) { in makeElement() argument 54 if (vecSize > 1) { in makeElement() 55 return Element::createVector(rs, dt, vecSize); in makeElement() 393 jint vecSize, in Java_android_cts_rscpp_RSResizeTest_resizeTest() argument 409 sp<const Element> e = makeElement(rs, dt, vecSize); in Java_android_cts_rscpp_RSResizeTest_resizeTest()
|
D | rs_jni_allocation.cpp | 125 static sp<const Element> makeElement(const sp<RS> &rs, RsDataType dt, int vecSize) { in makeElement() argument 126 if (vecSize > 1) { in makeElement() 127 return Element::createVector(rs, dt, vecSize); in makeElement()
|