Lines Matching refs:calc_depth

7909          const unsigned int calc_depth = (pm->assume_16_bit_calculations ? 16 :  in image_transform_png_set_rgb_to_gray_mod()  local
7940 rlo = DD(rlo, calc_depth, 1/*round*/); in image_transform_png_set_rgb_to_gray_mod()
7942 rhi = DU(rhi, calc_depth, 1/*round*/); in image_transform_png_set_rgb_to_gray_mod()
7946 glo = DD(glo, calc_depth, 1/*round*/); in image_transform_png_set_rgb_to_gray_mod()
7948 ghi = DU(ghi, calc_depth, 1/*round*/); in image_transform_png_set_rgb_to_gray_mod()
7952 blo = DD(blo, calc_depth, 1/*round*/); in image_transform_png_set_rgb_to_gray_mod()
7954 bhi = DU(bhi, calc_depth, 1/*round*/); in image_transform_png_set_rgb_to_gray_mod()
7967 if (gamma_depth != calc_depth) in image_transform_png_set_rgb_to_gray_mod()
7979 rlo = DD(pow(rlo, power)-abse, calc_depth, 1); in image_transform_png_set_rgb_to_gray_mod()
7980 rhi = DU(pow(rhi, power)+abse, calc_depth, 1); in image_transform_png_set_rgb_to_gray_mod()
7983 glo = DD(pow(glo, power)-abse, calc_depth, 1); in image_transform_png_set_rgb_to_gray_mod()
7984 ghi = DU(pow(ghi, power)+abse, calc_depth, 1); in image_transform_png_set_rgb_to_gray_mod()
7987 blo = DD(pow(blo, power)-abse, calc_depth, 1); in image_transform_png_set_rgb_to_gray_mod()
7988 bhi = DU(pow(bhi, power)+abse, calc_depth, 1); in image_transform_png_set_rgb_to_gray_mod()
8005 const int do_round = data.gamma != 1 || calc_depth == 16; in image_transform_png_set_rgb_to_gray_mod()
8010 blo * (data.blue_coefficient-ce), calc_depth, do_round); in image_transform_png_set_rgb_to_gray_mod()
8016 bhi * (data.blue_coefficient+ce), calc_depth, do_round); in image_transform_png_set_rgb_to_gray_mod()