Lines Matching refs:gamma_table

1559                back.red = png_ptr->gamma_table[png_ptr->background.red];  in png_init_read_transformations()
1560 back.green = png_ptr->gamma_table[png_ptr->background.green]; in png_init_read_transformations()
1561 back.blue = png_ptr->gamma_table[png_ptr->background.blue]; in png_init_read_transformations()
1658 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_init_read_transformations()
1659 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_init_read_transformations()
1660 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_init_read_transformations()
1778 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_init_read_transformations()
1779 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_init_read_transformations()
1780 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_init_read_transformations()
3280 if (png_ptr->gamma_table != NULL) in png_do_rgb_to_gray()
3281 red = png_ptr->gamma_table[red]; in png_do_rgb_to_gray()
3490 png_const_bytep gamma_table = png_ptr->gamma_table; in png_do_compose() local
3542 if (gamma_table != NULL) in png_do_compose()
3558 png_byte g = (png_byte)((gamma_table [p | (p << 2) | in png_do_compose()
3605 if (gamma_table != NULL) in png_do_compose()
3621 png_byte g = (png_byte)((gamma_table[p | in png_do_compose()
3668 if (gamma_table != NULL) in png_do_compose()
3677 *sp = gamma_table[*sp]; in png_do_compose()
3755 if (gamma_table != NULL) in png_do_compose()
3771 *sp = gamma_table[*sp]; in png_do_compose()
3772 *(sp + 1) = gamma_table[*(sp + 1)]; in png_do_compose()
3773 *(sp + 2) = gamma_table[*(sp + 2)]; in png_do_compose()
3883 gamma_table != NULL) in png_do_compose()
3891 *sp = gamma_table[*sp]; in png_do_compose()
4008 gamma_table != NULL) in png_do_compose()
4017 *sp = gamma_table[*sp]; in png_do_compose()
4018 *(sp + 1) = gamma_table[*(sp + 1)]; in png_do_compose()
4019 *(sp + 2) = gamma_table[*(sp + 2)]; in png_do_compose()
4222 png_const_bytep gamma_table = png_ptr->gamma_table; in png_do_gamma() local
4232 if (((row_info->bit_depth <= 8 && gamma_table != NULL) || in png_do_gamma()
4244 *sp = gamma_table[*sp]; in png_do_gamma()
4246 *sp = gamma_table[*sp]; in png_do_gamma()
4248 *sp = gamma_table[*sp]; in png_do_gamma()
4286 *sp = gamma_table[*sp]; in png_do_gamma()
4289 *sp = gamma_table[*sp]; in png_do_gamma()
4292 *sp = gamma_table[*sp]; in png_do_gamma()
4330 *sp = gamma_table[*sp]; in png_do_gamma()
4362 ((((int)gamma_table[a|(a>>2)|(a>>4)|(a>>6)]) ) & 0xc0)| in png_do_gamma()
4363 ((((int)gamma_table[(b<<2)|b|(b>>2)|(b>>4)])>>2) & 0x30)| in png_do_gamma()
4364 ((((int)gamma_table[(c<<4)|(c<<2)|c|(c>>2)])>>4) & 0x0c)| in png_do_gamma()
4365 ((((int)gamma_table[(d<<6)|(d<<4)|(d<<2)|d])>>6) )); in png_do_gamma()
4378 *sp = (png_byte)((((int)gamma_table[msb | (msb >> 4)]) & 0xf0) in png_do_gamma()
4379 | (((int)gamma_table[(lsb << 4) | lsb]) >> 4)); in png_do_gamma()
4389 *sp = gamma_table[*sp]; in png_do_gamma()