Lines Matching refs:ping_bit_depth
2162 ping_bit_depth, in ReadOnePNGImage() local
2588 &ping_bit_depth,&ping_color_type, in ReadOnePNGImage()
2592 ping_file_depth = ping_bit_depth; in ReadOnePNGImage()
2619 (int) ping_bit_depth); in ReadOnePNGImage()
2628 if (ping_bit_depth < 8) in ReadOnePNGImage()
2631 ping_bit_depth = 8; in ReadOnePNGImage()
2634 image->depth=ping_bit_depth; in ReadOnePNGImage()
2655 ping_color_type, ping_bit_depth, in ReadOnePNGImage()
3268 ((int) ping_bit_depth < 16 && in ReadOnePNGImage()
3627 switch (ping_bit_depth) in ReadOnePNGImage()
4034 mng_info->ob[object_id]->sample_depth=ping_bit_depth; in ReadOnePNGImage()
8495 ping_bit_depth, in WriteOnePNGImage() local
8575 ping_bit_depth=0, in WriteOnePNGImage()
10001 ping_bit_depth=(png_byte) save_image_depth; in WriteOnePNGImage()
10055 if (ping_bit_depth == 8) in WriteOnePNGImage()
10058 if (ping_bit_depth == 4) in WriteOnePNGImage()
10061 if (ping_bit_depth == 2) in WriteOnePNGImage()
10064 if (ping_bit_depth == 1) in WriteOnePNGImage()
10088 " ping_bit_depth=%d",ping_bit_depth); in WriteOnePNGImage()
10136 image_depth=ping_bit_depth; in WriteOnePNGImage()
10204 image_depth=ping_bit_depth; in WriteOnePNGImage()
10279 if (ping_bit_depth < 8) in WriteOnePNGImage()
10284 ping_bit_depth=8; in WriteOnePNGImage()
10287 old_bit_depth=ping_bit_depth; in WriteOnePNGImage()
10293 ping_bit_depth=1; in WriteOnePNGImage()
10299 ping_bit_depth=1; in WriteOnePNGImage()
10307 while ((int) (one << ping_bit_depth) < (ssize_t) image_colors) in WriteOnePNGImage()
10308 ping_bit_depth <<= 1; in WriteOnePNGImage()
10317 " Tentative PNG bit depth: %d",ping_bit_depth); in WriteOnePNGImage()
10320 if (ping_bit_depth < (int) mng_info->write_png_depth) in WriteOnePNGImage()
10321 ping_bit_depth = mng_info->write_png_depth; in WriteOnePNGImage()
10324 image_depth=ping_bit_depth; in WriteOnePNGImage()
10344 " ping_bit_depth: %.20g",(double) ping_bit_depth); in WriteOnePNGImage()
10381 if (ping_bit_depth == 8) in WriteOnePNGImage()
10384 if (ping_bit_depth == 4) in WriteOnePNGImage()
10387 if (ping_bit_depth == 2) in WriteOnePNGImage()
10390 if (ping_bit_depth == 1) in WriteOnePNGImage()
10485 ping_bit_depth=16; in WriteOnePNGImage()
10489 ping_bit_depth=8; in WriteOnePNGImage()
10494 ping_bit_depth=1; in WriteOnePNGImage()
10496 while ((int) (one << ping_bit_depth) in WriteOnePNGImage()
10498 ping_bit_depth <<= 1; in WriteOnePNGImage()
10529 ping_bit_depth=1; in WriteOnePNGImage()
10532 ping_bit_depth=2; in WriteOnePNGImage()
10535 ping_bit_depth=4; in WriteOnePNGImage()
10539 image_depth=ping_bit_depth; in WriteOnePNGImage()
10579 ping_bit_depth=1; in WriteOnePNGImage()
10582 while ((one << ping_bit_depth) < (size_t) number_colors) in WriteOnePNGImage()
10583 ping_bit_depth <<= 1; in WriteOnePNGImage()
10653 if (ping_bit_depth < (ssize_t) mng_info->write_png_depth) in WriteOnePNGImage()
10654 ping_bit_depth = (ssize_t) mng_info->write_png_depth; in WriteOnePNGImage()
10659 if (ping_bit_depth < 8 && ping_color_type == in WriteOnePNGImage()
10668 maxval=(png_uint_16) ((one << ping_bit_depth)-1); in WriteOnePNGImage()
10923 if (ping_bit_depth < 8) in WriteOnePNGImage()
10924 ping_bit_depth=8; in WriteOnePNGImage()
10934 (int) mng_info->write_png_depth != ping_bit_depth) || in WriteOnePNGImage()
10953 ping_bit_depth); in WriteOnePNGImage()
10996 ping_bit_depth,ping_color_type, in WriteOnePNGImage()
11465 (ping_bit_depth >= MAGICKCORE_QUANTUM_DEPTH)) && in WriteOnePNGImage()
11687 " PNG bit-depth written: %d",ping_bit_depth); in WriteOnePNGImage()
11897 s[0]=(char) ping_bit_depth; in WriteOnePNGImage()