| /RvlSDK-2.1/build/demos/gxdemo/src/Indirect/ |
| D | ind-pseudo-3d.c | 50 coord height[HFH][HFW]; // height field coordinates variable 66 void adjustPoint(coord height[HFH][HFW], u16 r, u16 c, f32 h); 113 void adjustPoint(coord height[HFH][HFW], u16 r, u16 c, f32 h) in adjustPoint() 123 height[r][c].z = h; in adjustPoint() 143 height[r][c].x = (f32) c - HFW/2.0f; in createHeightField() 144 height[r][c].y = (f32) r - HFH/2.0f; in createHeightField() 145 height[r][c].z = (f32) 0; in createHeightField() 146 height[r][c].nx = (f32) 0; in createHeightField() 147 height[r][c].ny = (f32) 0; in createHeightField() 148 height[r][c].nz = (f32) 1; in createHeightField() [all …]
|
| /RvlSDK-2.1/build/demos/videmo/src/ |
| D | viewer.c | 141 u32 height; // image height member 172 static void readConvertBmp(char* fileName, u8* dest, u32* width, u32* height) in readConvertBmp() argument 211 OSReport(" height: %d\n", bInfo.height); in readConvertBmp() 224 *height = (bInfo.height + 1) / 2 * 2; in readConvertBmp() 252 u32 height; in idle() local 284 readConvertBmp(dirent.name, ip->image, &width, &height); in idle() 292 readConvertBmp(dirent.name, ip->image, &width, &height); in idle() 294 firstLength = width * height * 2; in idle() 309 readConvertBmp(fn, ip->image + firstLength, &width, &height); in idle() 331 height = length / (640*2); in idle() [all …]
|
| /RvlSDK-2.1/build/libraries/tc/src/ |
| D | TCLayer.cpp | 84 static void TCSetLayerDimensions( TCLayer* ly, u32 width, u32 height ); 98 void TCSetLayerAttributes ( TCLayer* ly, u32 type, u32 width, u32 height ) in TCSetLayerAttributes() argument 102 TCAssertMsg( (height <= 1024), "TCSetLayerAttributes: layer width exceeds 1024 texels\n" ); in TCSetLayerAttributes() 112 TCSetLayerDimensions(ly, width, height); in TCSetLayerAttributes() 131 TCAssertMsg( (ly->height), "TCSetLayerBuffer: layer height is not set\n" ); in TCSetLayerBuffer() 142 size = ( ly->width * ly->height * 3 ); in TCSetLayerBuffer() 146 size = ( ly->width * ly->height * 2 ); in TCSetLayerBuffer() 150 size = ( ly->width * ly->height ); in TCSetLayerBuffer() 158 size = ( ( ly->width * ly->height * 4 ) >> 3 ); in TCSetLayerBuffer() 307 newLy->height = dfPtr->lyColor->height; in TCMakeImColorLayer() [all …]
|
| D | TCMipmap.cpp | 162 colorLayer->height = ( thisImage->lyColor.height >> thisImage->minLOD ); in TCWriteTplImageMipMaps() 171 …or.width != thisImage->lyAlpha.width) || (thisImage->lyColor.height != thisImage->lyAlpha.height) ) in TCWriteTplImageMipMaps() 180 alphaLayer->height = ( thisImage->lyAlpha.height >> thisImage->minLOD ); in TCWriteTplImageMipMaps() 206 colorLayer->height = ( thisImage->lyColor.height >> level ); in TCWriteTplImageMipMaps() 211 alphaLayer->height = ( thisImage->lyAlpha.height >> level ); in TCWriteTplImageMipMaps() 293 boxHgt = srcColor->height / dstColor->height; in TCCreateNextMipMapLayer() 297 for( row=0; row < dstColor->height; row++) in TCCreateNextMipMapLayer() 388 saveHeight = (thisImage->lyColor).height; in TCComputeTplMipMapImageBufferSize() 394 (thisImage->lyColor).height = ( saveHeight >> level ); in TCComputeTplMipMapImageBufferSize() 400 (thisImage->lyColor).height = saveHeight; in TCComputeTplMipMapImageBufferSize() [all …]
|
| D | TCTPLToolbox.cpp | 527 sTmp = (u16)( (imgPtr->lyColor).height ); // (2B) in TCWriteTplFile() 567 !TCCheckPowerOfTwo( imgPtr->lyColor.height ) ) in TCWriteTplFile() 569 …rapT mode must be GX_CLAMP for image %d in script file\n", imgPtr->lyColor.height, imgPtr->index ); in TCWriteTplFile() 941 u32 width, height; in TCComputeTplImageBufferSize_4Bit() local 944 height = (thisImage->lyColor).height; in TCComputeTplImageBufferSize_4Bit() 950 tileRows = ((height + 7) >> 3); in TCComputeTplImageBufferSize_4Bit() 963 u32 width, height; in TCComputeTplImageBufferSize_8Bit() local 967 height = (thisImage->lyColor).height; in TCComputeTplImageBufferSize_8Bit() 973 tileRows = ((height + 3) >> 2); in TCComputeTplImageBufferSize_8Bit() 986 u32 width, height; in TCComputeTplImageBufferSize_16Bit() local [all …]
|
| D | TCCreateS3.cpp | 142 s3RGB.lHeight = lyColor->height; in TCConvertToS3() 145 size = lyColor->width * lyColor->height * sizeof(S3_COLOR); in TCConvertToS3() 167 for( row = 0; row < lyColor->height; row++ ) in TCConvertToS3() 207 lyCmp->height = lyColor->height; in TCConvertToS3()
|
| D | TCImageList.cpp | 109 lyPtr->height = dfPtr->lyColor->height; in TCSetImageValues() 129 lyPtr->height = dfPtr->lyAlpha->height; in TCSetImageValues()
|
| /RvlSDK-2.1/build/tools/TexConv/src/ |
| D | tga.cpp | 85 u32 height; member 104 static void UnencodeTgaImage( u8* riPtr, u8* dstPtr, u32 width, u32 height, u32 pixelDepth ); 105 static void OrientUncompressedTgaData( u8* srcBuff, u32 width, u32 height, u32 pixelDepth, u32 imag… 141 tga.height = (u32)( *((u16*)( rawBits + 0x0E )) ); in ReadTgaFile() 236 if( (tga.width == 0) || (tga.height == 0) || (tga.pixelDepth == 0) ) in ReadTgaFile() 244 tgaImageSize = tga.width * tga.height * tga.pixelDepth; in ReadTgaFile() 280 OrientUncompressedTgaData( tga.imageData, tga.width, tga.height, in ReadTgaFile() 340 TCSetLayerAttributes( newLayer, type, tga->width, tga->height ); in CreateTgaColorLayer() 355 for(row=0; row<tga->height; row++) in CreateTgaColorLayer() 492 TCSetLayerAttributes( newLayer, LY_IMAGE_ALPHA_A8, tga->width, tga->height ); in CreateTgaAlphaLayer() [all …]
|
| /RvlSDK-2.1/build/demos/gxdemo/src/Culling/ |
| D | cul-viewport.c | 37 s32 height; member 106 myViewPort.height = (s16) myScene.screen_ht; in main() 108 myScissor.height = (u16) myScene.screen_ht; in main() 166 (f32)(si->yorg + si->height - 1), in SceneDraw() 170 (f32)(v->yorg + v->height - 1), in SceneDraw() 181 GXSetViewport( v->xorg, v->yorg, v->width, v->height, in SceneDraw() 183 GXSetScissor( (u32)si->xorg, (u32)si->yorg, (u32)si->width, (u32)si->height ); in SceneDraw() 214 (u16)(si->xorg + si->width), (u16)(si->yorg + si->height) ); in SceneDrawInfo() 217 v->xorg + v->width, v->yorg + v->height ); in SceneDrawInfo() 223 case 1: x = si->xorg+si->width-1; y = si->yorg+si->height-1; break; in SceneDrawInfo() [all …]
|
| /RvlSDK-2.1/build/libraries/demo/src/ |
| D | DEMOPuts.c | 216 u16 height = (u16)( (0x80-0x20)*8*8 / width ); in DEMOLoadFont() local 222 height, // height in DEMOLoadFont() 250 MTXScale( fontTMtx, 1.0f/(float)width, 1.0f/(float)height, 1.0f ); in DEMOLoadFont() 265 void DEMOSetupScrnSpc( s32 width, s32 height, float depth ) in DEMOSetupScrnSpc() argument 280 MTXOrtho( pMtx, top, (float)height, 0.0f, (float)width, 0.0f, -depth ); in DEMOSetupScrnSpc() 295 void DEMOInitCaption( s32 font_type, s32 width, s32 height ) in DEMOInitCaption() argument 298 DEMOSetupScrnSpc( width, height, 100.0f ); in DEMOInitCaption() 832 s32 height; in DEMOGetRFTextHeight() local 836 height = 1; in DEMOGetRFTextHeight() 841 ++height; in DEMOGetRFTextHeight() [all …]
|
| /RvlSDK-2.1/build/demos/gxdemo/src/PixelProc/ |
| D | pix-z-comp.c | 129 myViewPort[i].height *= rmp->efbHeight/2; in main() 196 GXSetViewport( v->xorg, v->yorg, v->width, v->height, in SceneDraw() 198 GXSetScissor( (u32)v->xorg, (u32)v->yorg, (u32)v->width, (u32)v->height ); in SceneDraw() 201 myDrawModel( (s32)v->width, (s32)v->height, z ); in SceneDraw() 238 DEMOInitCaption( DM_FT_XLU, v->width, v->height ); in SceneDrawInfo() 390 void myDrawModel( s32 width, s32 height, ZMode *z ) in myDrawModel() argument 420 DEMOSetupScrnSpc( width, height, SCREEN_DEPTH ); in myDrawModel() 421 MTXScale( mtx, ((float)width)/200.0f, ((float)height)/200.f, sceneZScale ); in myDrawModel()
|
| D | pix-a-comp.c | 134 myViewPort[i].height *= rmp->efbHeight/2; in main() 217 GXSetViewport( v->xorg, v->yorg, v->width, v->height, in SceneDraw() 219 GXSetScissor( (u32)v->xorg, (u32)v->yorg, (u32)v->width, (u32)v->height ); in SceneDraw() 233 myDrawModel(a, (s32)v->width, (s32)v->height ); in SceneDraw() 257 DEMOInitCaption( DM_FT_XLU, v->width, v->height ); in SceneDrawInfo() 492 void myDrawModel(AlphaMode *a, s32 width, s32 height ) in myDrawModel() argument 522 DEMOSetupScrnSpc( width, height, SCREEN_DEPTH ); in myDrawModel() 523 MTXScale( mtx, ((float)width)/200.0f, ((float)height)/200.f, 1.0f ); in myDrawModel()
|
| D | pix-blend.c | 125 myViewPort[i].height *= rmp->efbHeight/2; in main() 191 GXSetViewport( v->xorg, v->yorg, v->width, v->height, in SceneDraw() 193 GXSetScissor( (u32)v->xorg, (u32)v->yorg, (u32)v->width, (u32)v->height ); in SceneDraw() 236 DEMOInitCaption( DM_FT_OPQ, v->width, v->height ); in SceneDrawInfo()
|
| D | pix-logic.c | 122 myViewPort[i].height *= rmp->efbHeight/2; in main() 210 GXSetViewport( v->xorg, v->yorg, v->width, v->height, in SceneDraw() 212 GXSetScissor( (u32)v->xorg, (u32)v->yorg, (u32)v->width, (u32)v->height ); in SceneDraw() 246 DEMOInitCaption( DM_FT_OPQ, v->width, v->height ); in SceneDrawInfo()
|
| /RvlSDK-2.1/build/demos/gxdemo/src/Texture/ |
| D | tex-tlut.c | 75 u16 height; member 533 to->width = to->height = 1; in CreateColorMapTexture() 537 if ( to->width * to->height >= ciSize ) in CreateColorMapTexture() 540 to->height *= 2; in CreateColorMapTexture() 541 if ( to->width * to->height >= ciSize ) in CreateColorMapTexture() 557 to->height, in CreateColorMapTexture() 565 for ( ih = 0 ; ih < to->height ; ++ih ) in CreateColorMapTexture() 579 to->height, in CreateColorMapTexture() 623 to->height = SAMPLE_IMG_HEIGHT; in CreateSampleImgTexture() 638 to->height, in CreateSampleImgTexture() [all …]
|
| D | tex-fmt-tpl.c | 63 u32 height; member 317 sc->modelScale * sc->texture.height / 2, in DrawTick() 318 sc->modelScale * sc->texture.height / 2 ); in DrawTick() 441 to->height = tdp->textureHeader->height; in GetTplTexture() 451 tdp->textureHeader->height, in GetTplTexture() 472 tdp->textureHeader->height, in GetTplTexture() 492 OSReport("Height = %04d\n", tdp->textureHeader->height); in GetTplTexture()
|
| D | tex-lod.c | 61 s32 height; member 250 sc->subScene[i].viewPort.height = (s32)(sht / 2); in DrawInit() 294 tdp->textureHeader->height, in DrawTick() 310 (f32)ssc->viewPort.height, in DrawTick() 317 (u32)ssc->viewPort.height ); in DrawTick() 359 (s32)ssc->viewPort.height ); in DrawTick()
|
| D | tex-filter.c | 63 s32 height; member 251 sc->viewPorts[i].height = (s32)(sht / 2); in DrawInit() 308 tdp->textureHeader->height, in DrawTick() 481 (f32)vp->height, in SetViewPort() 488 (u32)vp->height ); in SetViewPort()
|
| /RvlSDK-2.1/include/charPipeline/tc/ |
| D | TCLayer.h | 46 u32 height; member 56 u32 height );
|
| /RvlSDK-2.1/build/demos/gxdemo/src/Framebuffer/ |
| D | frb-fld-int.c | 95 u16 height; // screen height member 124 mystate.height = rmode->viHeight; // Note: VI Height, not fb height!!! in main() 175 top = znear * (ms->height / 2.0F) / zmid; in CameraInit() 298 MTXTrans(m, -ms->width/2.0F, -ms->height/2.0F, 0.0F); in DrawTick()
|
| D | frb-copy.c | 68 s32 height; member 332 sc->copyTex.height = 32; in DrawInit() 420 sc->copyTex.height -= ( DEMOPadGetSubStickY(0) / 24 ) * 2; in AnimTick() 427 Clamp(sc->copyTex.height, 16, sc->copy_height_max); in AnimTick() 429 Clamp(sc->copyTex.top, 0, sc->screen_height - sc->copyTex.height); in AnimTick() 671 y1 = (s16)( ct->top + ct->height ); in DrawTexCopyFrame() 706 theight = (u16)ct->height; in CopyTextureFromFB() 720 (u16)ct->height ); in CopyTextureFromFB()
|
| /RvlSDK-2.1/include/revolution/gx/ |
| D | GXTexture.h | 119 u16 height, 129 u16 height, 166 u16 height,
|
| /RvlSDK-2.1/build/demos/gxdemo/src/Tev/ |
| D | tev-ztex.c | 59 s16 height; member 93 static void SetScreenSpace ( u16 width, u16 height, f32 depth ); 374 ypos1 = (s16)(sp->ypos + sp->height); in Draw3DSprite() 500 tdp->textureHeader->height, in MyTexInit() 594 static void SetScreenSpace( u16 width, u16 height, f32 depth ) in SetScreenSpace() argument 600 MTXOrtho(mp, (f32)height, 0.0F, 0.0F, (f32)width, 0.0F, -depth); in SetScreenSpace()
|
| /RvlSDK-2.1/build/demos/carddemo/include/ |
| D | cardutil.h | 42 static void DrawIcon(s16 x, s16 y, void* image, void* tlut, u16 width, u16 height, int format); 95 …Icon ( int x, int y, int size, void* image, void* tlut, u16 width, u16 height, int format );
|
| /RvlSDK-2.1/build/demos/gxdemo/src/TexGen/ |
| D | spheremap.c | 219 u16 width, height; in drawSphereMap() local 233 height = GXGetTexObjHeight(spheremap); in drawSphereMap() 249 (f32)width, (f32)height, in drawSphereMap() 253 GXSetTexCopySrc(0, 0, width, height); in drawSphereMap() 254 GXSetTexCopyDst(width, height, fmt, GX_FALSE); in drawSphereMap()
|