Home
last modified time | relevance | path

Searched refs:mipSize (Results 1 – 14 of 14) sorted by relevance

/CafeSDK-2.12.13/system/src/tool/gfx/projects/TexConv2/ddsReader/
DDDS.cpp201 int mipSize = faceSize >> ((j+1)*2); in DDSConvertMipsToCubeFormat() local
202 mipSize = max( mipSize, minMipSize ); in DDSConvertMipsToCubeFormat()
204 memcpy( pWrite, pReadMip + mipOffset + (mipSize*i), mipSize ); in DDSConvertMipsToCubeFormat()
205 pWrite += mipSize; in DDSConvertMipsToCubeFormat()
206 mipOffset += mipSize * 6; in DDSConvertMipsToCubeFormat()
208 assert( mipOffset == pSurface->mipSize ); in DDSConvertMipsToCubeFormat()
235 pTempMip = malloc( pSurface->mipSize ); in DDSSaveFile()
237 memcpy( pTempMip, pSurface->mipPtr , pSurface->mipSize ); in DDSSaveFile()
240 pTempData = (u8*)malloc( pSurface->imageSize + pSurface->mipSize ); in DDSSaveFile()
245 memcpy( pSurface->mipPtr, pTempData + pSurface->imageSize, pSurface->mipSize ); in DDSSaveFile()
[all …]
DDDS_10.cpp389 if(pSurface->mipSize > 0) in SaveDDS10()
390 …fwrite(pSurface->mipPtr, GFD_ELEMENT_SIZE_32, (pSurface->mipSize + 3) / GFD_ELEMENT_SIZE_32, pFile… in SaveDDS10()
DDDS_Helpers.cpp371 pSurface->imagePtr = malloc(pSurface->imageSize + pSurface->mipSize); in GenericLoadFunction()
373 if (pSurface->mipSize) in GenericLoadFunction()
1181 ddsd2.dwLinearSize = pSurface->imageSize + pSurface->mipSize; in SetupDDSD()
/CafeSDK-2.12.13/system/src/tool/gfx/include/texUtils/
DTC_PluginAPI.h145 return pSurface->mipSize / sliceCountThisLevel;
149 return (pSurface->mipSize - pSurface->mipOffset[nMipLevel - 1]) / sliceCountThisLevel;
202 …pLevel->pData = (u8*)pSurface->mipPtr + ((pSurface->mipSize / sliceCountThisLevel) * nFaceOrSlice); in GetMipLevel()
203 pLevel->byteSize = pSurface->mipSize / sliceCountThisLevel; in GetMipLevel()
207 …u8*)pSurface->mipPtr + pSurface->mipOffset[nMipLevel - 1] + (((pSurface->mipSize - pSurface->mipOf… in GetMipLevel()
208 … pLevel->byteSize = (pSurface->mipSize - pSurface->mipOffset[nMipLevel - 1]) / sliceCountThisLevel; in GetMipLevel()
/CafeSDK-2.12.13/system/src/tool/gfx/projects/gfd/
DgfdFileTexture.cpp44 u32 mipSize; member
85 pTXout32->surface.mipSize = pTXin64->surface.mipSize; in GFDRepackTexture32Bit()
121 pTXout64->surface.mipSize = pTXin32->surface.mipSize; in GFDRepackTexture64Bit()
154 u32 nBytesMip = GFD_ROUND_UP(pTexture->surface.mipSize, sizeof(u32)); in GFDWriteFileTextureBlock()
/CafeSDK-2.12.13/system/src/lib/gx2ut/
Dgx2utExpandColor.cpp167 …Invalidate(GX2_INVALIDATE_COLOR_BUFFER, colorBuffer->surface.mipPtr, colorBuffer->surface.mipSize); in GX2UTExpandAAColorBufferOp()
195 …Invalidate(GX2_INVALIDATE_COLOR_BUFFER, colorBuffer->surface.mipPtr, colorBuffer->surface.mipSize); in GX2UTExpandAAColorBufferOp()
Dgx2utExpandDepth.cpp144 …Invalidate(GX2_INVALIDATE_DEPTH_BUFFER, depthBuffer->surface.mipPtr, depthBuffer->surface.mipSize); in GX2UTExpandDepthBufferOp()
200 …Invalidate(GX2_INVALIDATE_DEPTH_BUFFER, depthBuffer->surface.mipPtr, depthBuffer->surface.mipSize); in GX2UTExpandDepthBufferOp()
Dgx2utConvertDepth.cpp207 …Invalidate(GX2_INVALIDATE_DEPTH_BUFFER, depthBuffer->surface.mipPtr, depthBuffer->surface.mipSize); in GX2UTConvertDepthBufferToTextureSurfaceOp()
258 GX2Invalidate(GX2_INVALIDATE_DEPTH_BUFFER, cb.surface.mipPtr, cb.surface.mipSize); in GX2UTConvertDepthBufferToTextureSurfaceOp()
Dgx2utResolve.cpp191 …Invalidate(GX2_INVALIDATE_COLOR_BUFFER, colorBuffer->surface.mipPtr, colorBuffer->surface.mipSize); in GX2UTResolveAAColorBufferRectOp()
228 GX2Invalidate(GX2_INVALIDATE_COLOR_BUFFER, dstSurface->mipPtr, dstSurface->mipSize); in GX2UTResolveAAColorBufferRectOp()
Dgx2ut.cpp177 size = pSurf->mipSize - pSurf->mipOffset[mipLevel - 1]; in GX2UTGetSurfaceMipSize()
Dgx2utClear.cpp735 …Invalidate(GX2_INVALIDATE_COLOR_BUFFER, colorBuffer->surface.mipPtr, colorBuffer->surface.mipSize); in GX2UTClearRectOp()
743 …Invalidate(GX2_INVALIDATE_DEPTH_BUFFER, depthBuffer->surface.mipPtr, depthBuffer->surface.mipSize); in GX2UTClearRectOp()
/CafeSDK-2.12.13/system/src/tool/gfx/projects/TexConv2/tgaReader/
DtgaReader.cpp407 pSurface->imagePtr = malloc(pSurface->imageSize + pSurface->mipSize); in GenericLoadFunction()
410 if (pSurface->mipSize) in GenericLoadFunction()
/CafeSDK-2.12.13/system/include/cafe/gx2/
Dgx2Surface.h117 u32 mipSize; member
/CafeSDK-2.12.13/system/src/tool/gfx/projects/TexConv2/texConvert/
DTexConvert.cpp342 printf(" mipSize = %d\n", pGx2Textures->surface.mipSize); in PrintTextureSurfaceInfo()