Searched refs:mipOffset (Results 1 – 7 of 7) sorted by relevance
149 return (pSurface->mipSize - pSurface->mipOffset[nMipLevel - 1]) / sliceCountThisLevel;153 return pSurface->mipOffset[nMipLevel] / sliceCountThisLevel;156 …return (pSurface->mipOffset[nMipLevel] - pSurface->mipOffset[nMipLevel - 1]) / sliceCountThisLevel;207 …pData = (u8*)pSurface->mipPtr + pSurface->mipOffset[nMipLevel - 1] + (((pSurface->mipSize - pSurfa… in GetMipLevel()208 … pLevel->byteSize = (pSurface->mipSize - pSurface->mipOffset[nMipLevel - 1]) / sliceCountThisLevel; in GetMipLevel()212 …pLevel->pData = (u8*)pSurface->mipPtr + ((pSurface->mipOffset[nMipLevel] / sliceCountThisLevel) * … in GetMipLevel()213 pLevel->byteSize = pSurface->mipOffset[nMipLevel] / sliceCountThisLevel; in GetMipLevel()217 … (u8*)pSurface->mipPtr + pSurface->mipOffset[nMipLevel - 1] + (((pSurface->mipOffset[nMipLevel] - … in GetMipLevel()218 …pLevel->byteSize = (pSurface->mipOffset[nMipLevel] - pSurface->mipOffset[nMipLevel - 1]) / sliceCo… in GetMipLevel()
172 size = pSurf->mipOffset[1]; in GX2UTGetSurfaceMipSize()177 size = pSurf->mipSize - pSurf->mipOffset[mipLevel - 1]; in GX2UTGetSurfaceMipSize()181 size = pSurf->mipOffset[mipLevel] - pSurf->mipOffset[mipLevel-1]; in GX2UTGetSurfaceMipSize()206 ptr = (u8*)pSurf->mipPtr + pSurf->mipOffset[mipLevel-1]; in GX2UTGetSurfaceMipSlicePtr()
50 u32 mipOffset[ 13 ]; member92 pTXout32->surface.mipOffset[i] = pTXin64->surface.mipOffset[i]; in GFDRepackTexture32Bit()128 pTXout64->surface.mipOffset[i] = pTXin32->surface.mipOffset[i]; in GFDRepackTexture64Bit()
149 u32 mipOffset[ 13 ]; // TODO: use GX2_LOG2_MAX_TEXTURE_SIZE instead member1102 dstUVSurface->imagePtr = (void*)((u32)dstUVSurface->imagePtr + srcNV12Surface->mipOffset[0]); in GX2InitNV12UVSurface()1103 dstUVSurface->imageSize -= srcNV12Surface->mipOffset[0]; in GX2InitNV12UVSurface()
235 texture->surface.mipPtr = (void *) ( (u32) imagePtr + texture->surface.mipOffset[0]); in GX2InitTexturePtrs()
198 int mipOffset = 0; in DDSConvertMipsToCubeFormat() local204 memcpy( pWrite, pReadMip + mipOffset + (mipSize*i), mipSize ); in DDSConvertMipsToCubeFormat()206 mipOffset += mipSize * 6; in DDSConvertMipsToCubeFormat()208 assert( mipOffset == pSurface->mipSize ); in DDSConvertMipsToCubeFormat()
347 printf(" mipOffset = %d\n", pGx2Textures->surface.mipOffset); in PrintTextureSurfaceInfo()