Lines Matching refs:j
124 unsigned int i, j; in read_image() local
174 for (j = 0; j < logo_width; j++) 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()
183 for (j = 0; j < logo_width; j++) 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()
192 for (j = 0; j < logo_width; j++) { 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()
281 unsigned int i, j; in write_logo_mono() local
286 for (j = 0; j < logo_width; j++) in write_logo_mono()
287 if (!is_black(logo_data[i][j]) && !is_white(logo_data[i][j])) in write_logo_mono()
295 for (j = 0; j < logo_width;) { in write_logo_mono()
296 for (val = 0, bit = 0x80; bit && j < logo_width; j++, bit >>= 1) in write_logo_mono()
297 if (logo_data[i][j].red) in write_logo_mono()
309 unsigned int i, j, k; in write_logo_vga16() local
314 for (j = 0; j < logo_width; j++) { in write_logo_vga16()
316 if (is_equal(logo_data[i][j], clut_vga16[k])) in write_logo_vga16()
329 for (j = 0; j < logo_width; j++) { in write_logo_vga16()
331 if (is_equal(logo_data[i][j], clut_vga16[k])) in write_logo_vga16()
334 if (++j < logo_width) { in write_logo_vga16()
336 if (is_equal(logo_data[i][j], clut_vga16[k])) in write_logo_vga16()
349 unsigned int i, j, k; in write_logo_clut224() local
353 for (j = 0; j < logo_width; j++) { in write_logo_clut224()
355 if (is_equal(logo_data[i][j], logo_clut[k])) in write_logo_clut224()
362 logo_clut[logo_clutsize++] = logo_data[i][j]; in write_logo_clut224()
371 for (j = 0; j < logo_width; j++) { in write_logo_clut224()
373 if (is_equal(logo_data[i][j], logo_clut[k])) in write_logo_clut224()
395 unsigned int i, j; in write_logo_gray256() local
399 for (j = 0; j < logo_width; j++) in write_logo_gray256()
400 if (!is_gray(logo_data[i][j])) in write_logo_gray256()
408 for (j = 0; j < logo_width; j++) in write_logo_gray256()
409 write_hex(logo_data[i][j].red); in write_logo_gray256()