Home | History | Annotate | Download | only in libpng-1.2.19

Lines Matching refs:pixel_depth

407    png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth *
409 png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth,png_ptr->width);
2334 (png_size_t)PNG_ROWBYTES(png_ptr->row_info.pixel_depth,png_ptr->width));
2338 switch (png_ptr->row_info.pixel_depth)
2341 case 24: /* png_ptr->row_info.pixel_depth */
2384 case 32: /* png_ptr->row_info.pixel_depth */
2427 case 8: /* png_ptr->row_info.pixel_depth */
2469 case 1: /* png_ptr->row_info.pixel_depth */
2526 case 2: /* png_ptr->row_info.pixel_depth */
2581 case 4: /* png_ptr->row_info.pixel_depth */
2635 case 16: /* png_ptr->row_info.pixel_depth */
2680 case 48: /* png_ptr->row_info.pixel_depth */
2721 case 64: /* png_ptr->row_info.pixel_depth */
2761 default: /* png_ptr->row_info.pixel_depth != 1,2,4,8,16,24,32,48,64 */
2764 png_warning(png_ptr, "Invalid row_info.pixel_depth in pngrutil");
2767 } /* end switch (png_ptr->row_info.pixel_depth) */
2809 switch (row_info->pixel_depth)
2990 pixel_bytes = (row_info->pixel_depth >> 3);
3118 } /* end switch (row_info->pixel_depth) */
3122 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth,final_width);
3185 png_debug2(0, "pixdepth=%2d, bytes=%d, ", (int)row_info->pixel_depth,
3186 (int)((row_info->pixel_depth + 7) >> 3));
3199 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3232 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3258 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3326 PNG_ROWBYTES(png_ptr->row_info.pixel_depth, png_ptr->width));
3330 switch (png_ptr->row_info.pixel_depth)
3493 png_size_t pixel_bytes = (png_ptr->row_info.pixel_depth >> 3);
3545 switch (row_info->pixel_depth)
3715 png_size_t pixel_bytes = (row_info->pixel_depth >> 3);
3739 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth,final_width);
3761 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3792 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3817 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3911 png_ptr->irowbytes = PNG_ROWBYTES(png_ptr->pixel_depth,
4038 row_bytes = PNG_ROWBYTES(png_ptr->pixel_depth,png_ptr->iwidth) + 1;
4050 max_pixel_depth = png_ptr->pixel_depth;