• Home
  • Raw
  • Download

Lines Matching refs:pixel_depth

902    png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth * png_ptr->channels);  in png_handle_IHDR()
903 png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, png_ptr->width); in png_handle_IHDR()
3202 unsigned int pixel_depth = png_ptr->transformed_pixel_depth; in png_combine_row() local
3215 if (pixel_depth == 0) in png_combine_row()
3223 PNG_ROWBYTES(pixel_depth, row_width)) in png_combine_row()
3234 end_mask = (pixel_depth * row_width) & 7; in png_combine_row()
3238 end_ptr = dp + PNG_ROWBYTES(pixel_depth, row_width) - 1; in png_combine_row()
3270 if (pixel_depth < 8) in png_combine_row()
3401 png_uint_32 pixels_per_byte = 8 / pixel_depth; in png_combine_row()
3406 mask = MASK(pass, pixel_depth, display, 0); in png_combine_row()
3410 mask = MASK(pass, pixel_depth, display, 1); in png_combine_row()
3450 if (pixel_depth & 7) in png_combine_row()
3453 pixel_depth >>= 3; /* now in bytes */ in png_combine_row()
3454 row_width *= pixel_depth; in png_combine_row()
3461 unsigned int offset = PNG_PASS_START_COL(pass) * pixel_depth; in png_combine_row()
3475 bytes_to_copy = (1<<((6-pass)>>1)) * pixel_depth; in png_combine_row()
3483 bytes_to_copy = pixel_depth; in png_combine_row()
3486 bytes_to_jump = PNG_PASS_COL_OFFSET(pass) * pixel_depth; in png_combine_row()
3675 memcpy(dp, sp, PNG_ROWBYTES(pixel_depth, row_width)); in png_combine_row()
3698 switch (row_info->pixel_depth) in png_do_read_interlace()
3892 size_t pixel_bytes = (row_info->pixel_depth >> 3); in png_do_read_interlace()
3922 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, final_width); in png_do_read_interlace()
3936 unsigned int bpp = (row_info->pixel_depth + 7) >> 3; in png_read_filter_row_sub()
3971 unsigned int bpp = (row_info->pixel_depth + 7) >> 3; in png_read_filter_row_avg()
4046 unsigned int bpp = (row_info->pixel_depth + 7) >> 3; in png_read_filter_row_paeth_multibyte_pixel()
4105 unsigned int bpp = (pp->pixel_depth + 7) >> 3; in png_init_filter_functions()
4436 max_pixel_depth = (unsigned int)png_ptr->pixel_depth; in png_read_start_row()
4656 (unsigned long)PNG_ROWBYTES(png_ptr->pixel_depth, png_ptr->iwidth) + 1); in png_read_start_row()