• Home
  • Raw
  • Download

Lines Matching refs:gamma_table

943                back.red = png_ptr->gamma_table[png_ptr->background.red];  in png_init_read_transformations()
944 back.green = png_ptr->gamma_table[png_ptr->background.green]; in png_init_read_transformations()
945 back.blue = png_ptr->gamma_table[png_ptr->background.blue]; in png_init_read_transformations()
1028 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_init_read_transformations()
1029 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_init_read_transformations()
1030 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_init_read_transformations()
1113 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_init_read_transformations()
1114 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_init_read_transformations()
1115 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_init_read_transformations()
1465 png_ptr->gamma_table, png_ptr->gamma_from_1, in png_do_read_transformations()
1482 png_ptr->gamma_table, png_ptr->gamma_16_table, in png_do_read_transformations()
2635 back.red = png_ptr->gamma_table[png_ptr->background.red]; in png_correct_palette()
2636 back.green = png_ptr->gamma_table[png_ptr->background.green]; in png_correct_palette()
2637 back.blue = png_ptr->gamma_table[png_ptr->background.blue]; in png_correct_palette()
2710 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_correct_palette()
2711 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_correct_palette()
2712 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_correct_palette()
2728 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_correct_palette()
2729 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_correct_palette()
2730 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_correct_palette()
2744 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_correct_palette()
2745 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_correct_palette()
2746 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_correct_palette()
2812 png_bytep gamma_table, png_bytep gamma_from_1, png_bytep gamma_to_1, in png_do_background() argument
2864 if (gamma_table != NULL) in png_do_background()
2879 png_byte g = (png_byte)((gamma_table [p | (p << 2) | in png_do_background()
2921 if (gamma_table != NULL) in png_do_background()
2936 png_byte g = (png_byte)((gamma_table[p | in png_do_background()
2978 if (gamma_table != NULL) in png_do_background()
2989 *sp = gamma_table[*sp]; in png_do_background()
3060 if (gamma_table != NULL) in png_do_background()
3075 *sp = gamma_table[*sp]; in png_do_background()
3076 *(sp + 1) = gamma_table[*(sp + 1)]; in png_do_background()
3077 *(sp + 2) = gamma_table[*(sp + 2)]; in png_do_background()
3166 gamma_table != NULL) in png_do_background()
3176 *dp = gamma_table[*sp]; in png_do_background()
3309 gamma_table != NULL) in png_do_background()
3319 *dp = gamma_table[*sp]; in png_do_background()
3320 *(dp + 1) = gamma_table[*(sp + 1)]; in png_do_background()
3321 *(dp + 2) = gamma_table[*(sp + 2)]; in png_do_background()
3506 png_bytep gamma_table, png_uint_16pp gamma_16_table, in png_do_gamma() argument
3519 ((row_info->bit_depth <= 8 && gamma_table != NULL) || in png_do_gamma()
3531 *sp = gamma_table[*sp]; in png_do_gamma()
3533 *sp = gamma_table[*sp]; in png_do_gamma()
3535 *sp = gamma_table[*sp]; in png_do_gamma()
3570 *sp = gamma_table[*sp]; in png_do_gamma()
3572 *sp = gamma_table[*sp]; in png_do_gamma()
3574 *sp = gamma_table[*sp]; in png_do_gamma()
3608 *sp = gamma_table[*sp]; in png_do_gamma()
3639 ((((int)gamma_table[a|(a>>2)|(a>>4)|(a>>6)]) ) & 0xc0)| in png_do_gamma()
3640 ((((int)gamma_table[(b<<2)|b|(b>>2)|(b>>4)])>>2) & 0x30)| in png_do_gamma()
3641 ((((int)gamma_table[(c<<4)|(c<<2)|c|(c>>2)])>>4) & 0x0c)| in png_do_gamma()
3642 ((((int)gamma_table[(d<<6)|(d<<4)|(d<<2)|d])>>6) )); in png_do_gamma()
3655 *sp = (png_byte)((((int)gamma_table[msb | (msb >> 4)]) & 0xf0) in png_do_gamma()
3656 | (((int)gamma_table[(lsb << 4) | lsb]) >> 4)); in png_do_gamma()
3666 *sp = gamma_table[*sp]; in png_do_gamma()
4198 png_ptr->gamma_table = (png_bytep)png_malloc(png_ptr, in png_build_gamma_table()
4203 png_ptr->gamma_table[i] = (png_byte)(pow((double)i / 255.0, in png_build_gamma_table()