Lines Matching refs:i

124 	unsigned int i, j;  in read_image()  local
162 for (i = 0; i < logo_height; i++) { in read_image()
163 logo_data[i] = malloc(logo_width*sizeof(struct color)); in read_image()
164 if (!logo_data[i]) in read_image()
173 for (i = 0; i < logo_height; i++) in read_image()
175 logo_data[i][j].red = logo_data[i][j].green = in read_image()
176 logo_data[i][j].blue = 255*(1-get_number(fp)); in read_image()
182 for (i = 0; i < logo_height; i++) in read_image()
184 logo_data[i][j].red = logo_data[i][j].green = in read_image()
185 logo_data[i][j].blue = get_number255(fp, maxval); in read_image()
191 for (i = 0; i < logo_height; i++) in read_image()
193 logo_data[i][j].red = get_number255(fp, maxval); in read_image()
194 logo_data[i][j].green = get_number255(fp, maxval); in read_image()
195 logo_data[i][j].blue = get_number255(fp, maxval); in read_image()
279 unsigned int i, j; in write_logo_mono() local
283 for (i = 0; i < logo_height; i++) in write_logo_mono()
285 if (!is_black(logo_data[i][j]) && !is_white(logo_data[i][j])) in write_logo_mono()
292 for (i = 0; i < logo_height; i++) { in write_logo_mono()
295 if (logo_data[i][j].red) in write_logo_mono()
307 unsigned int i, j, k; in write_logo_vga16() local
311 for (i = 0; i < logo_height; i++) in write_logo_vga16()
314 if (is_equal(logo_data[i][j], clut_vga16[k])) in write_logo_vga16()
326 for (i = 0; i < logo_height; i++) in write_logo_vga16()
329 if (is_equal(logo_data[i][j], clut_vga16[k])) in write_logo_vga16()
334 if (is_equal(logo_data[i][j], clut_vga16[k])) in write_logo_vga16()
347 unsigned int i, j, k; in write_logo_clut224() local
350 for (i = 0; i < logo_height; i++) in write_logo_clut224()
353 if (is_equal(logo_data[i][j], logo_clut[k])) in write_logo_clut224()
360 logo_clut[logo_clutsize++] = logo_data[i][j]; in write_logo_clut224()
368 for (i = 0; i < logo_height; i++) in write_logo_clut224()
371 if (is_equal(logo_data[i][j], logo_clut[k])) in write_logo_clut224()
381 for (i = 0; i < logo_clutsize; i++) { in write_logo_clut224()
382 write_hex(logo_clut[i].red); in write_logo_clut224()
383 write_hex(logo_clut[i].green); in write_logo_clut224()
384 write_hex(logo_clut[i].blue); in write_logo_clut224()
393 unsigned int i, j; in write_logo_gray256() local
396 for (i = 0; i < logo_height; i++) in write_logo_gray256()
398 if (!is_gray(logo_data[i][j])) in write_logo_gray256()
405 for (i = 0; i < logo_height; i++) in write_logo_gray256()
407 write_hex(logo_data[i][j].red); in write_logo_gray256()