Home
last modified time | relevance | path

Searched refs:mVectorSize (Results 1 – 13 of 13) sorted by relevance

/frameworks/rs/
DrsComponent.cpp33 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 …]
DrsComponent.h41 uint32_t getVectorSize() const {return mVectorSize;} in getVectorSize()
57 uint32_t mVectorSize; variable
Drs.spec150 param uint32_t mVectorSize
DrsApiStubs.cpp285 bool mNormalized, uint32_t mVectorSize) in rsElementCreate() argument
287 return RS_DISPATCH(ctxWrapper, ElementCreate, mType, mKind, mNormalized, mVectorSize); in rsElementCreate()
DrsApiStubs.h48 …Create (RsContext rsc, RsDataType mType, RsDataKind mKind, bool mNormalized, uint32_t mVectorSize);
/frameworks/rs/script_api/
DGenerateTestFiles.cpp209 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 …]
DSpecification.cpp148 getVectorSizeAndBaseType(rsType, mVectorSize, rsBaseType); in parseParameterDefinition()
151 if (mVectorSize == "3") { in parseParameterDefinition()
154 vectorWidth = mVectorSize; in parseParameterDefinition()
DGenerateStubsWhiteList.cpp306 string vectorSize = p->mVectorSize; in writeParameters()
DSpecification.h88 std::string mVectorSize; member
/frameworks/rs/support/java/src/android/support/v8/renderscript/
DElement.java72 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/
DElement.cpp184 mVectorSize = 1; in Element()
292 mVectorSize = size; in Element()
405 (mVectorSize == e->mVectorSize)); in isCompatible()
445 if (e->mVectorSize == 3) { in add()
DrsCppStructs.h999 return mVectorSize; in getVectorSize()
1451 size_t mVectorSize; variable
/frameworks/base/rs/java/android/renderscript/
DElement.java65 int mVectorSize; field in Element
100 public int getVectorSize() {return mVectorSize;} in getVectorSize()
1062 mVectorSize = 1; in Element()
1092 mVectorSize = size; in Element()
1108 mVectorSize = dataBuffer[3]; in updateFromNative()
1113 mSize = mType.mSize * mVectorSize; in updateFromNative()
1290 (mVectorSize == e.mVectorSize)); in isCompatible()
1340 if (element.mVectorSize == 3) { in add()