Lines Matching refs:gamma_to_1

936                back_1.red = png_ptr->gamma_to_1[png_ptr->background.red];  in png_init_read_transformations()
937 back_1.green = png_ptr->gamma_to_1[png_ptr->background.green]; in png_init_read_transformations()
938 back_1.blue = png_ptr->gamma_to_1[png_ptr->background.blue]; in png_init_read_transformations()
1002 v = png_ptr->gamma_to_1[palette[i].red]; in png_init_read_transformations()
1006 v = png_ptr->gamma_to_1[palette[i].green]; in png_init_read_transformations()
1010 v = png_ptr->gamma_to_1[palette[i].blue]; in png_init_read_transformations()
1456 png_ptr->gamma_to_1, png_ptr->gamma_16_table, in png_do_read_transformations()
2342 if (png_ptr->gamma_from_1 != NULL && png_ptr->gamma_to_1 != NULL) in png_do_rgb_to_gray()
2349 png_byte red = png_ptr->gamma_to_1[*(sp++)]; in png_do_rgb_to_gray()
2350 png_byte green = png_ptr->gamma_to_1[*(sp++)]; in png_do_rgb_to_gray()
2351 png_byte blue = png_ptr->gamma_to_1[*(sp++)]; in png_do_rgb_to_gray()
2448 if (png_ptr->gamma_from_1 != NULL && png_ptr->gamma_to_1 != NULL) in png_do_rgb_to_gray()
2454 png_byte red = png_ptr->gamma_to_1[*(sp++)]; in png_do_rgb_to_gray()
2455 png_byte green = png_ptr->gamma_to_1[*(sp++)]; in png_do_rgb_to_gray()
2456 png_byte blue = png_ptr->gamma_to_1[*(sp++)]; in png_do_rgb_to_gray()
2629 back_1.red = png_ptr->gamma_to_1[png_ptr->background.red]; in png_correct_palette()
2630 back_1.green = png_ptr->gamma_to_1[png_ptr->background.green]; in png_correct_palette()
2631 back_1.blue = png_ptr->gamma_to_1[png_ptr->background.blue]; in png_correct_palette()
2686 v = png_ptr->gamma_to_1[png_ptr->palette[i].red]; in png_correct_palette()
2690 v = png_ptr->gamma_to_1[png_ptr->palette[i].green]; in png_correct_palette()
2694 v = png_ptr->gamma_to_1[png_ptr->palette[i].blue]; in png_correct_palette()
2802 png_bytep gamma_table, png_bytep gamma_from_1, png_bytep gamma_to_1, in png_do_background() argument
3155 if (gamma_to_1 != NULL && gamma_from_1 != NULL && in png_do_background()
3177 v = gamma_to_1[*sp]; in png_do_background()
3298 if (gamma_to_1 != NULL && gamma_from_1 != NULL && in png_do_background()
3324 v = gamma_to_1[*sp]; in png_do_background()
3327 v = gamma_to_1[*(sp + 1)]; in png_do_background()
3330 v = gamma_to_1[*(sp + 2)]; in png_do_background()
4204 png_ptr->gamma_to_1 = (png_bytep)png_malloc(png_ptr, in png_build_gamma_table()
4209 png_ptr->gamma_to_1[i] = (png_byte)(pow((double)i / 255.0, in png_build_gamma_table()