Home
last modified time | relevance | path

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

/aosp12/frameworks/rs/script_api/
H A DGenerateTestFiles.cpp35 *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()
402 char vectorSize; in writeJavaOutputAllocationDefinition() local
403 convertToRsType(param.rsType, &dataType, &vectorSize); in writeJavaOutputAllocationDefinition()
413 string vectorSize = "1"; in writeJavaVerifyScalarMethod() local
417 if (vectorSize == "1") { in writeJavaVerifyScalarMethod()
[all …]
H A 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 …]
H A DSpecification.cpp118 void getVectorSizeAndBaseType(const string& type, string& vectorSize, string& baseType) { in getVectorSizeAndBaseType() argument
119 vectorSize = "1"; in getVectorSizeAndBaseType()
134 vectorSize = lastChar; in getVectorSizeAndBaseType()
H A DSpecification.h624 void getVectorSizeAndBaseType(const std::string& type, std::string& vectorSize,
/aosp12/system/core/libutils/
H A DVector_fuzz.cpp27 size_t vectorSize = dataProvider.ConsumeIntegralInRange<size_t>(0, MAX_VEC_SIZE); in runVectorFuzz() local
28 vec.setCapacity(vectorSize); in runVectorFuzz()
29 vec32.setCapacity(vectorSize); in runVectorFuzz()
30 for (size_t i = 0; i < vectorSize; i++) { in runVectorFuzz()
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
H A DVehicleObjectPool.h200 size_t vectorSize) const;
206 InternalPool(VehiclePropertyType type, size_t vectorSize) in InternalPool() argument
207 : mPropType(type), mVectorSize(vectorSize) {} in InternalPool()
/aosp12/frameworks/base/core/java/android/transition/
H A DExplode.java153 double vectorSize = Math.hypot(xVector, yVector); in calculateOut() local
154 xVector /= vectorSize; in calculateOut()
155 yVector /= vectorSize; in calculateOut()
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
H A DVehicleObjectPool.cpp111 VehiclePropertyType valueType, size_t vectorSize) const { in obtainDisposable()
113 createVehiclePropValue(valueType, vectorSize).release(), in obtainDisposable()
/aosp12/frameworks/rs/
H A 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()
H A DrsElement.h47 uint32_t vectorSize; member
H A DrsElement.cpp175 mHal.state.vectorSize = mComponent.getVectorSize(); in compute()
/aosp12/frameworks/rs/driver/
H A 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()
H A DrsdMeshObj.cpp114 mAttribs[userNum].size = f->mHal.state.vectorSize; in init()
/aosp12/frameworks/rs/driver/runtime/
H A Drs_structs.h213 uint32_t vectorSize; member
H A Drs_element.c116 return element->mHal.state.vectorSize; in rsElementGetVectorSize()