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.cpp90 for (uint32_t lod=0; lod < mLODCount; lod++) {
91 mLODs[lod].mX = tx;
92 mLODs[lod].mY = ty;
93 mLODs[lod].mZ = tz;
94 mLODs[lod].mOffset = offset;
112 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x) const argument
114 uint32_t offset = mLODs[lod].mOffset;
119 uint32_t Type::getLODOffset(uint32_t lod, uint32_ argument
126 getLODOffset(uint32_t lod, uint32_t x, uint32_t y, uint32_t z) const argument
[all...]
/frameworks/base/opengl/libagl/
H A DTextureObjectManager.cpp111 const GGLSurface& EGLTextureObject::mip(int lod) const
113 if (lod<=0 || !mMipmaps)
115 lod = min(lod-1, mNumExtraLod-1);
116 return mMipmaps[lod];
119 GGLSurface& EGLTextureObject::editMip(int lod) argument
121 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 54 milliseconds