Home
last modified time | relevance | path

Searched refs:red_x (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()
66 info_ptr->x_red = (float)red_x; in png_set_cHRM()
75 info_ptr->int_x_red = (png_fixed_point)( red_x*100000.+0.5); in png_set_cHRM()
88 png_fixed_point white_x, png_fixed_point white_y, png_fixed_point red_x, in png_set_cHRM_fixed() argument
97 red_x < 0 || red_y < 0 || in png_set_cHRM_fixed()
108 red_x > (double) PNG_UINT_31_MAX || in png_set_cHRM_fixed()
117 red_x > (png_fixed_point) PNG_UINT_31_MAX/100000L || in png_set_cHRM_fixed()
131 info_ptr->int_x_red = red_x; 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
390 if (red_x != NULL) in png_get_cHRM()
391 *red_x = (double)info_ptr->x_red; in png_get_cHRM()
410 png_fixed_point *white_x, png_fixed_point *white_y, png_fixed_point *red_x, in png_get_cHRM_fixed() argument
421 if (red_x != NULL) in png_get_cHRM_fixed()
422 *red_x = info_ptr->int_x_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()
973 itemp = (png_uint_32)(red_x * 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()
1031 png_save_uint_32(buf + 8, (png_uint_32)red_x); 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
833 red_x = (float)int_x_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.h2189 png_infop info_ptr, double *white_x, double *white_y, double *red_x,
2205 png_infop info_ptr, double white_x, double white_y, double red_x,
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
52 info_ptr->x_red = (float)red_x; in png_set_cHRM()
61 info_ptr->int_x_red = (png_fixed_point)( red_x*100000.+0.5); in png_set_cHRM()
75 png_fixed_point white_x, png_fixed_point white_y, png_fixed_point red_x, 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()
91 info_ptr->int_x_red = red_x; in png_set_cHRM_fixed()
100 info_ptr->x_red = (float)( red_x/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
570 red_x = (float).64; 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()
Dpngget.c410 double *white_x, double *white_y, double *red_x, double *red_y, in png_get_cHRM() argument
421 if (red_x != NULL) in png_get_cHRM()
422 *red_x = (double)info_ptr->x_red; in png_get_cHRM()
441 png_fixed_point *white_x, png_fixed_point *white_y, png_fixed_point *red_x, in png_get_cHRM_fixed() argument
453 if (red_x != NULL) in png_get_cHRM_fixed()
454 *red_x = info_ptr->int_x_red; in png_get_cHRM_fixed()
Dpng.c889 png_fixed_point white_x, png_fixed_point white_y, png_fixed_point red_x, in png_check_cHRM_fixed() argument
902 red_x < 0 || red_y < 0 || in png_check_cHRM_fixed()
912 red_x > (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()
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()
928 png_set_cHRM_fixed(write_ptr, write_info_ptr, white_x, white_y, red_x, 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
947 if (png_get_cHRM(read_ptr, read_info_ptr, &white_x, &white_y, &red_x, in test_one_file()
950 png_set_cHRM(write_ptr, write_info_ptr, white_x, white_y, red_x, in test_one_file()
Dpngwutil.c990 double red_x, double red_y, double green_x, double green_y, in png_write_cHRM() argument
1005 int_red_x = (png_uint_32)(red_x * 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()
1058 png_save_uint_32(buf + 8, (png_uint_32)red_x); in png_write_cHRM_fixed()
Dpngrutil.c846 float white_x, white_y, red_x, red_y, green_x, green_y, blue_x, blue_y; in png_handle_cHRM() local
912 red_x = (float)int_x_red / (float)100000.0; in png_handle_cHRM()
937 white_x, white_y, red_x, red_y); in png_handle_cHRM()
956 white_x, white_y, red_x, red_y, green_x, green_y, blue_x, blue_y); in png_handle_cHRM()
Dpng.h2414 png_infop info_ptr, double *white_x, double *white_y, double *red_x,
2430 png_infop info_ptr, double white_x, double white_y, double red_x,
3352 double red_x, double red_y, double green_x, double green_y,