Searched refs:mConstants (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/rs/java/android/renderscript/ |
D | Program.java | 71 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 …]
|
D | ProgramFragment.java | 79 tmp[idx++] = mConstants[i].getID(mRS); in create()
|
D | ProgramVertex.java | 139 tmp[idx++] = mConstants[i].getID(mRS); in create()
|
D | ProgramFragmentFixedFunction.java | 66 tmp[idx++] = mConstants[i].getID(mRS); in create()
|
D | ProgramVertexFixedFunction.java | 92 tmp[idx++] = mConstants[i].getID(mRS); in create()
|
/frameworks/rs/ |
D | rsProgram.cpp | 46 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()
|
D | rsFont.cpp | 657 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 …]
|
D | rsProgram.h | 76 ObjectBaseRef<Allocation> *mConstants; variable
|
D | rsFont.h | 192 } mConstants; variable
|
/frameworks/av/services/audioflinger/ |
D | AudioResamplerDyn.cpp | 177 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()
|
D | AudioResamplerSinc.cpp | 485 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()
|
D | AudioResamplerSinc.h | 92 const Constants *mConstants; // points to appropriate set of coefficient parameters variable
|
D | AudioResamplerDyn.h | 122 Constants mConstants; // current set of coefficient parameters variable
|