Lines Matching refs:height
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()
501 for(row=0; row<tga->height; row++) 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()
856 dstPtr = (u8*)(dstBuff + (width * pixelDepth * height) - pixelDepth); in OrientUncompressedTgaData()
886 for(i=0; i<height; i++) in OrientUncompressedTgaData()
905 size = width * height * pixelDepth; in OrientUncompressedTgaData()
954 for(i=0; i< tga->height; i++) in AdjustTgaForPaletteOffset()