Searched defs:lod (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/libs/rs/
H A DrsAdapter.h46 inline void setLOD(uint32_t lod) {mLOD = lod;} argument
78 inline void setLOD(uint32_t lod) {mLOD = lod;} argument
H A DrsType.cpp95 for (uint32_t lod=0; lod < mLODCount; lod++) {
96 mLODs[lod].mX = tx;
97 mLODs[lod].mY = ty;
98 mLODs[lod].mZ = tz;
99 mLODs[lod].mOffset = offset;
117 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x) const argument
119 uint32_t offset = mLODs[lod].mOffset;
124 uint32_t Type::getLODOffset(uint32_t lod, uint32_ argument
131 getLODOffset(uint32_t lod, uint32_t x, uint32_t y, uint32_t z) const argument
[all...]
/frameworks/base/opengl/libagl/
H A DTextureObjectManager.cpp108 const GGLSurface& EGLTextureObject::mip(int lod) const
110 if (lod<=0 || !mMipmaps)
112 lod = min(lod-1, mNumExtraLod-1);
113 return mMipmaps[lod];
116 GGLSurface& EGLTextureObject::editMip(int lod) argument
118 return const_cast<GGLSurface&>(mip(lod));
H A Dprimitives.cpp699 // lod = log2( rho )
700 // lod = log2( texelArea / area ) / 2
701 // lod = (log2( texelArea ) - log2( area )) / 2
711 int lod = (log2TArea - log2Area + 1) >> 1; local
712 return lod;
735 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2); local
737 &c->textures.tmu[i].texture->mip(lod));
792 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2); local
794 &c->textures.tmu[i].texture->mip(lod));

Completed in 85 milliseconds