Lines Matching defs:gamma_table

240    png_const_bytep gamma_table)
242 color->red = gamma_table[red];
243 color->green = gamma_table[green];
244 color->blue = gamma_table[blue];
250 png_const_bytep gamma_table, unsigned int *colors)
270 gamma_table);
275 colors[2], gamma_table);
280 gamma_table);
285 colors[4], gamma_table);
291 set_color(palette+0, trans+0, 255, 0, 0, 0, gamma_table);
292 set_color(palette+1, trans+1, 255, 255, 255, 255, gamma_table);
320 gamma_table);
330 png_uint_32 value, png_const_bytep gamma_table, double conv)
370 *row = gamma_table[value];
391 int bit_depth, png_const_bytep gamma_table, double conv,
548 set_value(row, rowbytes, x, bit_depth, luma, gamma_table, conv);
564 (depth_max * x * 2 + size_max) / (2 * size_max), gamma_table,
566 set_value(row, rowbytes, 2*x+1, bit_depth, alpha, gamma_table,
595 gamma_table, conv);
598 gamma_table, conv);
601 gamma_table, conv);
632 gamma_table, conv);
635 gamma_table, conv);
638 gamma_table, conv);
641 gamma_table, conv);
668 set_value(row, rowbytes, x, bit_depth, luma, gamma_table,
681 set_value(row, rowbytes, 2*x, bit_depth, luma, gamma_table,
683 set_value(row, rowbytes, 2*x+1, bit_depth, alpha, gamma_table,
698 set_value(row, rowbytes, 3*x+0, bit_depth, red, gamma_table,
700 set_value(row, rowbytes, 3*x+1, bit_depth, green, gamma_table,
702 set_value(row, rowbytes, 3*x+2, bit_depth, blue, gamma_table,
718 set_value(row, rowbytes, 4*x+0, bit_depth, red, gamma_table,
720 set_value(row, rowbytes, 4*x+1, bit_depth, green, gamma_table,
722 set_value(row, rowbytes, 4*x+2, bit_depth, blue, gamma_table,
724 set_value(row, rowbytes, 4*x+3, bit_depth, alpha, gamma_table,
819 png_byte gamma_table[256];
863 gamma_table[i] = (png_byte)i;
875 gamma_table[0] = 0;
878 gamma_table[i] = floorb(pow(i/255.,conv) * 255 + .5);
880 gamma_table[255] = 255;
893 npalette = generate_palette(palette, trans, bit_depth, gamma_table,
901 /* Reset gamma_table to prevent the image rows being changed */
903 gamma_table[npalette] = (png_byte)npalette;
968 gamma_table, conv, colors, small);