Lines Matching refs:width
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()
503 for(col=0; col< tga->width; col++) in CreateTgaAlphaLayer()
704 size = tga->width * tga->height * tga->pixelDepth; in UncompressTgaImage()
707 UnencodeTgaImage( rawImage, tmpBuff, tga->width, tga->height, tga->pixelDepth ); in UncompressTgaImage()
716 size = tga->width * tga->height * tga->pixelDepth; in UncompressTgaImage()
755 static void UnencodeTgaImage( u8* riPtr, u8* dstPtr, u32 width, u32 height, u32 pixelDepth ) in UnencodeTgaImage() argument
767 maxCount = width * height; // total # of pixels in the uncompressed image in UnencodeTgaImage()
820 static void OrientUncompressedTgaData( u8* srcBuff, u32 width, u32 height, u32 pixelDepth, u32 imag… in OrientUncompressedTgaData() argument
829 size = width * height * pixelDepth; in OrientUncompressedTgaData()
849 dstPtr = (u8*)(dstBuff + (width * pixelDepth * (height - 1))); in OrientUncompressedTgaData()
851 dstYstep = -1 * (width * pixelDepth) * 2; in OrientUncompressedTgaData()
856 dstPtr = (u8*)(dstBuff + (width * pixelDepth * height) - pixelDepth); in OrientUncompressedTgaData()
874 dstPtr = (u8*)(dstBuff + (width * pixelDepth) - pixelDepth); in OrientUncompressedTgaData()
876 dstYstep = ( width * pixelDepth ) * 2; in OrientUncompressedTgaData()
888 for(j=0; j<width; j++) in OrientUncompressedTgaData()
905 size = width * height * pixelDepth; in OrientUncompressedTgaData()
956 for(j=0; j< tga->width; j++) in AdjustTgaForPaletteOffset()