Lines Matching refs:gamma_table
880 back.red = png_ptr->gamma_table[png_ptr->background.red]; in png_init_read_transformations()
881 back.green = png_ptr->gamma_table[png_ptr->background.green]; in png_init_read_transformations()
882 back.blue = png_ptr->gamma_table[png_ptr->background.blue]; in png_init_read_transformations()
962 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_init_read_transformations()
963 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_init_read_transformations()
964 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_init_read_transformations()
1037 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_init_read_transformations()
1038 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_init_read_transformations()
1039 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_init_read_transformations()
1378 png_ptr->gamma_table, png_ptr->gamma_from_1, in png_do_read_transformations()
1395 png_ptr->gamma_table, png_ptr->gamma_16_table, in png_do_read_transformations()
2520 back.red = png_ptr->gamma_table[png_ptr->background.red]; in png_correct_palette()
2521 back.green = png_ptr->gamma_table[png_ptr->background.green]; in png_correct_palette()
2522 back.blue = png_ptr->gamma_table[png_ptr->background.blue]; in png_correct_palette()
2595 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_correct_palette()
2596 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_correct_palette()
2597 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_correct_palette()
2613 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_correct_palette()
2614 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_correct_palette()
2615 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_correct_palette()
2629 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_correct_palette()
2630 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_correct_palette()
2631 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_correct_palette()
2697 png_bytep gamma_table, png_bytep gamma_from_1, png_bytep gamma_to_1, in png_do_background() argument
2747 if (gamma_table != NULL) in png_do_background()
2762 png_byte g = (png_byte)((gamma_table [p | (p << 2) | in png_do_background()
2803 if (gamma_table != NULL) in png_do_background()
2818 png_byte g = (png_byte)((gamma_table[p | in png_do_background()
2859 if (gamma_table != NULL) in png_do_background()
2870 *sp = gamma_table[*sp]; in png_do_background()
2939 if (gamma_table != NULL) in png_do_background()
2954 *sp = gamma_table[*sp]; in png_do_background()
2955 *(sp + 1) = gamma_table[*(sp + 1)]; in png_do_background()
2956 *(sp + 2) = gamma_table[*(sp + 2)]; in png_do_background()
3044 gamma_table != NULL) in png_do_background()
3054 *dp = gamma_table[*sp]; in png_do_background()
3186 gamma_table != NULL) in png_do_background()
3196 *dp = gamma_table[*sp]; in png_do_background()
3197 *(dp + 1) = gamma_table[*(sp + 1)]; in png_do_background()
3198 *(dp + 2) = gamma_table[*(sp + 2)]; in png_do_background()
3383 png_bytep gamma_table, png_uint_16pp gamma_16_table, in png_do_gamma() argument
3395 ((row_info->bit_depth <= 8 && gamma_table != NULL) || in png_do_gamma()
3407 *sp = gamma_table[*sp]; in png_do_gamma()
3409 *sp = gamma_table[*sp]; in png_do_gamma()
3411 *sp = gamma_table[*sp]; in png_do_gamma()
3445 *sp = gamma_table[*sp]; in png_do_gamma()
3447 *sp = gamma_table[*sp]; in png_do_gamma()
3449 *sp = gamma_table[*sp]; in png_do_gamma()
3482 *sp = gamma_table[*sp]; in png_do_gamma()
3512 ((((int)gamma_table[a|(a>>2)|(a>>4)|(a>>6)]) ) & 0xc0)| in png_do_gamma()
3513 ((((int)gamma_table[(b<<2)|b|(b>>2)|(b>>4)])>>2) & 0x30)| in png_do_gamma()
3514 ((((int)gamma_table[(c<<4)|(c<<2)|c|(c>>2)])>>4) & 0x0c)| in png_do_gamma()
3515 ((((int)gamma_table[(d<<6)|(d<<4)|(d<<2)|d])>>6) )); in png_do_gamma()
3527 *sp = (png_byte)((((int)gamma_table[msb | (msb >> 4)]) & 0xf0) in png_do_gamma()
3528 | (((int)gamma_table[(lsb << 4) | lsb]) >> 4)); in png_do_gamma()
3537 *sp = gamma_table[*sp]; in png_do_gamma()
4028 png_ptr->gamma_table = (png_bytep)png_malloc(png_ptr, in png_build_gamma_table()
4033 png_ptr->gamma_table[i] = (png_byte)(pow((double)i / 255.0, in png_build_gamma_table()