• Home
  • Raw
  • Download

Lines Matching refs:row_info

25 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth)  in png_do_pack()  argument
29 if (row_info->bit_depth == 8 && in png_do_pack()
30 row_info->channels == 1) in png_do_pack()
39 png_uint_32 row_width = row_info->width; in png_do_pack()
77 png_uint_32 row_width = row_info->width; in png_do_pack()
117 png_uint_32 row_width = row_info->width; in png_do_pack()
155 row_info->bit_depth = (png_byte)bit_depth; in png_do_pack()
156 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); in png_do_pack()
157 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, in png_do_pack()
158 row_info->width); in png_do_pack()
172 png_do_shift(png_row_infop row_info, png_bytep row, in png_do_shift() argument
177 if (row_info->color_type != PNG_COLOR_TYPE_PALETTE) in png_do_shift()
182 if ((row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_shift()
184 shift_start[channels] = row_info->bit_depth - bit_depth->red; in png_do_shift()
188 shift_start[channels] = row_info->bit_depth - bit_depth->green; in png_do_shift()
192 shift_start[channels] = row_info->bit_depth - bit_depth->blue; in png_do_shift()
199 shift_start[channels] = row_info->bit_depth - bit_depth->gray; in png_do_shift()
204 if ((row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_do_shift()
206 shift_start[channels] = row_info->bit_depth - bit_depth->alpha; in png_do_shift()
212 if (row_info->bit_depth < 8) in png_do_shift()
217 size_t row_bytes = row_info->rowbytes; in png_do_shift()
219 if (bit_depth->gray == 1 && row_info->bit_depth == 2) in png_do_shift()
222 else if (row_info->bit_depth == 4 && bit_depth->gray == 3) in png_do_shift()
249 else if (row_info->bit_depth == 8) in png_do_shift()
253 png_uint_32 istop = channels * row_info->width; in png_do_shift()
281 png_uint_32 istop = channels * row_info->width; in png_do_shift()
310 png_do_write_swap_alpha(png_row_infop row_info, png_bytep row) in png_do_write_swap_alpha() argument
315 if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA) in png_do_write_swap_alpha()
317 if (row_info->bit_depth == 8) in png_do_write_swap_alpha()
322 png_uint_32 row_width = row_info->width; in png_do_write_swap_alpha()
340 png_uint_32 row_width = row_info->width; in png_do_write_swap_alpha()
360 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA) in png_do_write_swap_alpha()
362 if (row_info->bit_depth == 8) in png_do_write_swap_alpha()
367 png_uint_32 row_width = row_info->width; in png_do_write_swap_alpha()
383 png_uint_32 row_width = row_info->width; in png_do_write_swap_alpha()
404 png_do_write_invert_alpha(png_row_infop row_info, png_bytep row) in png_do_write_invert_alpha() argument
409 if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA) in png_do_write_invert_alpha()
411 if (row_info->bit_depth == 8) in png_do_write_invert_alpha()
416 png_uint_32 row_width = row_info->width; in png_do_write_invert_alpha()
436 png_uint_32 row_width = row_info->width; in png_do_write_invert_alpha()
456 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA) in png_do_write_invert_alpha()
458 if (row_info->bit_depth == 8) in png_do_write_invert_alpha()
463 png_uint_32 row_width = row_info->width; in png_do_write_invert_alpha()
478 png_uint_32 row_width = row_info->width; in png_do_write_invert_alpha()
501 png_do_write_transformations(png_structrp png_ptr, png_row_infop row_info) in png_do_write_transformations() argument
514 row_info, /* row_info: */ in png_do_write_transformations()
526 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
532 png_do_packswap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
537 png_do_pack(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
544 png_do_swap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
550 png_do_shift(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
556 png_do_write_swap_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
561 png_do_write_invert_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
566 png_do_bgr(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
571 png_do_invert(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()