Home | History | Annotate | Download | only in libtests

Lines Matching full:sample_depth

5279    png_byte sample_depth;                /* Scale of samples */
5329 PNG_CONST png_byte sample_depth = (png_byte)(colour_type ==
5331 PNG_CONST unsigned int max = (1U<<sample_depth)-1;
5341 sample_depth;
5383 this->sample_depth = sample_depth;
5620 PNG_CONST unsigned int scale = (1U<<that->sample_depth)-1;
5627 * to the current sample_depth of the pixel.
5780 test_pixel.sample_depth = 8;
5782 test_pixel.sample_depth = test_pixel.bit_depth;
5788 test_pixel.alpha_sBIT = test_pixel.sample_depth;
5821 if (test_pixel.sample_depth != 8) /* oops - internal error! */
5824 else if (test_pixel.sample_depth != dp->output_bit_depth)
5832 pos = safecatn(message, sizeof message, pos, test_pixel.sample_depth);
5849 unsigned int out, png_byte sample_depth, double err, double limit,
5853 * with the digitized values libpng produced; 'sample_depth' is the actual
5858 unsigned int max = (1U<<sample_depth)-1;
5901 PNG_CONST png_byte sample_depth = (png_byte)(out_ct ==
5949 if (sample_depth != 16 || in_sample_depth > 8 ||
6015 out_pixel.red, sample_depth, in_pixel.rede,
6022 in_pixel.greenf, out_pixel.green, sample_depth, in_pixel.greene,
6029 out_pixel.blue, sample_depth, in_pixel.bluee,
6036 in_pixel.alphaf, out_pixel.alpha, sample_depth, in_pixel.alphae,
6253 if (that->sample_depth < 8)
6254 that->sample_depth = 8;
6309 that->sample_depth = that->bit_depth = 8;
6359 that->sample_depth = that->bit_depth = 8;
6446 that->sample_depth = that->bit_depth = 16;
6486 that->sample_depth = that->bit_depth = 8;
6530 that->sample_depth = that->bit_depth = 8;
6967 const unsigned int sample_depth = that->sample_depth;
6969 sample_depth);
6970 const unsigned int gamma_depth = (sample_depth == 16 ? 16 :
6971 (pm->assume_16_bit_calculations ? PNG_MAX_GAMMA_8 : sample_depth));
7065 graylo = digitize(pow(graylo, power), sample_depth, 1);
7066 grayhi = digitize(pow(grayhi, power), sample_depth, 1);
7140 double in_qe = (that->sample_depth > 8 ? .5/65535 : .5/255);
7141 double out_qe = (that->sample_depth > 8 ? .5/65535 :