Lines Matching refs:index

789 	int ypos = 0, xpos = 0, row = 0, index = 0;  in bmp_read_1bit()  local
836 index = ((current_byte & (0x80 >> bit)) != 0 ? 0x01 : 0x00); in bmp_read_1bit()
837 if (im->open[index]) { in bmp_read_1bit()
838 im->open[index] = 0; in bmp_read_1bit()
840 gdImageSetPixel(im, xpos + bit, row, index); in bmp_read_1bit()
849 if (!gdGetByte(&index, infile)) { in bmp_read_1bit()
859 int ypos = 0, xpos = 0, row = 0, index = 0; in bmp_read_4bit() local
906 index = (current_byte >> 4) & 0x0f; in bmp_read_4bit()
907 if (im->open[index]) { in bmp_read_4bit()
908 im->open[index] = 0; in bmp_read_4bit()
910 gdImageSetPixel(im, xpos, row, index); in bmp_read_4bit()
917 index = current_byte & 0x0f; in bmp_read_4bit()
918 if (im->open[index]) { in bmp_read_4bit()
919 im->open[index] = 0; in bmp_read_4bit()
921 gdImageSetPixel(im, xpos + 1, row, index); in bmp_read_4bit()
925 if (!gdGetByte(&index, infile)) { in bmp_read_4bit()
946 int ypos = 0, xpos = 0, row = 0, index = 0; in bmp_read_8bit() local
989 if (!gdGetByte(&index, infile)) { in bmp_read_8bit()
993 if (im->open[index]) { in bmp_read_8bit()
994 im->open[index] = 0; in bmp_read_8bit()
996 gdImageSetPixel(im, xpos, row, index); in bmp_read_8bit()
1000 if (!gdGetByte(&index, infile)) { in bmp_read_8bit()
1021 int ypos = 0, xpos = 0, row = 0, index = 0; in bmp_read_rle() local
1040index = (rle_data & (((1 << info->depth) - 1) << (8 - (j * info->depth)))) >> (8 - (j * info->dept… in bmp_read_rle()
1041 if (im->open[index]) { in bmp_read_rle()
1042 im->open[index] = 0; in bmp_read_rle()
1044 gdImageSetPixel(im, xpos, row, index); in bmp_read_rle()
1053 if (!gdGetByte(&index, infile)) { in bmp_read_rle()
1063 int temp = (index >> (8 - (j * info->depth))) & ((1 << info->depth) - 1); in bmp_read_rle()
1072 if (padding % 2 && !gdGetByte(&index, infile)) { in bmp_read_rle()