Home | History | Annotate | Download | only in libpng

Lines Matching full:gamma_table

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