Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 25 of 25) sorted by relevance

/CafeSDK-2.12.13-1/system/src/lib/gx2ut/
Dgx2ut.cpp137 if ( pSurf->depth >> mipLevel < 4 ) in GX2UTGetSurfaceMipSliceTileMode()
141 if ( pSurf->depth >> mipLevel < 4 ) in GX2UTGetSurfaceMipSliceTileMode()
145 if ( pSurf->depth >> mipLevel < 4 ) in GX2UTGetSurfaceMipSliceTileMode()
149 if ( pSurf->depth >> mipLevel < 4 ) in GX2UTGetSurfaceMipSliceTileMode()
195 ASSERT(slice < pSurf->depth); in GX2UTGetSurfaceMipSlicePtr()
214 u32 depth = pSurf->depth; in GX2UTGetSurfaceMipSlicePtr() local
218 if ( mipLevel && (((depth - 1) & depth) != 0) ) in GX2UTGetSurfaceMipSlicePtr()
220 depth = GX2UTRoundNearestPow2(depth); in GX2UTGetSurfaceMipSlicePtr()
222 ptr += levelSize * slice / depth; in GX2UTGetSurfaceMipSlicePtr()
Dgx2utCopy.cpp262 ASSERT(srcSlice < GX2Max(1, srcSurface->depth >> srcMip)); in GX2UTCopySurfaceRectOp()
266 ASSERT(srcSlice < srcSurface->depth); in GX2UTCopySurfaceRectOp()
271 ASSERT(dstSlice < GX2Max(1, dstSurface->depth >> dstMip)); in GX2UTCopySurfaceRectOp()
275 ASSERT(dstSlice < dstSurface->depth); in GX2UTCopySurfaceRectOp()
293 …u32 depth = (dstMip ? GX2UTRoundNearestPow2(GX2Max(1, colorBuffer.surface.depth >> dstMip)) : colo… in GX2UTCopySurfaceRectOp() local
294 colorBuffer.surface.depth = depth; in GX2UTCopySurfaceRectOp()
340 …u32 depth = (dstMip ? GX2UTRoundNearestPow2(GX2Max(1, texture.surface.depth >> dstMip)) : texture.… in GX2UTCopySurfaceRectOp() local
341 texture.surface.depth = depth; in GX2UTCopySurfaceRectOp()
542 (slice / GX2Max(1, texture.surface.depth >> srcMip)), in GX2UTCopySurfaceRectOp()
Dgx2utConvertDepth.cpp132 u32 depth = depthBuffer->surface.depth; in GX2UTConvertDepthBufferToTextureSurfaceOp() local
136 if (depth > 1) in GX2UTConvertDepthBufferToTextureSurfaceOp()
143 if (depth > 1) in GX2UTConvertDepthBufferToTextureSurfaceOp()
231 cb.surface.depth = dstSurface->depth; in GX2UTConvertDepthBufferToTextureSurfaceOp()
Dgx2utClear.cpp554 … ASSERT((colorBuffer->viewFirstSlice + colorBuffer->viewNumSlices <= colorBuffer->surface.depth)); in GX2UTClearRectOp()
617 … ASSERT((depthBuffer->viewFirstSlice + depthBuffer->viewNumSlices <= depthBuffer->surface.depth)); in GX2UTClearRectOp()
/CafeSDK-2.12.13-1/system/include/cafe/demo/
DdemoGfx.h158 void DEMOGfxWaitForSwap(u32 depth, u32 percent);
189 u32 width, u32 height, u32 depth, in DEMOGfxInitColorBufferEx() argument
200 colorBuffer->surface.depth = depth; in DEMOGfxInitColorBufferEx()
209 colorBuffer->viewNumSlices = depth; in DEMOGfxInitColorBufferEx()
227 u32 width, u32 height, u32 depth, in DEMOGfxInitDepthBufferEx() argument
238 depthBuffer->surface.depth = depth; in DEMOGfxInitDepthBufferEx()
247 depthBuffer->viewNumSlices = depth; in DEMOGfxInitDepthBufferEx()
DdemoFont.h42 f32 depth; member
/CafeSDK-2.12.13-1/system/src/lib/demo/headers/cafe/demo/
DdemoGfx.h158 void DEMOGfxWaitForSwap(u32 depth, u32 percent);
189 u32 width, u32 height, u32 depth, in DEMOGfxInitColorBufferEx() argument
200 colorBuffer->surface.depth = depth; in DEMOGfxInitColorBufferEx()
209 colorBuffer->viewNumSlices = depth; in DEMOGfxInitColorBufferEx()
227 u32 width, u32 height, u32 depth, in DEMOGfxInitDepthBufferEx() argument
238 depthBuffer->surface.depth = depth; in DEMOGfxInitDepthBufferEx()
247 depthBuffer->viewNumSlices = depth; in DEMOGfxInitDepthBufferEx()
DdemoFont.h42 f32 depth; member
/CafeSDK-2.12.13-1/system/src/tool/gfx/include/texUtils/
DTC_PluginAPI.h80 if(pSurface->depth < 1) in MaxFacesOrSlices()
87 return pSurface->depth; in MaxFacesOrSlices()
94 int lvlDepth = pSurface->depth; in MaxFacesOrSlices()
135 … sliceCountThisLevel = ((pSurface->depth >> depthShift) > 1) ? (pSurface->depth >> depthShift) : 1;
191 … sliceCountThisLevel = ((pSurface->depth >> depthShift) > 1) ? (pSurface->depth >> depthShift) : 1; in GetMipLevel()
/CafeSDK-2.12.13-1/system/include/cafe/gx2/
Dgx2Surface.h93 u32 depth; member
511 colorBuffer->surface.depth = 1; in _GX2InitColorBuffer()
664 depthBuffer->surface.depth = 1; in GX2InitDepthBuffer()
1193 return surface->depth; in GX2GetSurfaceMipDepth()
1198 u32 depth = surface->depth >> mipLevel; in GX2GetSurfaceMipDepth() local
1200 return (depth >= 1) ? depth : 1; in GX2GetSurfaceMipDepth()
Dgx2Texture.h150 u32 depth, u32 numMips, in GX2InitTexture() argument
176 texture->surface.depth = depth; in GX2InitTexture()
194 texture->viewNumSlices = depth; in GX2InitTexture()
Dgx2Perf.h423 … u32 sequence, u32 *tag, u32 *number, u32 *depth, GX2MetricResult *pResult);
484 …ata, GX2PerfType type, u32 id, u32 sequence, u32 *tag, u32 *number, u32 *depth, GX2MetricResult *… in GX2PerfGetResultByTagSequence() argument
/CafeSDK-2.12.13-1/system/include/cafe/
Daxfx_presets.h629 (fx)->depth = 0.6f; \
642 (fx)->depth = 0.3f; \
655 (fx)->depth = 0.1f; \
673 (fx)->depth = 0.9f; \
686 (fx)->depth = 0.9f; \
699 (fx)->depth = 0.1f; \
712 (fx)->depth = 0.8f; \
725 (fx)->depth = 0.8f; \
738 (fx)->depth = 1.f; \
Daxfx.h870 f32 depth; // 0.f - 1.f member
933 f32 depth; // 0.f - 1.f member
1296 f32 depth; // 0.1 - 1.0 0.1 - 1.0 member
Dax.h968 AXPB_ERROR_CODE AXSetDRCVSSurroundDepth(AXDRCVSOutputMode output, f32 depth);
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/TexConv2/ddsReader/
DDDS_Helpers.cpp65 pSurface->depth = 0; in GetGX2TextureInfo()
71 pSurface->depth++; in GetGX2TextureInfo()
76 pSurface->depth++; in GetGX2TextureInfo()
81 pSurface->depth++; in GetGX2TextureInfo()
86 pSurface->depth++; in GetGX2TextureInfo()
91 pSurface->depth++; in GetGX2TextureInfo()
96 pSurface->depth++; in GetGX2TextureInfo()
102 pSurface->depth = pDDSD->dwDepth; in GetGX2TextureInfo()
107 pSurface->depth = pDDSD->dwDepth; in GetGX2TextureInfo()
112 pSurface->depth = 1; in GetGX2TextureInfo()
[all …]
DDDS_10.cpp338 HeaderDDS10.arraySize = pSurface->depth; in SetupDDSD10()
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/gfd/
DgfdFileTexture.cpp37 u32 depth; member
78 pTXout32->surface.depth = pTXin64->surface.depth; in GFDRepackTexture32Bit()
114 pTXout64->surface.depth = pTXin32->surface.depth; in GFDRepackTexture64Bit()
/CafeSDK-2.12.13-1/system/include/cafe/gx2ut/
Dgx2utInline.h354 …ceStruct(GX2Surface *gx2Surface, GX2RResourceFlags resourceFlags, u32 width, u32 height, u32 depth, in GX2UTInitSurfaceStruct() argument
364 gx2Surface->depth = depth; in GX2UTInitSurfaceStruct()
/CafeSDK-2.12.13-1/system/src/lib/gx2ut/headers/cafe/gx2ut/
Dgx2utInline.h354 …ceStruct(GX2Surface *gx2Surface, GX2RResourceFlags resourceFlags, u32 width, u32 height, u32 depth, in GX2UTInitSurfaceStruct() argument
364 gx2Surface->depth = depth; in GX2UTInitSurfaceStruct()
/CafeSDK-2.12.13-1/system/src/lib/demo/
DdemoFont.c245 basePos[2] = pFontData->depth; in DEMOFontPuts()
369 gDemoFontCurInstance->font.depth = zValue; in DEMOFontSetZValue()
DdemoGfx.c737 void DEMOGfxWaitForSwap(u32 depth, u32 percent) in DEMOGfxWaitForSwap() argument
755 if (flipCount+depth >= swapCount) break; in DEMOGfxWaitForSwap()
DdemoCapture.c268 DEMOCaptureData.colorBuffer.surface.depth = 1; in DEMOCaptureInit()
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/TexConv2/tgaReader/
DtgaReader.cpp347 pSurface->depth = 1; in GetGX2TextureInfo()
415 for(u32 nFace = 0; nFace < pSurface->depth; nFace++) in GenericLoadFunction()
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/TexConv2/texConvert/
DTexConvert.cpp336 printf(" depth = %d\n", pGx2Textures->surface.depth); in PrintTextureSurfaceInfo()