Home
last modified time | relevance | path

Searched refs:white_y (Results 1 – 19 of 19) 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
45 if (white_x < 0.0 || white_y < 0.0 || in png_set_cHRM()
54 if (white_x > 21474.83 || white_y > 21474.83 || in png_set_cHRM()
65 info_ptr->y_white = (float)white_y; in png_set_cHRM()
74 info_ptr->int_y_white = (png_fixed_point)(white_y*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
96 if (white_x < 0 || white_y < 0 || in png_set_cHRM_fixed()
107 white_y > (double) PNG_UINT_31_MAX || in png_set_cHRM_fixed()
116 white_y > (png_fixed_point) PNG_UINT_31_MAX/100000L || in png_set_cHRM_fixed()
130 info_ptr->int_y_white = white_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
388 if (white_y != NULL) in png_get_cHRM()
389 *white_y = (double)info_ptr->y_white; 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
419 if (white_y != NULL) in png_get_cHRM_fixed()
420 *white_y = info_ptr->int_y_white; in png_get_cHRM_fixed()
Dpngwutil.c942 png_write_cHRM(png_structp png_ptr, double white_x, double white_y, in png_write_cHRM() argument
954 if (white_x < 0 || white_x > 0.8 || white_y < 0 || white_y > 0.8 || in png_write_cHRM()
955 white_x + white_y > 1.0) in png_write_cHRM()
959 fprintf(stderr,"white_x=%f, white_y=%f\n",white_x, white_y); in png_write_cHRM()
965 itemp = (png_uint_32)(white_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
1015 if (white_x > 80000L || white_y > 80000L || white_x + white_y > 100000L) in png_write_cHRM_fixed()
1019 fprintf(stderr,"white_x=%ld, white_y=%ld\n",white_x, white_y); in png_write_cHRM_fixed()
1024 png_save_uint_32(buf + 4, (png_uint_32)white_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
832 white_y = (float)int_y_white / (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,
3046 double white_x, double white_y,
/external/chromium_org/third_party/libpng/
Dpngset.c42 double white_x, double white_y, double red_x, double red_y, in png_set_cHRM() argument
51 info_ptr->y_white = (float)white_y; in png_set_cHRM()
60 info_ptr->int_y_white = (png_fixed_point)(white_y*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()
90 info_ptr->int_y_white = white_y; in png_set_cHRM_fixed()
99 info_ptr->y_white = (float)(white_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
569 white_y = (float).3290; 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
419 if (white_y != NULL) in png_get_cHRM()
420 *white_y = (double)info_ptr->y_white; 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
451 if (white_y != NULL) in png_get_cHRM_fixed()
452 *white_y = info_ptr->int_y_white; 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
901 if (white_x < 0 || white_y <= 0 || in png_check_cHRM_fixed()
911 white_y > (png_fixed_point) PNG_UINT_31_MAX || in png_check_cHRM_fixed()
923 if (white_x > 100000L - white_y) in png_check_cHRM_fixed()
Dpngwutil.c989 png_write_cHRM(png_structp png_ptr, double white_x, double white_y, in png_write_cHRM() argument
1004 int_white_y = (png_uint_32)(white_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()
1056 png_save_uint_32(buf + 4, (png_uint_32)white_y); in png_write_cHRM_fixed()
Dpngrutil.c830 float white_x, white_y, red_x, red_y, green_x, green_y, blue_x, blue_y; in png_handle_cHRM() local
895 white_y = (float)int_y_white / (float)100000.0; in png_handle_cHRM()
921 white_x, white_y, red_x, red_y); in png_handle_cHRM()
940 white_x, white_y, red_x, red_y, green_x, green_y, blue_x, blue_y); in png_handle_cHRM()
Dpng.h2342 png_infop info_ptr, double *white_x, double *white_y, double *red_x,
2358 png_infop info_ptr, double white_x, double white_y, double red_x,
3267 double white_x, double white_y,
/external/libpng/
Dpngset.c42 double white_x, double white_y, double red_x, double red_y, in png_set_cHRM() argument
51 info_ptr->y_white = (float)white_y; in png_set_cHRM()
60 info_ptr->int_y_white = (png_fixed_point)(white_y*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()
90 info_ptr->int_y_white = white_y; in png_set_cHRM_fixed()
99 info_ptr->y_white = (float)(white_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
569 white_y = (float).3290; 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
419 if (white_y != NULL) in png_get_cHRM()
420 *white_y = (double)info_ptr->y_white; 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
451 if (white_y != NULL) in png_get_cHRM_fixed()
452 *white_y = info_ptr->int_y_white; in png_get_cHRM_fixed()
Dpng.c859 png_fixed_point white_x, png_fixed_point white_y, png_fixed_point red_x, in png_check_cHRM_fixed() argument
871 if (white_x < 0 || white_y <= 0 || in png_check_cHRM_fixed()
881 white_y > (png_fixed_point) PNG_UINT_31_MAX || in png_check_cHRM_fixed()
893 if (white_x > 100000L - white_y) 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
925 if (png_get_cHRM_fixed(read_ptr, read_info_ptr, &white_x, &white_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.c989 png_write_cHRM(png_structp png_ptr, double white_x, double white_y, in png_write_cHRM() argument
1004 int_white_y = (png_uint_32)(white_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()
1056 png_save_uint_32(buf + 4, (png_uint_32)white_y); 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
911 white_y = (float)int_y_white / (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,
3351 double white_x, double white_y,
DCHANGES2276 In png_check_cHRM_fixed(), ensure white_y is > 0, and removed redundant