• Home
  • Raw
  • Download

Lines Matching refs:pixel_depth

892    png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth * png_ptr->channels);  in png_handle_IHDR()
893 png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, png_ptr->width); in png_handle_IHDR()
3059 unsigned int pixel_depth = png_ptr->transformed_pixel_depth; in png_combine_row() local
3072 if (pixel_depth == 0) in png_combine_row()
3080 PNG_ROWBYTES(pixel_depth, row_width)) in png_combine_row()
3091 end_mask = (pixel_depth * row_width) & 7; in png_combine_row()
3095 end_ptr = dp + PNG_ROWBYTES(pixel_depth, row_width) - 1; in png_combine_row()
3127 if (pixel_depth < 8) in png_combine_row()
3258 png_uint_32 pixels_per_byte = 8 / pixel_depth; in png_combine_row()
3263 mask = MASK(pass, pixel_depth, display, 0); in png_combine_row()
3267 mask = MASK(pass, pixel_depth, display, 1); in png_combine_row()
3307 if (pixel_depth & 7) in png_combine_row()
3310 pixel_depth >>= 3; /* now in bytes */ in png_combine_row()
3311 row_width *= pixel_depth; in png_combine_row()
3318 unsigned int offset = PNG_PASS_START_COL(pass) * pixel_depth; in png_combine_row()
3332 bytes_to_copy = (1<<((6-pass)>>1)) * pixel_depth; in png_combine_row()
3340 bytes_to_copy = pixel_depth; in png_combine_row()
3343 bytes_to_jump = PNG_PASS_COL_OFFSET(pass) * pixel_depth; in png_combine_row()
3532 memcpy(dp, sp, PNG_ROWBYTES(pixel_depth, row_width)); in png_combine_row()
3555 switch (row_info->pixel_depth) in png_do_read_interlace()
3746 png_size_t pixel_bytes = (row_info->pixel_depth >> 3); in png_do_read_interlace()
3776 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, final_width); in png_do_read_interlace()
3790 unsigned int bpp = (row_info->pixel_depth + 7) >> 3; in png_read_filter_row_sub()
3825 unsigned int bpp = (row_info->pixel_depth + 7) >> 3; in png_read_filter_row_avg()
3897 int bpp = (row_info->pixel_depth + 7) >> 3; in png_read_filter_row_paeth_multibyte_pixel()
3953 unsigned int bpp = (pp->pixel_depth + 7) >> 3; in png_init_filter_functions()
4284 max_pixel_depth = png_ptr->pixel_depth; in png_read_start_row()
4504 (unsigned long)PNG_ROWBYTES(png_ptr->pixel_depth, png_ptr->iwidth) + 1); in png_read_start_row()