Home
last modified time | relevance | path

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

123

/RvlSDK-3.1.4/build/libraries/tc/src/
DTCLayer.cpp84 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 …]
DTCMipmap.cpp161 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 …]
DTCTPLToolbox.cpp533 sTmp = (u16)( (imgPtr->lyColor).width ); // IMAGE WIDTH in TCWriteTplFile()
562 !TCCheckPowerOfTwo( imgPtr->lyColor.width ) ) in TCWriteTplFile()
564 …wrapS mode must be GX_CLAMP for image %d in script file\n", imgPtr->lyColor.width, imgPtr->index ); in TCWriteTplFile()
941 u32 width, height; in TCComputeTplImageBufferSize_4Bit() local
943 width = (thisImage->lyColor).width; in TCComputeTplImageBufferSize_4Bit()
947 tileCols = ((width + 7) >> 3); in TCComputeTplImageBufferSize_4Bit()
963 u32 width, height; in TCComputeTplImageBufferSize_8Bit() local
966 width = (thisImage->lyColor).width; in TCComputeTplImageBufferSize_8Bit()
970 tileCols = ((width + 7) >> 3); in TCComputeTplImageBufferSize_8Bit()
986 u32 width, height; in TCComputeTplImageBufferSize_16Bit() local
[all …]
DTCCreateS3.cpp141 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.1.4/build/libraries/demo/src/
DDEMOPuts.c215 u16 width = 64; in DEMOLoadFont() local
216 u16 height = (u16)( (0x80-0x20)*8*8 / width ); in DEMOLoadFont()
221 width, // weight 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()
600 s32 width; in DEMORFPuts() local
618 width = 0; in DEMORFPuts()
[all …]
/RvlSDK-3.1.4/build/demos/videmo/src/
Dviewer.c142 u32 width; // image width member
172 static void readConvertBmp(char* fileName, u8* dest, u32* width, u32* height) in readConvertBmp() argument
210 OSReport(" width: %d\n", bInfo.width); in readConvertBmp()
223 *width = (bInfo.width + 15) / 16 * 16; in readConvertBmp()
251 u32 width; 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()
330 width = 640; in idle()
[all …]
Dcross-color.c79 static void YuvPset(s32 posX, s32 posY, s32 width, u32 *xfb, u8 luma, u8 u, u8 v) in YuvPset() argument
84 ptr = xfb + (posX>>1) + (width/2) * posY; in YuvPset()
114 static void YuvCircle(s32 posX, s32 posY, s32 width, s32 r, u32 *xfb, u8 luma, u8 u, u8 v) in YuvCircle() argument
123 YuvPset(posX + x, posY + y, width, xfb, luma, u, v); in YuvCircle()
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 + y, posY + x, 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()
[all …]
Dbmp.c67 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.1.4/build/demos/kpaddemo/src/
Dgraphic.c109 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 …]
/RvlSDK-3.1.4/build/demos/kpadOlddemo/src/
Dgraphic.c115 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.1.4/build/tools/TexConv/src/
Dtga.cpp84 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.1.4/build/demos/kpadOlddemo/include/
Dgraphic.h39 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.1.4/build/demos/kpaddemo/include/
Dgraphic.h39 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.1.4/build/demos/gxdemo/src/Culling/
Dcul-viewport.c36 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.1.4/man/en_US/CSS/
Dtitles2.css9 …-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…
Drevolution.css12 border-bottom-width : 5px;
24 border-left-width : 8px;
28 border-bottom-width : 2px;
83 border-right-width : 8px;
/RvlSDK-3.1.4/build/demos/osdemo/src/
Dfontdemo2.c41 s32 width; in main() local
80 string = OSGetFontTexel(string, image, 0, 24 / 4, &width); in main()
90 OSReport("\nwidth %d\n", width); in main()
Dfontdemo1.c101 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.1.4/include/revolution/os/
DOSFont.h61 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.1.4/build/demos/carddemo/src/
Dlistdemo.c381 s32 width; in DrawMenu() local
390 width = DEMOGetRFTextWidth(item); in DrawMenu()
391 if (cx < width) in DrawMenu()
393 cx = width; in DrawMenu()
449 int width; in DrawUsage() local
451 width = DEMORFPrintf(16, 45, 0, "SLOT-%c: ", "AB"[slot]); in DrawUsage()
454 width += DEMORFPrintf((s16) (16 + width), 45, 0, "<B> %s ", commandB); in DrawUsage()
458 width += DEMORFPrintf((s16) (16 + width), 45, 0, "<A> %s ", commandA); in DrawUsage()
462 width += DEMORFPrintf((s16) (16 + width), 45, 0, message); in DrawUsage()
464 return width; in DrawUsage()
[all …]
/RvlSDK-3.1.4/build/demos/gxdemo/src/Texture/
Dtex-tlut.c74 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.1.4/build/demos/gxdemo/src/PixelProc/
Dpix-z-comp.c128 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()
Dpix-a-comp.c133 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.1.4/include/charPipeline/tc/
DTCLayer.h45 u32 width; member
55 void TCSetLayerAttributes( TCLayer* ly, u32 type, u32 width,
/RvlSDK-3.1.4/include/revolution/vi/
Dvifuncs.h119 #define VIPadFrameBufferWidth(width) ((u16)(((u16)(width) + 15) & ~15)) argument

123