/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_single_source_alloc.java | 58 for (int vecSize = 1; vecSize <= 4; vecSize ++) { 61 s.invoke_CreateAndTestAlloc(dataType, vecSize);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
IntrinsicConvolve3x3.java | 23 private void testConvolve3(int w, int h, Element.DataType dt, int vecSize, Script.LaunchOptions sc) { 31 Element e = makeElement(dt, vecSize); 55 switch(vecSize) { 70 switch(vecSize) { 86 //android.util.Log.e("RSI test", "test convolve U8_" + vecSize + " 1 " + w + ", " + h); 93 switch(vecSize) { 108 switch(vecSize) { 123 //android.util.Log.e("RSI test", "test convolve U8_" + vecSize + " 2 " + w + ", " + h); 130 switch(vecSize) { 145 switch(vecSize) { [all...] |
single_source_alloc.rs | 73 // vecSize, gAlloc, val, x, y, z 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 ++) [all...] |
IntrinsicBase.java | 49 protected Element makeElement(Element.DataType dt, int vecSize) { 51 if (vecSize > 1) { 52 e = Element.createVector(mRS, dt, vecSize);
|
IntrinsicConvolve5x5.java | 76 private void testConvolve5(int w, int h, Element.DataType dt, int vecSize, Script.LaunchOptions sc) { 96 Element e = makeElement(dt, vecSize);
|
/external/eigen/Eigen/src/Core/ |
MapBase.h | 132 inline MapBase(PointerType dataPtr, Index vecSize) 134 m_rows(RowsAtCompileTime == Dynamic ? vecSize : Index(RowsAtCompileTime)), 135 m_cols(ColsAtCompileTime == Dynamic ? vecSize : Index(ColsAtCompileTime)) 138 eigen_assert(vecSize >= 0); 139 eigen_assert(dataPtr == 0 || SizeAtCompileTime == Dynamic || SizeAtCompileTime == vecSize); 229 inline MapBase(PointerType dataPtr, Index vecSize) : Base(dataPtr, vecSize) {}
|
/external/opencv3/apps/traincascade/ |
imagestorage.cpp | 137 fread( &vecSize, sizeof( vecSize ), 1, file ) != 1 || 141 base = sizeof( count ) + sizeof( vecSize ) + 2*sizeof( tmp ); 145 vec = (short*) cvAlloc( sizeof( *vec ) * vecSize ); 152 CV_Assert( _img.rows * _img.cols == vecSize ); 158 elements_read = fread( vec, sizeof( vec[0] ), vecSize, file ); 159 if( elements_read != (size_t)(vecSize) )
|
imagestorage.h | 26 int vecSize;
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSCppTest.java | 77 protected Element makeElement(Element.DataType dt, int vecSize) { 79 if (vecSize > 1) { 80 e = Element.createVector(mRS, dt, vecSize);
|
RSResizeTest.java | 35 boolean useByte, int vecSize, byte[] inB, byte[] outB, 37 private void testResize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY) { 44 Element e = makeElement(dt, vecSize); 47 int arrSize = w * h * (vecSize == 3 ? 4 : vecSize); 78 int outArrSize = outW * outH * (vecSize == 3 ? 4 : vecSize); 82 useByte, vecSize, byteAlloc, nativeByteAlloc, floatAlloc, nativeFloatAlloc);
|
/frameworks/rs/ |
rsComponent.h | 34 void set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize=1);
|
rsComponent.cpp | 29 void Component::set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) { 33 mVectorSize = vecSize; 34 rsAssert(vecSize <= 4);
|
rsElement.h | 107 uint32_t vecSize); 118 uint32_t vecSize) { 119 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize);
|
rsElement.cpp | 231 bool isNorm, uint32_t vecSize) { 241 (ee->getComponent().getVectorSize() == vecSize)) { 259 e->mComponent.set(dt, dk, isNorm, vecSize); 419 uint32_t vecSize) { 420 return (RsElement)Element::create(rsc, dt, dk, norm, vecSize);
|
/external/deqp/framework/opengl/ |
gluShaderUtil.cpp | 544 DataType getDataTypeFloatVec (int vecSize) 546 return getDataTypeVector(TYPE_FLOAT, vecSize); 549 DataType getDataTypeIntVec (int vecSize) 551 return getDataTypeVector(TYPE_INT, vecSize); 554 DataType getDataTypeUintVec (int vecSize) 556 return getDataTypeVector(TYPE_UINT, vecSize); 559 DataType getDataTypeBoolVec (int vecSize) 561 return getDataTypeVector(TYPE_BOOL, vecSize);
|
gluShaderUtil.hpp | 201 DataType getDataTypeFloatVec (int vecSize); 202 DataType getDataTypeIntVec (int vecSize); 203 DataType getDataTypeUintVec (int vecSize); 204 DataType getDataTypeBoolVec (int vecSize);
|
/external/deqp/modules/glshared/ |
glsShaderExecUtil.cpp | 119 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); 120 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; 157 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); 158 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; 198 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); 199 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; 237 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()) [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderDerivateTests.cpp | [all...] |
es3fShaderCommonFunctionTests.cpp | 792 const int vecSize = glu::getDataTypeScalarSize(baseType); 793 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; 873 const int vecSize = glu::getDataTypeScalarSize(baseType); 874 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; 952 const int vecSize = glu::getDataTypeScalarSize(baseType); 953 const glu::DataType intType = outIsSigned ? (vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT) 954 : (vecSize > 1 ? glu::getDataTypeUintVec(vecSize) : glu::TYPE_UINT) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fShaderCommonFunctionTests.cpp | 870 const int vecSize = glu::getDataTypeScalarSize(baseType); 871 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; 953 const int vecSize = glu::getDataTypeScalarSize(baseType); 954 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; [all...] |
es31fShaderIntegerFunctionTests.cpp | 918 const int vecSize = glu::getDataTypeScalarSize(baseType); 919 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); [all...] |
/cts/tests/tests/rscpp/librscpptest/ |
rs_jni.cpp | 53 sp<const Element> makeElement(sp<RS> rs, RsDataType dt, int vecSize) { 54 if (vecSize > 1) { 55 return Element::createVector(rs, dt, vecSize); 393 jint vecSize, 409 sp<const Element> e = makeElement(rs, dt, vecSize);
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderCommonFunctionTests.cpp | 427 for (int vecSize = 1; vecSize <= 4; vecSize++) 434 group->addChild(new TestClass(parent->getTestContext(), glu::DataType(scalarType + vecSize - 1), glu::Precision(prec), glu::ShaderType(shaderTypeNdx))); [all...] |
vktShaderIntegerFunctionTests.cpp | 295 for (int vecSize = 1; vecSize <= 4; vecSize++) 305 group->addChild(new TestClass(parent->getTestContext(), glu::DataType(scalarType + vecSize - 1), glu::Precision(prec), glu::ShaderType(shaderTypeNdx))); [all...] |
vktShaderExecutor.cpp | 153 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); 154 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; 191 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); 192 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; 224 const int vecSize = glu::getDataTypeScalarSize(output.varType.getBasicType()); 225 const glu::DataType uintBasicType = vecSize > 1 ? glu::getDataTypeUintVec(vecSize) : glu::TYPE_UINT; 233 const int vecSize = glu::getDataTypeScalarSize(output.varType.getBasicType()) [all...] |