Searched refs:mVectorSize (Results 1 – 13 of 13) sorted by relevance
/frameworks/rs/ |
D | rsComponent.cpp | 33 mVectorSize = vecSize; in set() 46 rsAssert(mVectorSize == 1); in set() 51 rsAssert(mVectorSize == 2); in set() 56 rsAssert(mVectorSize == 3); in set() 61 rsAssert(mVectorSize == 4); in set() 66 rsAssert(mVectorSize == 1); in set() 79 mVectorSize = 3; in set() 85 mVectorSize = 4; in set() 91 mVectorSize = 4; in set() 99 rsAssert(mVectorSize == 1); in set() [all …]
|
D | rsComponent.h | 41 uint32_t getVectorSize() const {return mVectorSize;} in getVectorSize() 57 uint32_t mVectorSize; variable
|
D | rs.spec | 150 param uint32_t mVectorSize
|
D | rsApiStubs.cpp | 285 bool mNormalized, uint32_t mVectorSize) in rsElementCreate() argument 287 return RS_DISPATCH(ctxWrapper, ElementCreate, mType, mKind, mNormalized, mVectorSize); in rsElementCreate()
|
D | rsApiStubs.h | 48 …Create (RsContext rsc, RsDataType mType, RsDataKind mKind, bool mNormalized, uint32_t mVectorSize);
|
/frameworks/rs/script_api/ |
D | GenerateTestFiles.cpp | 209 if (p->mVectorSize != "1") { in PermutationWriter() 254 bool isFieldArray = !scalar && p->mVectorSize != "1"; in writeJavaArgumentClass() 416 if (p->mVectorSize != "1" && p->mVectorSize != vectorSize) { in writeJavaVerifyScalarMethod() 418 vectorSize = p->mVectorSize; in writeJavaVerifyScalarMethod() 420 cerr << "Error. Had vector " << vectorSize << " and " << p->mVectorSize << "\n"; in writeJavaVerifyScalarMethod() 552 if (p->mVectorSize != "1") { in writeJavaVerifyVectorMethod() 558 << p->mVectorSize << "];\n"; in writeJavaVerifyVectorMethod() 561 << p->mVectorSize << "];\n"; in writeJavaVerifyVectorMethod() 569 if (p->mVectorSize == "1") { in writeJavaVerifyVectorMethod() 580 mJava->indent() << "for (int j = 0; j < " << p->mVectorSize << " ; j++)"; in writeJavaVerifyVectorMethod() [all …]
|
D | Specification.cpp | 148 getVectorSizeAndBaseType(rsType, mVectorSize, rsBaseType); in parseParameterDefinition() 151 if (mVectorSize == "3") { in parseParameterDefinition() 154 vectorWidth = mVectorSize; in parseParameterDefinition()
|
D | GenerateStubsWhiteList.cpp | 307 string vectorSize = p->mVectorSize; in writeParameters()
|
D | Specification.h | 88 std::string mVectorSize; member
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Element.java | 72 int mVectorSize; field in Element 110 return mVectorSize; in getVectorSize() 720 mVectorSize = 1; in Element() 750 mVectorSize = size; in Element() 762 return mRS.nIncElementCreate(mType.mID, mKind.mID, mNormalized, mVectorSize); in getDummyElement() 909 (mVectorSize == e.mVectorSize)); in isCompatible() 960 if (element.mVectorSize == 3) { in add()
|
/frameworks/rs/cpp/ |
D | Element.cpp | 184 mVectorSize = 1; in Element() 292 mVectorSize = size; in Element() 405 (mVectorSize == e->mVectorSize)); in isCompatible() 445 if (e->mVectorSize == 3) { in add()
|
D | rsCppStructs.h | 999 return mVectorSize; in getVectorSize() 1451 size_t mVectorSize; variable
|
/frameworks/base/rs/java/android/renderscript/ |
D | Element.java | 67 int mVectorSize; field in Element 102 public int getVectorSize() {return mVectorSize;} in getVectorSize() 1064 mVectorSize = 1; in Element() 1094 mVectorSize = size; in Element() 1110 mVectorSize = dataBuffer[3]; in updateFromNative() 1115 mSize = mType.mSize * mVectorSize; in updateFromNative() 1293 (mVectorSize == e.mVectorSize)); in isCompatible() 1343 if (element.mVectorSize == 3) { in add()
|