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

1 2 3

  /frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
UT_single_source_alloc.java 68 for (int vecSize = 1; vecSize <= 4; vecSize++) {
71 s.invoke_CreateAndTestAlloc(dataType.Value(), vecSize);
single_source_alloc.rs 83 // vecSize, gAlloc, val, x, y, z
98 switch (vecSize) { \
127 if (vecSize == 1) rsForEach(verify_##CT, gAlloc, gAlloc); \
128 else if (vecSize == 2) rsForEach(verify_##CT##2, gAlloc, gAlloc); \
129 else if (vecSize == 3) rsForEach(verify_##CT##3, gAlloc, gAlloc); \
130 else if (vecSize == 4) rsForEach(verify_##CT##4, gAlloc, gAlloc); \
133 void CreateAndTestAlloc(int dataType, int vecSize) {
150 if (vecSize == 1)
153 element = rsCreateVectorElement((rs_data_type) dt, vecSize);
  /frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
UT_single_source_alloc.java 70 for (int vecSize = 1; vecSize <= 4; vecSize++) {
73 s.invoke_CreateAndTestAlloc(dataType.Value(), vecSize);
  /hardware/interfaces/automotive/vehicle/2.0/default/common/src/
VehicleObjectPool.cpp 32 VehiclePropertyType type, size_t vecSize) {
33 return isDisposable(type, vecSize)
34 ? obtainDisposable(type, vecSize)
35 : obtainRecylable(type, vecSize);
45 size_t vecSize = getVehicleRawValueVectorSize(src.value, type);;
46 auto dest = obtain(type, vecSize);
89 VehiclePropertyType type, size_t vecSize) {
92 | static_cast<int32_t>(vecSize);
98 auto newPool(std::make_unique<InternalPool>(type, vecSize));
VehicleUtils.cpp 32 VehiclePropertyType type, size_t vecSize) {
38 val->value.int32Values.resize(vecSize);
42 val->value.floatValues.resize(vecSize);
45 val->value.int64Values.resize(vecSize);
48 val->value.bytes.resize(vecSize);
VehicleHalManager.cpp 240 auto vecSize = cv.values.size();
242 if (vecSize < kMaxHidlVecOfVehiclPropValuePoolSize) {
243 vec.setToExternal(&mHidlVecOfVehiclePropValuePool[0], vecSize);
245 vec.resize(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 61 protected Element makeElement(Element.DataType dt, int vecSize) {
63 if (vecSize > 1) {
64 e = Element.createVector(mRS, dt, vecSize);
  /external/eigen/Eigen/src/Core/
MapBase.h 157 inline MapBase(PointerType dataPtr, Index vecSize)
159 m_rows(RowsAtCompileTime == Dynamic ? vecSize : Index(RowsAtCompileTime)),
160 m_cols(ColsAtCompileTime == Dynamic ? vecSize : Index(ColsAtCompileTime))
163 eigen_assert(vecSize >= 0);
164 eigen_assert(dataPtr == 0 || SizeAtCompileTime == Dynamic || SizeAtCompileTime == vecSize);
280 EIGEN_DEVICE_FUNC inline MapBase(PointerType dataPtr, Index vecSize) : Base(dataPtr, 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 109 uint32_t vecSize);
120 uint32_t vecSize) {
121 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize);
  /hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
VehicleObjectPool.h 181 RecyclableType obtain(VehiclePropertyType type, size_t vecSize);
193 bool isDisposable(VehiclePropertyType type, size_t vecSize) const {
194 return vecSize > mMaxRecyclableVectorSize ||
202 size_t vecSize);
VehicleUtils.h 65 VehiclePropertyType type, size_t vecSize);
  /external/deqp/framework/opengl/
gluShaderUtil.cpp 718 DataType getDataTypeFloatVec (int vecSize)
720 return getDataTypeVector(TYPE_FLOAT, vecSize);
723 DataType getDataTypeIntVec (int vecSize)
725 return getDataTypeVector(TYPE_INT, vecSize);
728 DataType getDataTypeUintVec (int vecSize)
730 return getDataTypeVector(TYPE_UINT, vecSize);
733 DataType getDataTypeBoolVec (int vecSize)
735 return getDataTypeVector(TYPE_BOOL, vecSize);
gluShaderUtil.hpp 220 DataType getDataTypeFloatVec (int vecSize);
221 DataType getDataTypeIntVec (int vecSize);
222 DataType getDataTypeUintVec (int vecSize);
223 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...]
  /frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
find_region.rs 22 static rs_allocation createVectorAllocation(rs_data_type dt, int vecSize,
27 if (vecSize == 1)
30 element = rsCreateVectorElement(dt, vecSize);
  /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...]
  /packages/services/Car/service/src/com/android/car/hal/
RadioHalService.java 253 int vecSize = v.value.int32Values.size();
254 if (vecSize != 4) {
255 Log.e(TAG, "Returned a wrong array size: " + vecSize);

Completed in 914 milliseconds

1 2 3