Lines Matching refs:logo_data
74 static struct color **logo_data; variable
163 logo_data = (struct color **)malloc(logo_height*sizeof(struct color *)); in read_image()
164 if (!logo_data) in read_image()
167 logo_data[i] = malloc(logo_width*sizeof(struct color)); in read_image()
168 if (!logo_data[i]) in read_image()
179 logo_data[i][j].red = logo_data[i][j].green = in read_image()
180 logo_data[i][j].blue = 255*(1-get_number(fp)); in read_image()
188 logo_data[i][j].red = logo_data[i][j].green = in read_image()
189 logo_data[i][j].blue = get_number255(fp, maxval); in read_image()
197 logo_data[i][j].red = get_number255(fp, maxval); in read_image()
198 logo_data[i][j].green = get_number255(fp, maxval); in read_image()
199 logo_data[i][j].blue = get_number255(fp, maxval); in read_image()
291 if (!is_black(logo_data[i][j]) && !is_white(logo_data[i][j])) in write_logo_mono()
301 if (logo_data[i][j].red) in write_logo_mono()
320 if (is_equal(logo_data[i][j], clut_vga16[k])) in write_logo_vga16()
335 if (is_equal(logo_data[i][j], clut_vga16[k])) in write_logo_vga16()
340 if (is_equal(logo_data[i][j], clut_vga16[k])) in write_logo_vga16()
359 if (is_equal(logo_data[i][j], logo_clut[k])) in write_logo_clut224()
366 logo_clut[logo_clutsize++] = logo_data[i][j]; in write_logo_clut224()
377 if (is_equal(logo_data[i][j], logo_clut[k])) in write_logo_clut224()
404 if (!is_gray(logo_data[i][j])) in write_logo_gray256()
413 write_hex(logo_data[i][j].red); in write_logo_gray256()