| /RvlSDK-3.2.2/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 101 TCAssertMsg( (width <= 1024), "TCSetLayerAttributes: layer width exceeds 1024 texels\n" ); in TCSetLayerAttributes() 112 TCSetLayerDimensions(ly, width, height); in TCSetLayerAttributes() 130 TCAssertMsg( (ly->width ), "TCSetLayerBuffer: layer width 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() 192 TCAssertMsg( (ly->width ), "TCSetLayerValue: layer width is not set\n" ); in TCSetLayerValue() [all …]
|
| D | TCMipmap.cpp | 161 colorLayer->width = ( thisImage->lyColor.width >> thisImage->minLOD ); in TCWriteTplImageMipMaps() 171 …if( (thisImage->lyColor.width != thisImage->lyAlpha.width) || (thisImage->lyColor.height != thisIm… in TCWriteTplImageMipMaps() 179 alphaLayer->width = ( thisImage->lyAlpha.width >> thisImage->minLOD ); in TCWriteTplImageMipMaps() 205 colorLayer->width = ( thisImage->lyColor.width >> level ); in TCWriteTplImageMipMaps() 210 alphaLayer->width = ( thisImage->lyAlpha.width >> level ); in TCWriteTplImageMipMaps() 292 boxWid = srcColor->width / dstColor->width; in TCCreateNextMipMapLayer() 299 for( col=0; col < dstColor->width; col++ ) in TCCreateNextMipMapLayer() 387 saveWidth = (thisImage->lyColor).width; in TCComputeTplMipMapImageBufferSize() 393 (thisImage->lyColor).width = ( saveWidth >> level ); in TCComputeTplMipMapImageBufferSize() 399 (thisImage->lyColor).width = saveWidth; in TCComputeTplMipMapImageBufferSize() [all …]
|
| D | TCTPLToolbox.cpp | 538 sTmp = (u16)( (imgPtr->lyColor).width ); // IMAGE WIDTH in TCWriteTplFile() 567 !TCCheckPowerOfTwo( imgPtr->lyColor.width ) ) in TCWriteTplFile() 569 …wrapS mode must be GX_CLAMP for image %d in script file\n", imgPtr->lyColor.width, imgPtr->index ); in TCWriteTplFile() 946 u32 width, height; in TCComputeTplImageBufferSize_4Bit() local 948 width = (thisImage->lyColor).width; in TCComputeTplImageBufferSize_4Bit() 952 tileCols = ((width + 7) >> 3); in TCComputeTplImageBufferSize_4Bit() 968 u32 width, height; in TCComputeTplImageBufferSize_8Bit() local 971 width = (thisImage->lyColor).width; in TCComputeTplImageBufferSize_8Bit() 975 tileCols = ((width + 7) >> 3); in TCComputeTplImageBufferSize_8Bit() 991 u32 width, height; in TCComputeTplImageBufferSize_16Bit() local [all …]
|
| D | TCCreateS3.cpp | 141 s3RGB.lWidth = lyColor->width; in TCConvertToS3() 143 s3RGB.lPitch = lyColor->width * sizeof(S3_COLOR); in TCConvertToS3() 145 size = lyColor->width * lyColor->height * sizeof(S3_COLOR); in TCConvertToS3() 169 for( col = 0; col < lyColor->width; col++ ) in TCConvertToS3() 206 lyCmp->width = lyColor->width; in TCConvertToS3()
|
| /RvlSDK-3.2.2/build/libraries/demo/src/ |
| D | DEMOPuts.c | 224 u16 width = 64; in DEMOLoadFont() local 225 u16 height = (u16)( (0x80-0x20)*8*8 / width ); in DEMOLoadFont() 230 width, // weight in DEMOLoadFont() 259 MTXScale( fontTMtx, 1.0f/(float)width, 1.0f/(float)height, 1.0f ); in DEMOLoadFont() 275 void DEMOSetupScrnSpc( s32 width, s32 height, float depth ) in DEMOSetupScrnSpc() argument 290 MTXOrtho( pMtx, top, (float)height, 0.0f, (float)width, 0.0f, -depth ); in DEMOSetupScrnSpc() 306 void DEMOInitCaption( s32 font_type, s32 width, s32 height ) in DEMOInitCaption() argument 309 DEMOSetupScrnSpc( width, height, 100.0f ); in DEMOInitCaption() 614 s32 width; in DEMORFPuts() local 632 width = 0; in DEMORFPuts() [all …]
|
| /RvlSDK-3.2.2/build/demos/videmo/src/ |
| D | viewer.c | 145 u32 width; // image width member 175 static void readConvertBmp(char* fileName, u8* dest, u32* width, u32* height) in readConvertBmp() argument 213 OSReport(" width: %d\n", bInfo.width); in readConvertBmp() 226 *width = (bInfo.width + 15) / 16 * 16; in readConvertBmp() 254 u32 width; in idle() local 287 readConvertBmp(dirent.name, ip->image, &width, &height); in idle() 295 readConvertBmp(dirent.name, ip->image, &width, &height); in idle() 297 firstLength = width * height * 2; in idle() 312 readConvertBmp(fn, ip->image + firstLength, &width, &height); in idle() 333 width = 640; in idle() [all …]
|
| D | cross-color.c | 80 static void YuvPset(s32 posX, s32 posY, s32 width, u32 *xfb, u8 luma, u8 u, u8 v) in YuvPset() argument 85 ptr = xfb + (posX>>1) + (width/2) * posY; in YuvPset() 115 static void YuvCircle(s32 posX, s32 posY, s32 width, s32 r, u32 *xfb, u8 luma, u8 u, u8 v) in YuvCircle() argument 124 YuvPset(posX + x, posY + y, width, xfb, luma, u, v); in YuvCircle() 125 YuvPset(posX - x, posY + y, width, xfb, luma, u, v); in YuvCircle() 126 YuvPset(posX + x, posY - y, width, xfb, luma, u, v); in YuvCircle() 127 YuvPset(posX - x, posY - y, width, xfb, luma, u, v); in YuvCircle() 128 YuvPset(posX + y, posY + x, width, xfb, luma, u, v); in YuvCircle() 129 YuvPset(posX - y, posY + x, width, xfb, luma, u, v); in YuvCircle() 130 YuvPset(posX + y, posY - x, width, xfb, luma, u, v); in YuvCircle() [all …]
|
| D | bmp.c | 67 bi->width = REV32(*(u32*)(bInfoHeader + 0x04)); in openBmp() 112 bytesPerLine = (bi->width * bi->biBitCount + 7) / 8; in bmpToYCbCr() 126 for(col = 0; col < bi->width; col++) in bmpToYCbCr() 217 for( ; col < (bi->width + 15) / 16 * 16; col += 2) in bmpToYCbCr() 227 dest = destStart + (bi->width + 15) / 16 * 16 * 2; in bmpToYCbCr() 241 for(col = 0; col < (bi->width + 15) / 16 * 16; col += 2) in bmpToYCbCr()
|
| /RvlSDK-3.2.2/build/demos/kpaddemo/src/ |
| D | graphic.c | 109 void draw_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_line() argument 112 GXSetLineWidth( (u8)(s32)(width * 6.0f + 0.5f), GX_TO_ZERO ) ; in draw_line() 124 void draw_dashed_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_dashed_line() argument 132 GXSetLineWidth( (u8)(s32)(width * 6.0f + 0.5f), GX_TO_ZERO ) ; in draw_dashed_line() 146 void draw_arrow( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_arrow() argument 156 f = width * 2.0f / f ; in draw_arrow() 160 draw_line( x1,y1, x2,y2, clr, width ) ; in draw_arrow() 161 draw_line( x2,y2, x2-vx-vx-vy,y2-vy-vy+vx, clr, width ) ; in draw_arrow() 162 draw_line( x2,y2, x2-vx-vx+vy,y2-vy-vy-vx, clr, width ) ; in draw_arrow() 169 void draw_dashed_arrow( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_dashed_arrow() argument [all …]
|
| D | weight.c | 60 static void draw_line ( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) ; 61 static void draw_box ( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) ; 315 static void draw_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_line() argument 318 GXSetLineWidth( (u8)(s32)( width * 6.0f + 0.5f ), GX_TO_ZERO ) ; in draw_line() 326 static void draw_box( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_box() argument 328 draw_line( x1, y1, x2, y1, clr, width ) ; in draw_box() 329 draw_line( x2, y1, x2, y2, clr, width ) ; in draw_box() 330 draw_line( x2, y2, x1, y2, clr, width ) ; in draw_box() 331 draw_line( x1, y2, x1, y1, clr, width ) ; in draw_box()
|
| /RvlSDK-3.2.2/build/demos/kpadOlddemo/src/ |
| D | graphic.c | 115 void draw_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_line() argument 118 GXSetLineWidth( (u8)(s32)(width * 6.0f + 0.5f), GX_TO_ZERO ) ; in draw_line() 130 void draw_dashed_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_dashed_line() argument 138 GXSetLineWidth( (u8)(s32)(width * 6.0f + 0.5f), GX_TO_ZERO ) ; in draw_dashed_line() 152 void draw_arrow( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_arrow() argument 163 f = width * 2.0f / f ; in draw_arrow() 167 draw_line( x1,y1, x2,y2, clr, width ) ; in draw_arrow() 168 draw_line( x2,y2, x2-vx-vx-vy,y2-vy-vy+vx, clr, width ) ; in draw_arrow() 169 draw_line( x2,y2, x2-vx-vx+vy,y2-vy-vy-vx, clr, width ) ; in draw_arrow() 176 void draw_dashed_arrow( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_dashed_arrow() argument [all …]
|
| /RvlSDK-3.2.2/build/tools/TexConv/src/ |
| D | tga.cpp | 84 u32 width; 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… 140 tga.width = (u32)( *((u16*)( rawBits + 0x0C )) ); 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() 357 for(col=0; col<tga->width; col++) in CreateTgaColorLayer() 492 TCSetLayerAttributes( newLayer, LY_IMAGE_ALPHA_A8, tga->width, tga->height ); in CreateTgaAlphaLayer() [all …]
|
| /RvlSDK-3.2.2/man/en_US/CSS/ |
| D | revolution.css | 12 border-bottom-width : 5px; 24 border-left-width : 8px; 28 border-bottom-width : 2px; 41 border-left-width : 8px; 45 border-bottom-width : 2px; 101 border-right-width : 8px; 126 border-right-width : 8px; 140 width : 90%; 149 width : 20%; 169 width : 95%; [all …]
|
| D | titles2.css | 9 …-style : double;border-left-width : 8px;border-bottom-style : solid;margin-left : 1px;margin-botto… 11 …-style : double;border-left-width : 8px;border-bottom-style : solid;margin-left : 1px;margin-botto…
|
| /RvlSDK-3.2.2/build/demos/kpadOlddemo/include/ |
| D | graphic.h | 39 extern void draw_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) ; 40 extern void draw_dashed_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ); 41 extern void draw_arrow( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) ; 42 extern void draw_dashed_arrow( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ); 43 extern void draw_circle( f32 ox, f32 oy, f32 radius, GXColor clr, f32 width ) ;
|
| /RvlSDK-3.2.2/build/demos/kpaddemo/include/ |
| D | graphic.h | 39 extern void draw_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) ; 40 extern void draw_dashed_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ); 41 extern void draw_arrow( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) ; 42 extern void draw_dashed_arrow( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ); 43 extern void draw_circle( f32 ox, f32 oy, f32 radius, GXColor clr, f32 width ) ;
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/Culling/ |
| D | cul-viewport.c | 36 s32 width; member 105 myViewPort.width = (s16) myScene.screen_wd; in main() 107 myScissor.width = (u16) myScene.screen_wd; in main() 165 (f32)(si->xorg + si->width - 1), in SceneDraw() 169 (f32)(v->xorg + v->width - 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-3.2.2/build/demos/osdemo/src/ |
| D | fontdemo2.c | 41 s32 width; in main() local 80 string = OSGetFontTexel(string, image, 0, 24 / 4, &width); in main() 90 OSReport("\nwidth %d\n", width); in main()
|
| D | fontdemo1.c | 101 s32 width; in DrawChar() local 123 OSGetFontTexture(buffer, &image, &xChar, &yChar, &width); in DrawChar() 127 return width; in DrawChar() 139 s32 width; in DrawString() local 141 string = OSGetFontTexture(string, &image, &xChar, &yChar, &width); in DrawString() 144 cx += width; in DrawString()
|
| /RvlSDK-3.2.2/include/revolution/os/ |
| D | OSFont.h | 61 u16 width; // The width of the widest character member 104 char* OSGetFontWidth ( const char* string, s32* width ); 116 char* OSGetFontTexture( const char* string, void** image, s32 *x, s32 *y, s32* width ); 133 char* OSGetFontTexel ( const char* string, void* image, s32 pos, s32 stride, s32* width );
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/Texture/ |
| D | tex-tlut.c | 74 u16 width; member 533 to->width = to->height = 1; in CreateColorMapTexture() 536 to->width *= 2; in CreateColorMapTexture() 537 if ( to->width * to->height >= ciSize ) in CreateColorMapTexture() 541 if ( to->width * to->height >= ciSize ) in CreateColorMapTexture() 556 to->width, in CreateColorMapTexture() 567 for ( iw = 0 ; iw < to->width ; ++iw ) in CreateColorMapTexture() 578 to->width, in CreateColorMapTexture() 622 to->width = SAMPLE_IMG_WIDTH; in CreateSampleImgTexture() 637 to->width, in CreateSampleImgTexture() [all …]
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/PixelProc/ |
| D | pix-z-comp.c | 128 myViewPort[i].width *= rmp->fbWidth/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 | 133 myViewPort[i].width *= rmp->fbWidth/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()
|
| /RvlSDK-3.2.2/build/demos/wbcdemo/src/ |
| D | handling_weight.c | 80 static void draw_line ( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ); 81 static void draw_box ( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ); 599 static void draw_line( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_line() argument 602 GXSetLineWidth( (u8)(s32)(width * 6.0f + 0.5f), GX_TO_ZERO ) ; in draw_line() 610 static void draw_box( f32 x1, f32 y1, f32 x2, f32 y2, GXColor clr, f32 width ) in draw_box() argument 612 draw_line(x1, y1, x2, y1, clr, width); in draw_box() 613 draw_line(x2, y1, x2, y2, clr, width); in draw_box() 614 draw_line(x2, y2, x1, y2, clr, width); in draw_box() 615 draw_line(x1, y2, x1, y1, clr, width); in draw_box()
|
| /RvlSDK-3.2.2/include/charPipeline/tc/ |
| D | TCLayer.h | 45 u32 width; member 55 void TCSetLayerAttributes( TCLayer* ly, u32 type, u32 width,
|