Home
last modified time | relevance | path

Searched refs:red_y (Results 1 – 12 of 12) sorted by relevance

/external/qemu/distrib/libpng-1.2.19/
Dpngset.c38 double white_x, double white_y, double red_x, double red_y, in png_set_cHRM() argument
46 red_x < 0.0 || red_y < 0.0 || in png_set_cHRM()
55 red_x > 21474.83 || red_y > 21474.83 || in png_set_cHRM()
67 info_ptr->y_red = (float)red_y; in png_set_cHRM()
76 info_ptr->int_y_red = (png_fixed_point)( red_y*100000.+0.5); in png_set_cHRM()
89 png_fixed_point red_y, png_fixed_point green_x, png_fixed_point green_y, in png_set_cHRM_fixed() argument
97 red_x < 0 || red_y < 0 || in png_set_cHRM_fixed()
109 red_y > (double) PNG_UINT_31_MAX || in png_set_cHRM_fixed()
118 red_y > (png_fixed_point) PNG_UINT_31_MAX/100000L || in png_set_cHRM_fixed()
132 info_ptr->int_y_red = red_y; in png_set_cHRM_fixed()
[all …]
Dpngget.c380 double *white_x, double *white_y, double *red_x, double *red_y, in png_get_cHRM() argument
392 if (red_y != NULL) in png_get_cHRM()
393 *red_y = (double)info_ptr->y_red; in png_get_cHRM()
411 png_fixed_point *red_y, png_fixed_point *green_x, png_fixed_point *green_y, in png_get_cHRM_fixed() argument
423 if (red_y != NULL) in png_get_cHRM_fixed()
424 *red_y = info_ptr->int_y_red; in png_get_cHRM_fixed()
Dpngwutil.c943 double red_x, double red_y, double green_x, double green_y, in png_write_cHRM() argument
968 if (red_x < 0 || red_y < 0 || red_x + red_y > 1.0) in png_write_cHRM()
975 itemp = (png_uint_32)(red_y * 100000.0 + 0.5); in png_write_cHRM()
1004 png_fixed_point white_y, png_fixed_point red_x, png_fixed_point red_y, in png_write_cHRM_fixed() argument
1026 if (red_x + red_y > 100000L) in png_write_cHRM_fixed()
1032 png_save_uint_32(buf + 12, (png_uint_32)red_y); in png_write_cHRM_fixed()
Dpngrutil.c730 float white_x, white_y, red_x, red_y, green_x, green_y, blue_x, blue_y; in png_handle_cHRM() local
834 red_y = (float)int_y_red / (float)100000.0; in png_handle_cHRM()
858 white_x, white_y, red_x, red_y); in png_handle_cHRM()
876 white_x, white_y, red_x, red_y, green_x, green_y, blue_x, blue_y); in png_handle_cHRM()
Dpng.h2190 double *red_y, double *green_x, double *green_y, double *blue_x,
2206 double red_y, double green_x, double green_y, double blue_x, double blue_y));
3047 double red_x, double red_y, double green_x, double green_y,
/external/libpng/
Dpngset.c42 double white_x, double white_y, double red_x, double red_y, in png_set_cHRM() argument
53 info_ptr->y_red = (float)red_y; in png_set_cHRM()
62 info_ptr->int_y_red = (png_fixed_point)( red_y*100000.+0.5); in png_set_cHRM()
76 png_fixed_point red_y, png_fixed_point green_x, png_fixed_point green_y, in png_set_cHRM_fixed() argument
86 white_x, white_y, red_x, red_y, green_x, green_y, blue_x, blue_y)) in png_set_cHRM_fixed()
92 info_ptr->int_y_red = red_y; in png_set_cHRM_fixed()
101 info_ptr->y_red = (float)( red_y/100000.); in png_set_cHRM_fixed()
534 float white_x, white_y, red_x, red_y, green_x, green_y, blue_x, blue_y; in png_set_sRGB_gAMA_and_cHRM() local
571 red_y = (float).33; in png_set_sRGB_gAMA_and_cHRM()
585 white_x, white_y, red_x, red_y, green_x, green_y, blue_x, blue_y); in png_set_sRGB_gAMA_and_cHRM()
Dpng.c890 png_fixed_point red_y, png_fixed_point green_x, png_fixed_point green_y, in png_check_cHRM_fixed() argument
902 red_x < 0 || red_y < 0 || in png_check_cHRM_fixed()
913 red_y > (png_fixed_point) PNG_UINT_31_MAX || in png_check_cHRM_fixed()
928 if (red_x > 100000L - red_y) in png_check_cHRM_fixed()
944 png_64bit_product(green_x - red_x, blue_y - red_y, &xy_hi, &xy_lo); in png_check_cHRM_fixed()
945 png_64bit_product(green_y - red_y, blue_x - red_x, &yx_hi, &yx_lo); in png_check_cHRM_fixed()
Dpngget.c410 double *white_x, double *white_y, double *red_x, double *red_y, in png_get_cHRM() argument
423 if (red_y != NULL) in png_get_cHRM()
424 *red_y = (double)info_ptr->y_red; in png_get_cHRM()
442 png_fixed_point *red_y, png_fixed_point *green_x, png_fixed_point *green_y, in png_get_cHRM_fixed() argument
455 if (red_y != NULL) in png_get_cHRM_fixed()
456 *red_y = info_ptr->int_y_red; in png_get_cHRM_fixed()
Dpngtest.c923 png_fixed_point white_x, white_y, red_x, red_y, green_x, green_y, blue_x, in test_one_file() local
926 &red_x, &red_y, &green_x, &green_y, &blue_x, &blue_y)) in test_one_file()
929 red_y, green_x, green_y, blue_x, blue_y); in test_one_file()
945 double white_x, white_y, red_x, red_y, green_x, green_y, blue_x, in test_one_file() local
948 &red_y, &green_x, &green_y, &blue_x, &blue_y)) in test_one_file()
951 red_y, green_x, green_y, blue_x, blue_y); in test_one_file()
Dpngwutil.c990 double red_x, double red_y, double green_x, double green_y, in png_write_cHRM() argument
1006 int_red_y = (png_uint_32)(red_y * 100000.0 + 0.5); in png_write_cHRM()
1038 png_fixed_point white_y, png_fixed_point red_x, png_fixed_point red_y, in png_write_cHRM_fixed() argument
1051 if (png_check_cHRM_fixed(png_ptr, white_x, white_y, red_x, red_y, in png_write_cHRM_fixed()
1059 png_save_uint_32(buf + 12, (png_uint_32)red_y); in png_write_cHRM_fixed()
Dpngrutil.c840 float white_x, white_y, red_x, red_y, green_x, green_y, blue_x, blue_y; in png_handle_cHRM() local
907 red_y = (float)int_y_red / (float)100000.0; in png_handle_cHRM()
931 white_x, white_y, red_x, red_y); in png_handle_cHRM()
950 white_x, white_y, red_x, red_y, green_x, green_y, blue_x, blue_y); in png_handle_cHRM()
Dpng.h2415 double *red_y, double *green_x, double *green_y, double *blue_x,
2431 double red_y, double green_x, double green_y, double blue_x, double blue_y));
3352 double red_x, double red_y, double green_x, double green_y,