Home
last modified time | relevance | path

Searched refs:vecSize (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DIntrinsicConvolve3x3.java23 …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()
Dsingle_source_alloc.rs88 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);
DIntrinsicBase.java61 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()
DIntrinsicConvolve5x5.java76 …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()
DIntrinsicResize.java27 …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/
DRSCppTest.java77 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()
DRSResizeTest.java35 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/
Drs_jni.cpp53 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()
Drs_jni_allocation.cpp125 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()