Home | History | Annotate | Download | only in jni

Lines Matching full:gamma_table

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