Home
last modified time | relevance | path

Searched refs:vectorSize (Results 1 – 12 of 12) sorted by relevance

/frameworks/rs/script_api/
DGenerateRSFunctionsList.cpp96 …string> expandTypedefs(const string type, unsigned int apiLevel, int intSize, string& vectorSize) { in expandTypedefs() argument
117 istringstream vectorSizeBuf(vectorSize); in expandTypedefs()
126 vectorSize = newVectorSize; in expandTypedefs()
197 static bool mangleType(string vectorSize, list<string>* tokens, vector<string>* previousManglings, in mangleType() argument
210 } else if (vectorSize != "1" && vectorSize != "") { in mangleType()
212 delta = "Dv" + vectorSize + "_"; in mangleType()
213 vectorSize.clear(); // Reset to mark the size as consumed. in mangleType()
260 if (!mangleType(vectorSize, tokens, previousManglings, &rest, &compressedRest)) { in mangleType()
307 string vectorSize = p->mVectorSize; in writeParameters() local
308 list<string> tokens = expandTypedefs(p->rsType, apiLevel, intSize, vectorSize); in writeParameters()
[all …]
DGenerateTestFiles.cpp29 static void convertToRsType(const string& name, string* dataType, char* vectorSize) { in convertToRsType() argument
35 *vectorSize = lastChar; in convertToRsType()
37 *vectorSize = '1'; in convertToRsType()
109 char vectorSize,
113 char vectorSize,
319 char vectorSize; in writeJavaInputAllocationDefinition() local
320 convertToRsType(param.rsType, &dataType, &vectorSize); in writeJavaInputAllocationDefinition()
326 writeJavaRandomCompatibleFloatAllocation(dataType, seed, vectorSize, in writeJavaInputAllocationDefinition()
330 writeJavaRandomCompatibleIntegerAllocation(dataType, seed, vectorSize, in writeJavaInputAllocationDefinition()
336 << vectorSize << ", " << seed << ", " << param.minValue << ", " << param.maxValue in writeJavaInputAllocationDefinition()
[all …]
DSpecification.cpp118 void getVectorSizeAndBaseType(const string& type, string& vectorSize, string& baseType) { in getVectorSizeAndBaseType() argument
119 vectorSize = "1"; in getVectorSizeAndBaseType()
134 vectorSize = lastChar; in getVectorSizeAndBaseType()
DSpecification.h624 void getVectorSizeAndBaseType(const std::string& type, std::string& vectorSize,
/frameworks/base/core/java/android/transition/
DExplode.java153 double vectorSize = Math.hypot(xVector, yVector); in calculateOut() local
154 xVector /= vectorSize; in calculateOut()
155 yVector /= vectorSize; in calculateOut()
/frameworks/rs/
DrsMesh.cpp217 uint32_t vectorSize = 0; in computeBBox() local
228 vectorSize = bufferElem->getField(ct)->getComponent().getVectorSize(); in computeBBox()
254 for (uint32_t v = 0; v < vectorSize; v ++) { in computeBBox()
DrsElement.h47 uint32_t vectorSize; member
DrsElement.cpp175 mHal.state.vectorSize = mComponent.getVectorSize(); in compute()
/frameworks/rs/driver/
DrsdShader.cpp152 switch (f->mHal.state.vectorSize) { in getGLSLInputString()
177 switch (f->mHal.state.vectorSize) { in appendAttributes()
294 switch (f->mHal.state.vectorSize) { in appendUserConstants()
338 switch (field->mHal.state.vectorSize) { in logUniform()
371 switch (field->mHal.state.vectorSize) { in setUniform()
DrsdMeshObj.cpp114 mAttribs[userNum].size = f->mHal.state.vectorSize; in init()
/frameworks/rs/driver/runtime/
Drs_structs.h213 uint32_t vectorSize; member
Drs_element.c116 return element->mHal.state.vectorSize; in rsElementGetVectorSize()