Lines Matching refs:Uint8
47 Uint8 planes; /* number of planes of the bitmap */
48 Uint8 mask; /* mask type ( 0 => no mask ) */
49 Uint8 tcomp; /* compression type */
50 Uint8 pad1; /* dummy value, for padding */
52 Uint8 xAspect, /* pixel aspect ratio */
62 Uint8 magic[4+4+4]; in IMG_isLBM()
85 Uint8 id[4], pbm, colormap[MAXCOLORS*3], *MiniBuf, *ptr, count, color, msk; in IMG_LoadLBM_RW()
92 Uint8 flagHAM,flagEHB; in IMG_LoadLBM_RW()
246 MiniBuf = (Uint8 *)SDL_malloc( bytesperline * (nbplanes + stencil) ); in IMG_LoadLBM_RW()
369 ptr = (Uint8 *)Image->pixels; in IMG_LoadLBM_RW()
396 … if ( ( plane + j ) <= 7 ) ptr[j] |= (Uint8)( color & msk ) >> ( 7 - plane - j ); in IMG_LoadLBM_RW()
397 … else ptr[j] |= (Uint8)( color & msk ) << ( plane + j - 7 ); in IMG_LoadLBM_RW()
413 Uint8 maskBit = 0x80; in IMG_LoadLBM_RW()
418 Uint8 dataBody; in IMG_LoadLBM_RW()
454 *ptr++ = (Uint8)(finalcolor>>16); in IMG_LoadLBM_RW()
455 *ptr++ = (Uint8)(finalcolor>>8); in IMG_LoadLBM_RW()
456 *ptr++ = (Uint8)(finalcolor); in IMG_LoadLBM_RW()
458 *ptr++ = (Uint8)(finalcolor); in IMG_LoadLBM_RW()
459 *ptr++ = (Uint8)(finalcolor>>8); in IMG_LoadLBM_RW()
460 *ptr++ = (Uint8)(finalcolor>>16); in IMG_LoadLBM_RW()