Home
last modified time | relevance | path

Searched refs:mVectorSize (Results 1 – 25 of 25) 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.h130 uint32_t mVectorSize)
/frameworks/av/media/libheadtracking/
DVectorRecorder.cpp29 if (record.size() != mVectorSize) return; in record()
50 for (size_t i = 0; i < mVectorSize; ++i) { in record()
57 for (size_t i = 0; i < mVectorSize; ++i) { in record()
73 mSum.assign(mVectorSize, 0); in resetRecord_l()
74 mMax.assign(mVectorSize, 0); in resetRecord_l()
75 mMin.assign(mVectorSize, 0); in resetRecord_l()
/frameworks/rs/toolkit/
DHistogram.cpp84 switch (mVectorSize) { in processData()
98 ALOGE("Bad vector size %zd", mVectorSize); in processData()
102 int* sums = &mSums[256 * paddedSize(mVectorSize) * threadIndex]; in processData()
105 const uchar* inPtr = mIn + (mSizeX * y + startX) * paddedSize(mVectorSize); in processData()
145 for (uint32_t ct = 0; ct < (256 * paddedSize(mVectorSize)); ct++) { in collateSums()
148 out[ct] += mSums[ct + (256 * paddedSize(mVectorSize) * t)]; in collateSums()
178 switch (mVectorSize) { in processData()
192 ALOGI("Bad vector size %zd", mVectorSize); in processData()
199 const uchar* inPtr = mIn + (mSizeX * y + startX) * paddedSize(mVectorSize); in processData()
DTaskProcessor.h61 const size_t mVectorSize; variable
116 mVectorSize{vectorSize},
DConvolve3x3.cpp229 switch (mVectorSize) { in processData()
231 convolveU<uchar, float>((const uchar*)mIn, (uchar*)mOut, mVectorSize, mSizeX, mSizeY, in processData()
235 convolveU<uchar2, float2>((const uchar*)mIn, (uchar*)mOut, mVectorSize, mSizeX, mSizeY, in processData()
240 convolveU4((const uchar*)mIn, (uchar*)mOut, mVectorSize, mSizeX, mSizeY, startX, startY, in processData()
DTestTaskProcessor.cpp30 size_t index = (y * mSizeX + x) * mVectorSize; in processData()
31 for (size_t i = 0; i < mVectorSize; i++) { in processData()
DBlur.cpp376 const uint32_t stride = mSizeX * mVectorSize; in kernelU4()
447 const uint32_t stride = mSizeX * mVectorSize; in kernelU1()
516 void* outPtr = outArray + (mSizeX * y + startX) * mVectorSize; in processData()
517 if (mVectorSize == 4) { in processData()
DConvolve5x5.cpp315 switch (mVectorSize) { in processData()
317 convolveU<uchar, float>((const uchar*)mIn, (uchar*)mOut, mVectorSize, mSizeX, mSizeY, in processData()
321 convolveU<uchar2, float2>((const uchar*)mIn, (uchar*)mOut, mVectorSize, mSizeX, mSizeY, in processData()
326 convolveU4((const uchar*)mIn, (uchar*)mOut, mVectorSize, mSizeX, mSizeY, startX, startY, in processData()
DResize.cpp76 switch (mVectorSize) { in processData()
90 ALOGE("Bad vector size %zd", mVectorSize); in processData()
94 size_t offset = (mSizeX * y + startX) * paddedSize(mVectorSize); in processData()
354 const size_t stride = mInputSizeX * paddedSize(mVectorSize); in kernelU4()
426 const size_t stride = mInputSizeX * mVectorSize; in kernelU2()
499 const size_t stride = mInputSizeX * mVectorSize; in kernelU1()
DTaskProcessor.cpp34 mVectorSize; // If we add float support, vectorSize * 4 for that. in setTiling()
DColorMatrix.cpp1032 uchar* out = ((uchar*)mOut) + offset * paddedSize(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()
DGenerateRSFunctionsList.cpp307 string vectorSize = p->mVectorSize; in writeParameters()
DSpecification.h88 std::string mVectorSize; member
/frameworks/av/media/libheadtracking/include/media/
DVectorRecorder.h53 : mVectorSize(vectorSize) in mVectorSize() function
114 const size_t mVectorSize; variable
/frameworks/rs/support/java/src/androidx/renderscript/
DElement.java77 int mVectorSize; field in Element
115 return mVectorSize; in getVectorSize()
725 mVectorSize = 1; in Element()
755 mVectorSize = size; in Element()
767 return mRS.nIncElementCreate(mType.mID, mKind.mID, mNormalized, mVectorSize); in getDummyElement()
914 (mVectorSize == e.mVectorSize)); in isCompatible()
965 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.java72 int mVectorSize; field in Element
107 public int getVectorSize() {return mVectorSize;} in getVectorSize()
1069 mVectorSize = 1; in Element()
1099 mVectorSize = size; in Element()
1115 mVectorSize = dataBuffer[3]; in updateFromNative()
1120 mSize = mType.mSize * mVectorSize; in updateFromNative()
1298 (mVectorSize == e.mVectorSize)); in isCompatible()
1348 if (element.mVectorSize == 3) { in add()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt45001 Landroid/renderscript/Element;->mVectorSize:I