Home
last modified time | relevance | path

Searched refs:mipOffset (Results 1 – 7 of 7) sorted by relevance

/CafeSDK-2.12.13-1/system/src/tool/gfx/include/texUtils/
DTC_PluginAPI.h149 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()
/CafeSDK-2.12.13-1/system/src/lib/gx2ut/
Dgx2ut.cpp172 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()
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/gfd/
DgfdFileTexture.cpp50 u32 mipOffset[ 13 ]; member
92 pTXout32->surface.mipOffset[i] = pTXin64->surface.mipOffset[i]; in GFDRepackTexture32Bit()
128 pTXout64->surface.mipOffset[i] = pTXin32->surface.mipOffset[i]; in GFDRepackTexture64Bit()
/CafeSDK-2.12.13-1/system/include/cafe/gx2/
Dgx2Surface.h149 u32 mipOffset[ 13 ]; // TODO: use GX2_LOG2_MAX_TEXTURE_SIZE instead member
1102 dstUVSurface->imagePtr = (void*)((u32)dstUVSurface->imagePtr + srcNV12Surface->mipOffset[0]); in GX2InitNV12UVSurface()
1103 dstUVSurface->imageSize -= srcNV12Surface->mipOffset[0]; in GX2InitNV12UVSurface()
Dgx2Texture.h235 texture->surface.mipPtr = (void *) ( (u32) imagePtr + texture->surface.mipOffset[0]); in GX2InitTexturePtrs()
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/TexConv2/ddsReader/
DDDS.cpp200 int mipOffset = 0; in DDSConvertMipsToCubeFormat() local
206 memcpy( pWrite, pReadMip + mipOffset + (mipSize*i), mipSize ); in DDSConvertMipsToCubeFormat()
208 mipOffset += mipSize * 6; in DDSConvertMipsToCubeFormat()
210 assert( mipOffset == pSurface->mipSize ); in DDSConvertMipsToCubeFormat()
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/TexConv2/texConvert/
DTexConvert.cpp347 printf(" mipOffset = %d\n", pGx2Textures->surface.mipOffset); in PrintTextureSurfaceInfo()