Home | History | Annotate | Download | only in libpng

Lines Matching full:gamma_table

1559                back.red = png_ptr->gamma_table[png_ptr->background.red];
1560 back.green = png_ptr->gamma_table[png_ptr->background.green];
1561 back.blue = png_ptr->gamma_table[png_ptr->background.blue];
1658 palette[i].red = png_ptr->gamma_table[palette[i].red];
1659 palette[i].green = png_ptr->gamma_table[palette[i].green];
1660 palette[i].blue = png_ptr->gamma_table[palette[i].blue];
1778 palette[i].red = png_ptr->gamma_table[palette[i].red];
1779 palette[i].green = png_ptr->gamma_table[palette[i].green];
1780 palette[i].blue = png_ptr->gamma_table[palette[i].blue];
3280 if (png_ptr->gamma_table != NULL)
3281 red = png_ptr->gamma_table[red];
3490 png_const_bytep gamma_table = png_ptr->gamma_table;
3542 if (gamma_table != NULL)
3558 png_byte g = (png_byte)((gamma_table [p | (p << 2) |
3605 if (gamma_table != NULL)
3621 png_byte g = (png_byte)((gamma_table[p |
3668 if (gamma_table != NULL)
3677 *sp = gamma_table[*sp];
3751 if (gamma_table != NULL)
3767 *sp = gamma_table[*sp];
3768 *(sp + 1) = gamma_table[*(sp + 1)];
3769 *(sp + 2) = gamma_table[*(sp + 2)];
3873 gamma_table != NULL)
3881 *sp = gamma_table[*sp];
3996 gamma_table != NULL)
4005 *sp = gamma_table[*sp];
4006 *(sp + 1) = gamma_table[*(sp + 1)];
4007 *(sp + 2) = gamma_table[*(sp + 2)];
4194 * or RGB images. If your bit depth is 8, use gamma_table, if it
4201 png_const_bytep gamma_table = png_ptr->gamma_table;
4211 if (((row_info->bit_depth <= 8 && gamma_table != NULL) ||
4223 *sp = gamma_table[*sp];
4225 *sp = gamma_table[*sp];
4227 *sp = gamma_table[*sp];
4265 *sp = gamma_table[*sp];
4268 *sp = gamma_table[*sp];
4271 *sp = gamma_table[*sp];
4309 *sp = gamma_table[*sp];
4341 ((((int)gamma_table
4342 ((((int)gamma_table[(b<<2)|b|(b>>2)|(b>>4)])>>2) & 0x30)|
4343 ((((int)gamma_table[(c<<4)|(c<<2)|c|(c>>2)])>>4) & 0x0c)|
4344 ((((int)gamma_table[(d<<6)|(d<<4)|(d<<2)|d])>>6) ));
4357 *sp = (png_byte)((((int)gamma_table[msb | (msb >> 4)]) & 0xf0)
4358 | (((int)gamma_table[(lsb << 4) | lsb]) >> 4));
4368 *sp = gamma_table[*sp];