Lines Matching refs:Uint8

35 static Uint8 lookup_0[] = {
39 static Uint8 lookup_1[] = {
43 static Uint8 lookup_2[] = {
47 static Uint8 lookup_3[] = {
51 static Uint8 lookup_4[] = {
55 static Uint8 lookup_5[] = {
59 static Uint8 lookup_6[] = {
63 static Uint8 lookup_7[] = {
67 static Uint8 lookup_8[] = {
71 Uint8* SDL_expand_byte[9] = {
776 Uint8
777 SDL_FindColor(SDL_Palette * pal, Uint8 r, Uint8 g, Uint8 b, Uint8 a) in SDL_FindColor()
784 Uint8 pixel = 0; in SDL_FindColor()
813 Uint8 alpha_value = pal->colors[i].a; in SDL_DetectPalette()
831 Uint8 alpha_value = pal->colors[i].a; in SDL_DetectPalette()
854 SDL_MapRGB(const SDL_PixelFormat * format, Uint8 r, Uint8 g, Uint8 b) in SDL_MapRGB()
867 SDL_MapRGBA(const SDL_PixelFormat * format, Uint8 r, Uint8 g, Uint8 b, in SDL_MapRGBA()
868 Uint8 a) in SDL_MapRGBA()
881 SDL_GetRGB(Uint32 pixel, const SDL_PixelFormat * format, Uint8 * r, Uint8 * g, in SDL_GetRGB()
882 Uint8 * b) in SDL_GetRGB()
905 Uint8 * r, Uint8 * g, Uint8 * b, Uint8 * a) in SDL_GetRGBA()
930 static Uint8 *
933 Uint8 *map; in Map1to1()
950 map = (Uint8 *) SDL_malloc(src->ncolors); in Map1to1()
964 static Uint8 *
965 Map1toN(SDL_PixelFormat * src, Uint8 Rmod, Uint8 Gmod, Uint8 Bmod, Uint8 Amod, in Map1toN()
968 Uint8 *map; in Map1toN()
974 map = (Uint8 *) SDL_malloc(pal->ncolors * bpp); in Map1toN()
982 Uint8 R = (Uint8) ((pal->colors[i].r * Rmod) / 255); in Map1toN()
983 Uint8 G = (Uint8) ((pal->colors[i].g * Gmod) / 255); in Map1toN()
984 Uint8 B = (Uint8) ((pal->colors[i].b * Bmod) / 255); in Map1toN()
985 Uint8 A = (Uint8) ((pal->colors[i].a * Amod) / 255); in Map1toN()
992 static Uint8 *