Lines Matching full:gamma_table
1592 back.red = png_ptr->gamma_table[png_ptr->background.red];
1593 back.green = png_ptr->gamma_table[png_ptr->background.green];
1594 back.blue = png_ptr->gamma_table[png_ptr->background.blue];
1691 palette[i].red = png_ptr->gamma_table[palette[i].red];
1692 palette[i].green = png_ptr->gamma_table[palette[i].green];
1693 palette[i].blue = png_ptr->gamma_table[palette[i].blue];
1812 palette[i].red = png_ptr->gamma_table[palette[i].red];
1813 palette[i].green = png_ptr->gamma_table[palette[i].green];
1814 palette[i].blue = png_ptr->gamma_table[palette[i].blue];
3321 if (png_ptr->gamma_table != NULL)
3322 red = png_ptr->gamma_table[red];
3531 png_const_bytep gamma_table = png_ptr->gamma_table;
3584 if (gamma_table != NULL)
3601 unsigned int g = (gamma_table [p | (p << 2) |
3650 if (gamma_table != NULL)
3667 unsigned int g = (gamma_table[p | (p << 4)] >> 4) &
3716 if (gamma_table != NULL)
3725 *sp = gamma_table[*sp];
3803 if (gamma_table != NULL)
3819 *sp = gamma_table[*sp];
3820 *(sp + 1) = gamma_table[*(sp + 1)];
3821 *(sp + 2) = gamma_table[*(sp + 2)];
3931 gamma_table != NULL)
3939 *sp = gamma_table[*sp];
4056 gamma_table != NULL)
4065 *sp = gamma_table[*sp];
4066 *(sp + 1) = gamma_table[*(sp + 1)];
4067 *(sp + 2) = gamma_table[*(sp + 2)];
4263 * or RGB images. If your bit depth is 8, use gamma_table, if it
4270 png_const_bytep gamma_table = png_ptr->gamma_table;
4280 if (((row_info->bit_depth <= 8 && gamma_table != NULL) ||
4292 *sp = gamma_table[*sp];
4294 *sp = gamma_table[*sp];
4296 *sp = gamma_table[*sp];
4334 *sp = gamma_table[*sp];
4337 *sp = gamma_table[*sp];
4340 *sp = gamma_table[*sp];
4378 *sp = gamma_table[*sp];
4410 ((((int)gamma_table[a|(a>>2)|(a>>4)|(a>>6)]) ) & 0xc0)|
4411 ((((int)gamma_table[(b<<2)|b|(b>>2)|(b>>4)])>>2) & 0x30)|
4412 ((((int)gamma_table[(c<<4)|(c<<2)|c|(c>>2)])>>4) & 0x0c)|
4413 ((((int)gamma_table[(d<<6)|(d<<4)|(d<<2)|d])>>6) ));
4426 *sp = (png_byte)((((int)gamma_table[msb | (msb >> 4)]) & 0xf0)
4427 | (((int)gamma_table[(lsb << 4) | lsb]) >> 4));
4437 *sp = gamma_table[*sp];