• Home
  • Raw
  • Download

Lines Matching refs:row_info

176 png_do_invert(png_row_infop row_info, png_bytep row)  in png_do_invert()  argument
183 if (row == NULL || row_info == NULL) in png_do_invert()
186 if (row_info->color_type == PNG_COLOR_TYPE_GRAY) in png_do_invert()
190 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
198 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_invert()
199 row_info->bit_depth == 8) in png_do_invert()
203 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
211 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_invert()
212 row_info->bit_depth == 16) in png_do_invert()
216 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
231 png_do_swap(png_row_infop row_info, png_bytep row) in png_do_swap() argument
236 row != NULL && row_info != NULL && in png_do_swap()
238 row_info->bit_depth == 16) in png_do_swap()
242 png_uint_32 istop= row_info->width * row_info->channels; in png_do_swap()
362 png_do_packswap(png_row_infop row_info, png_bytep row) in png_do_packswap() argument
367 row != NULL && row_info != NULL && in png_do_packswap()
369 row_info->bit_depth < 8) in png_do_packswap()
373 end = row + row_info->rowbytes; in png_do_packswap()
375 if (row_info->bit_depth == 1) in png_do_packswap()
377 else if (row_info->bit_depth == 2) in png_do_packswap()
379 else if (row_info->bit_depth == 4) in png_do_packswap()
394 png_do_strip_filler(png_row_infop row_info, png_bytep row, png_uint_32 flags) in png_do_strip_filler() argument
398 if (row != NULL && row_info != NULL) in png_do_strip_filler()
403 png_uint_32 row_width=row_info->width; in png_do_strip_filler()
406 if ((row_info->color_type == PNG_COLOR_TYPE_RGB || in png_do_strip_filler()
407 (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA && in png_do_strip_filler()
409 row_info->channels == 4) in png_do_strip_filler()
411 if (row_info->bit_depth == 8) in png_do_strip_filler()
436 row_info->pixel_depth = 24; in png_do_strip_filler()
437 row_info->rowbytes = row_width * 3; in png_do_strip_filler()
482 row_info->pixel_depth = 48; in png_do_strip_filler()
483 row_info->rowbytes = row_width * 6; in png_do_strip_filler()
485 row_info->channels = 3; in png_do_strip_filler()
487 else if ((row_info->color_type == PNG_COLOR_TYPE_GRAY || in png_do_strip_filler()
488 (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_strip_filler()
490 row_info->channels == 2) in png_do_strip_filler()
492 if (row_info->bit_depth == 8) in png_do_strip_filler()
512 row_info->pixel_depth = 8; in png_do_strip_filler()
513 row_info->rowbytes = row_width; in png_do_strip_filler()
538 row_info->pixel_depth = 16; in png_do_strip_filler()
539 row_info->rowbytes = row_width * 2; in png_do_strip_filler()
541 row_info->channels = 1; in png_do_strip_filler()
544 row_info->color_type &= ~PNG_COLOR_MASK_ALPHA; in png_do_strip_filler()
552 png_do_bgr(png_row_infop row_info, png_bytep row) in png_do_bgr() argument
557 row != NULL && row_info != NULL && in png_do_bgr()
559 (row_info->color_type & PNG_COLOR_MASK_COLOR)) in png_do_bgr()
561 png_uint_32 row_width = row_info->width; in png_do_bgr()
562 if (row_info->bit_depth == 8) in png_do_bgr()
564 if (row_info->color_type == PNG_COLOR_TYPE_RGB) in png_do_bgr()
576 else if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA) in png_do_bgr()
589 else if (row_info->bit_depth == 16) in png_do_bgr()
591 if (row_info->color_type == PNG_COLOR_TYPE_RGB) in png_do_bgr()
606 else if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA) in png_do_bgr()