• Home
  • Raw
  • Download

Lines Matching refs:row_info

634 png_do_write_intrapixel(png_row_infop row_info, png_bytep row)  in png_do_write_intrapixel()  argument
638 if ((row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_write_intrapixel()
641 png_uint_32 row_width = row_info->width; in png_do_write_intrapixel()
642 if (row_info->bit_depth == 8) in png_do_write_intrapixel()
647 if (row_info->color_type == PNG_COLOR_TYPE_RGB) in png_do_write_intrapixel()
650 else if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA) in png_do_write_intrapixel()
664 else if (row_info->bit_depth == 16) in png_do_write_intrapixel()
669 if (row_info->color_type == PNG_COLOR_TYPE_RGB) in png_do_write_intrapixel()
672 else if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA) in png_do_write_intrapixel()
701 png_row_info row_info; in png_write_row() local
827 row_info.color_type = png_ptr->color_type; in png_write_row()
828 row_info.width = png_ptr->usr_width; in png_write_row()
829 row_info.channels = png_ptr->usr_channels; in png_write_row()
830 row_info.bit_depth = png_ptr->usr_bit_depth; in png_write_row()
831 row_info.pixel_depth = (png_byte)(row_info.bit_depth * row_info.channels); in png_write_row()
832 row_info.rowbytes = PNG_ROWBYTES(row_info.pixel_depth, row_info.width); in png_write_row()
834 png_debug1(3, "row_info->color_type = %d", row_info.color_type); in png_write_row()
835 png_debug1(3, "row_info->width = %u", row_info.width); in png_write_row()
836 png_debug1(3, "row_info->channels = %d", row_info.channels); in png_write_row()
837 png_debug1(3, "row_info->bit_depth = %d", row_info.bit_depth); in png_write_row()
838 png_debug1(3, "row_info->pixel_depth = %d", row_info.pixel_depth); in png_write_row()
839 png_debug1(3, "row_info->rowbytes = %lu", (unsigned long)row_info.rowbytes); in png_write_row()
842 memcpy(png_ptr->row_buf + 1, row, row_info.rowbytes); in png_write_row()
849 png_do_write_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass); in png_write_row()
851 if (row_info.width == 0) in png_write_row()
862 png_do_write_transformations(png_ptr, &row_info); in png_write_row()
868 if (row_info.pixel_depth != png_ptr->pixel_depth || in png_write_row()
869 row_info.pixel_depth != png_ptr->transformed_pixel_depth) in png_write_row()
886 png_do_write_intrapixel(&row_info, png_ptr->row_buf + 1); in png_write_row()
893 if (row_info.color_type == PNG_COLOR_TYPE_PALETTE && in png_write_row()
895 png_do_check_palette_indexes(png_ptr, &row_info); in png_write_row()
899 png_write_find_filter(png_ptr, &row_info); in png_write_row()