Lines Matching refs:palette
4894 static int stbi__expand_png_palette(stbi__png *a, stbi_uc *palette, int len, int pal_img_n) in stbi__expand_png_palette() argument
4908 p[0] = palette[n ]; in stbi__expand_png_palette()
4909 p[1] = palette[n+1]; in stbi__expand_png_palette()
4910 p[2] = palette[n+2]; in stbi__expand_png_palette()
4916 p[0] = palette[n ]; in stbi__expand_png_palette()
4917 p[1] = palette[n+1]; in stbi__expand_png_palette()
4918 p[2] = palette[n+2]; in stbi__expand_png_palette()
4919 p[3] = palette[n+3]; in stbi__expand_png_palette()
5018 stbi_uc palette[1024], pal_img_n=0; in stbi__parse_png_file() local
5077 palette[i*4+0] = stbi__get8(s); in stbi__parse_png_file()
5078 palette[i*4+1] = stbi__get8(s); in stbi__parse_png_file()
5079 palette[i*4+2] = stbi__get8(s); in stbi__parse_png_file()
5080 palette[i*4+3] = 255; in stbi__parse_png_file()
5094 palette[i*4+3] = stbi__get8(s); in stbi__parse_png_file()
5158 if (!stbi__expand_png_palette(z, palette, pal_len, s->img_out_n)) in stbi__parse_png_file()