Lines Matching refs:png_gamma
118 double png_gamma; in png_set_gAMA() local
129 png_gamma=21474.83; in png_set_gAMA()
132 png_gamma = file_gamma; in png_set_gAMA()
133 info_ptr->gamma = (float)png_gamma; in png_set_gAMA()
135 info_ptr->int_gamma = (int)(png_gamma*100000.+.5); in png_set_gAMA()
138 if (png_gamma == 0.0) in png_set_gAMA()
146 png_fixed_point png_gamma; in png_set_gAMA_fixed() local
156 png_gamma=PNG_UINT_31_MAX; in png_set_gAMA_fixed()
163 png_gamma = 0; in png_set_gAMA_fixed()
166 png_gamma = int_gamma; in png_set_gAMA_fixed()
169 info_ptr->gamma = (float)(png_gamma/100000.); in png_set_gAMA_fixed()
172 info_ptr->int_gamma = png_gamma; in png_set_gAMA_fixed()
175 if (png_gamma == 0) in png_set_gAMA_fixed()