Home
last modified time | relevance | path

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

/frameworks/base/rs/java/android/renderscript/
DProgram.java71 Type mConstants[]; field in Program
87 return mConstants != null ? mConstants.length : 0; in getConstantCount()
98 if (slot < 0 || slot >= mConstants.length) { in getConstant()
101 return mConstants[slot]; in getConstant()
146 if (slot < 0 || slot >= mConstants.length) { in bindConstants()
150 a.getType().getID(mRS) != mConstants[slot].getID(mRS)) { in bindConstants()
204 Type mConstants[]; field in Program.BaseProgramBuilder
219 mConstants = new Type[MAX_CONSTANT]; in BaseProgramBuilder()
316 mConstants[mConstantCount] = t; in addConstant()
358 p.mConstants = new Type[mConstantCount]; in initProgram()
[all …]
DProgramFragment.java79 tmp[idx++] = mConstants[i].getID(mRS); in create()
DProgramVertex.java139 tmp[idx++] = mConstants[i].getID(mRS); in create()
DProgramFragmentFixedFunction.java66 tmp[idx++] = mConstants[i].getID(mRS); in create()
DProgramVertexFixedFunction.java92 tmp[idx++] = mConstants[i].getID(mRS); in create()
/frameworks/rs/
DrsProgram.cpp46 mConstants = new ObjectBaseRef<Allocation>[mHal.state.constantsCount]; in Program()
94 delete[] mConstants; in ~Program()
144 mConstants = NULL; in initMemberVars()
167 if (mConstants[slot].get() == alloc) { in bindAllocation()
170 if (mConstants[slot].get()) { in bindAllocation()
171 mConstants[slot]->removeProgramToDirty(this); in bindAllocation()
173 mConstants[slot].set(alloc); in bindAllocation()
DrsFont.cpp657 mFontShaderFConstant->data(mRSC, 0, 0, 1, &mConstants, sizeof(mConstants)); in issueDrawCommand()
794 mConstants.mFontColor[0] = r; in setFontColor()
795 mConstants.mFontColor[1] = g; in setFontColor()
796 mConstants.mFontColor[2] = b; in setFontColor()
797 mConstants.mFontColor[3] = a; in setFontColor()
799 mConstants.mGamma = 1.0f; in setFontColor()
802 mConstants.mGamma = mBlackGamma; in setFontColor()
804 mConstants.mGamma = mWhiteGamma; in setFontColor()
811 *r = mConstants.mFontColor[0]; in getFontColor()
812 *g = mConstants.mFontColor[1]; in getFontColor()
[all …]
DrsProgram.h76 ObjectBaseRef<Allocation> *mConstants; variable
DrsFont.h192 } mConstants; variable
/frameworks/av/services/audioflinger/
DAudioResamplerDyn.cpp177 mConstants.set(128, 8, mSampleRate, mSampleRate); // TODO: set better in AudioResamplerDyn()
285 int32_t oldHalfNumCoefs = mConstants.mHalfNumCoefs; in setSampleRate()
286 uint32_t oldPhaseWrapLimit = mConstants.mL << mConstants.mShift; in setSampleRate()
383 mConstants.set(phases, halfLength, inSampleRate, mSampleRate); in setSampleRate()
384 createKaiserFir(mConstants, stopBandAtten, in setSampleRate()
389 const Constants& c(mConstants); in setSampleRate()
493 const Constants& c(mConstants); in resample()
494 const TC* const coefs = mConstants.mFirCoefs; in resample()
DAudioResamplerSinc.cpp485 mConstants = (quality == VERY_HIGH_QUALITY) ? in AudioResamplerSinc()
495 const Constants& c(*mConstants); in init()
518 if (mConstants == &veryHighQualityConstants && readResampleCoefficients) { in resample()
540 const Constants& c(*mConstants); in resample()
629 const Constants& c(*mConstants); in read()
653 const Constants& c(*mConstants); in filterCoefficient()
DAudioResamplerSinc.h92 const Constants *mConstants; // points to appropriate set of coefficient parameters variable
DAudioResamplerDyn.h122 Constants mConstants; // current set of coefficient parameters variable