Home | History | Annotate | Download | only in libpng

Lines Matching refs:max_pixel_depth

4259    int max_pixel_depth;
4290 max_pixel_depth = png_ptr->pixel_depth;
4304 max_pixel_depth = 8;
4313 max_pixel_depth = 32;
4316 max_pixel_depth = 24;
4321 if (max_pixel_depth < 8)
4322 max_pixel_depth = 8;
4325 max_pixel_depth *= 2;
4332 max_pixel_depth *= 4;
4333 max_pixel_depth /= 3;
4349 max_pixel_depth *= 2;
4362 if (max_pixel_depth <= 8)
4363 max_pixel_depth = 16;
4366 max_pixel_depth = 32;
4372 if (max_pixel_depth <= 32)
4373 max_pixel_depth = 32;
4376 max_pixel_depth = 64;
4393 if (max_pixel_depth <= 16)
4394 max_pixel_depth = 32;
4397 max_pixel_depth = 64;
4402 if (max_pixel_depth <= 8)
4405 max_pixel_depth = 32;
4408 max_pixel_depth = 24;
4412 max_pixel_depth = 64;
4415 max_pixel_depth = 48;
4427 if (user_pixel_depth > max_pixel_depth)
4428 max_pixel_depth = user_pixel_depth;
4435 png_ptr->maximum_pixel_depth = (png_byte)max_pixel_depth;
4445 row_bytes = PNG_ROWBYTES(max_pixel_depth, row_bytes) +
4446 1 + ((max_pixel_depth + 7) >> 3);