| /CafeSDK-2.12.13/system/src/tool/gfx/projects/gfd/ |
| D | gfdFileTexture.cpp | 45 u32 mipPtr; member 86 pTXout32->surface.mipPtr = (u32) pTXin64->surface.mipPtr; in GFDRepackTexture32Bit() 122 pTXout64->surface.mipPtr = (void*)pTXin32->surface.mipPtr; in GFDRepackTexture64Bit() 155 void* pDataMip = pTexture->surface.mipPtr; in GFDWriteFileTextureBlock() 164 pTexture->surface.mipPtr = NULL; in GFDWriteFileTextureBlock() 222 pTexture->surface.mipPtr = pDataMip; in GFDWriteFileTextureBlock() 419 if(pTexture->surface.mipPtr != NULL) in GFDReadFileTexture() 420 free(pTexture->surface.mipPtr); in GFDReadFileTexture() 443 if(pTexture->surface.mipPtr != NULL) in GFDReadFileTexture() 444 free(pTexture->surface.mipPtr); in GFDReadFileTexture() [all …]
|
| /CafeSDK-2.12.13/system/src/tool/gfx/include/texUtils/ |
| D | TC_PluginAPI.h | 119 if(!pSurface || (!pSurface->mipPtr && (pSurface->numMips > 1))) 121 ASSERT(pSurface || (!pSurface->mipPtr && (pSurface->numMips > 1))); 173 if(!pSurface || (!pSurface->mipPtr && (pSurface->numMips > 1))) in GetMipLevel() 175 ASSERT(pSurface || (!pSurface->mipPtr && (pSurface->numMips > 1))); in GetMipLevel() 202 …pLevel->pData = (u8*)pSurface->mipPtr + ((pSurface->mipSize / sliceCountThisLevel) * nFaceOrSlice); in GetMipLevel() 207 …pLevel->pData = (u8*)pSurface->mipPtr + pSurface->mipOffset[nMipLevel - 1] + (((pSurface->mipSize … in GetMipLevel() 212 …pLevel->pData = (u8*)pSurface->mipPtr + ((pSurface->mipOffset[nMipLevel] / sliceCountThisLevel) * … in GetMipLevel() 217 …pLevel->pData = (u8*)pSurface->mipPtr + pSurface->mipOffset[nMipLevel - 1] + (((pSurface->mipOffse… in GetMipLevel()
|
| /CafeSDK-2.12.13/system/include/cafe/gx2/ |
| D | gx2Texture.h | 228 GX2_INLINE void GX2InitTexturePtrs(GX2Texture *texture, void *imagePtr, void *mipPtr) in GX2InitTexturePtrs() argument 232 if (mipPtr) { in GX2InitTexturePtrs() 233 texture->surface.mipPtr = mipPtr; in GX2InitTexturePtrs() 235 texture->surface.mipPtr = (void *) ( (u32) imagePtr + texture->surface.mipOffset[0]); in GX2InitTexturePtrs() 238 texture->surface.mipPtr = mipPtr; in GX2InitTexturePtrs()
|
| D | gx2rSurface.h | 75 GX2Boolean GX2API GX2RCreateSurfaceUserMemory(GX2Surface* gx2Surface, void* imagePtr, void* mipPtr,…
|
| D | gx2Surface.h | 119 void *mipPtr; member 513 colorBuffer->surface.mipPtr = NULL; in _GX2InitColorBuffer()
|
| /CafeSDK-2.12.13/system/src/tool/gfx/projects/TexConv2/ddsReader/ |
| D | DDS.cpp | 191 const u8* pReadMip = (u8*)pSurface->mipPtr; in DDSConvertMipsToCubeFormat() 237 memcpy( pTempMip, pSurface->mipPtr , pSurface->mipSize ); in DDSSaveFile() 245 memcpy( pSurface->mipPtr, pTempData + pSurface->imageSize, pSurface->mipSize ); in DDSSaveFile() 302 memcpy( pSurface->mipPtr, pTempMip, pSurface->mipSize ); in DDSSaveFile() 629 value = *((u16*)pSurface->mipPtr + count); in SaveDDS_RGB565() 630 …*((u16*)pSurface->mipPtr + count) = ((value & 0xf800) >> 11) | (value & 0x07e0) | ((value & 0x1f) … in SaveDDS_RGB565() 632 fwrite(pSurface->mipPtr, 1, pSurface->mipSize, pFile); in SaveDDS_RGB565() 677 value = *((u16*)pSurface->mipPtr + count); in SaveDDS_ARGB4444() 679 …*((u16*)pSurface->mipPtr + count) = (value & 0xf000) | ((value & 0x0f00) >> 8) | (value & 0x00f0) … in SaveDDS_ARGB4444() 681 fwrite(pSurface->mipPtr, 1, pSurface->mipSize, pFile); in SaveDDS_ARGB4444() [all …]
|
| D | DDS_10.cpp | 390 …fwrite(pSurface->mipPtr, GFD_ELEMENT_SIZE_32, (pSurface->mipSize + 3) / GFD_ELEMENT_SIZE_32, pFile… in SaveDDS10()
|
| D | DDS_Helpers.cpp | 375 pSurface->mipPtr = (void*)((u8*)pSurface->imagePtr + pSurface->imageSize); in GenericLoadFunction() 455 pSurface->mipPtr = NULL; in GenericFreeFunction()
|
| /CafeSDK-2.12.13/system/src/lib/gfd/ |
| D | gfdInterface.c | 842 return (pHeader->surface.imagePtr || pHeader->surface.mipPtr); in GFDGetTexture() 873 pHeader->surface.mipPtr = pMipImage; in GFDGetTexture() 874 memcpy(pHeader->surface.mipPtr, (char *)pDataStruct, pBlockHeader->dataSize); in GFDGetTexture() 893 return (ret && headerFound && (pHeader->surface.imagePtr || pHeader->surface.mipPtr)); in GFDGetTexture() 931 return (pHeader->surface.imagePtr || pHeader->surface.mipPtr); in GFDGetGX2RTexture() 939 pHeader->surface.imagePtr=pHeader->surface.mipPtr=NULL; in GFDGetGX2RTexture() 968 if( 0 != (((u32) pHeader->surface.mipPtr) & (pHeader->surface.alignment-1))) in GFDGetGX2RTexture() 975 memcpy(pHeader->surface.mipPtr, (char *)pDataStruct, pBlockHeader->dataSize); in GFDGetGX2RTexture() 1000 if (ret && headerFound && (pHeader->surface.imagePtr || pHeader->surface.mipPtr)) in GFDGetGX2RTexture() 1004 if ( pHeader->surface.mipPtr ) in GFDGetGX2RTexture() [all …]
|
| /CafeSDK-2.12.13/system/src/lib/gx2ut/ |
| D | gx2utExpandColor.cpp | 167 …GX2Invalidate(GX2_INVALIDATE_COLOR_BUFFER, colorBuffer->surface.mipPtr, colorBuffer->surface.mipSi… in GX2UTExpandAAColorBufferOp() 195 …GX2Invalidate(GX2_INVALIDATE_COLOR_BUFFER, colorBuffer->surface.mipPtr, colorBuffer->surface.mipSi… in GX2UTExpandAAColorBufferOp()
|
| D | gx2utExpandDepth.cpp | 144 …GX2Invalidate(GX2_INVALIDATE_DEPTH_BUFFER, depthBuffer->surface.mipPtr, depthBuffer->surface.mipSi… in GX2UTExpandDepthBufferOp() 200 …GX2Invalidate(GX2_INVALIDATE_DEPTH_BUFFER, depthBuffer->surface.mipPtr, depthBuffer->surface.mipSi… in GX2UTExpandDepthBufferOp()
|
| D | gx2ut.cpp | 203 ptr = (u8*)pSurf->mipPtr; in GX2UTGetSurfaceMipSlicePtr() 206 ptr = (u8*)pSurf->mipPtr + pSurf->mipOffset[mipLevel-1]; in GX2UTGetSurfaceMipSlicePtr()
|
| D | gx2utConvertDepth.cpp | 207 …GX2Invalidate(GX2_INVALIDATE_DEPTH_BUFFER, depthBuffer->surface.mipPtr, depthBuffer->surface.mipSi… in GX2UTConvertDepthBufferToTextureSurfaceOp() 258 GX2Invalidate(GX2_INVALIDATE_DEPTH_BUFFER, cb.surface.mipPtr, cb.surface.mipSize); in GX2UTConvertDepthBufferToTextureSurfaceOp()
|
| D | gx2utResolve.cpp | 191 …GX2Invalidate(GX2_INVALIDATE_COLOR_BUFFER, colorBuffer->surface.mipPtr, colorBuffer->surface.mipSi… in GX2UTResolveAAColorBufferRectOp() 228 GX2Invalidate(GX2_INVALIDATE_COLOR_BUFFER, dstSurface->mipPtr, dstSurface->mipSize); in GX2UTResolveAAColorBufferRectOp()
|
| D | gx2utCopy.cpp | 52 (mipLevel && (u32)(surf)->mipPtr >= (start) && in SURFACE_IN_MEMRANGE() 53 (u32)(surf)->mipPtr < end)); in SURFACE_IN_MEMRANGE()
|
| D | gx2utClear.cpp | 735 …GX2Invalidate(GX2_INVALIDATE_COLOR_BUFFER, colorBuffer->surface.mipPtr, colorBuffer->surface.mipSi… in GX2UTClearRectOp() 743 …GX2Invalidate(GX2_INVALIDATE_DEPTH_BUFFER, depthBuffer->surface.mipPtr, depthBuffer->surface.mipSi… in GX2UTClearRectOp()
|
| /CafeSDK-2.12.13/system/src/tool/gfx/projects/TexConv2/tgaReader/ |
| D | tgaReader.cpp | 412 pSurface->mipPtr = (void*)((u8*)pSurface->imagePtr + pSurface->imageSize); in GenericLoadFunction() 444 pSurface->mipPtr = NULL; in GenericFreeFunction()
|
| /CafeSDK-2.12.13/system/src/lib/gx2ut/headers/cafe/gx2ut/ |
| D | gx2utInline.h | 373 gx2Surface->mipPtr = NULL; in GX2UTInitSurfaceStruct()
|
| /CafeSDK-2.12.13/system/include/cafe/gx2ut/ |
| D | gx2utInline.h | 373 gx2Surface->mipPtr = NULL; in GX2UTInitSurfaceStruct()
|