• Home
  • Raw
  • Download

Lines Matching refs:channels

2011       info_ptr->channels = 1;  in png_read_transform_info()
2014 info_ptr->channels = 3; in png_read_transform_info()
2017 info_ptr->channels = 1; in png_read_transform_info()
2029 info_ptr->channels++; in png_read_transform_info()
2037 info_ptr->channels++; in png_read_transform_info()
2051 if (info_ptr->channels < png_ptr->user_transform_channels) in png_read_transform_info()
2052 info_ptr->channels = png_ptr->user_transform_channels; in png_read_transform_info()
2056 info_ptr->pixel_depth = (png_byte)(info_ptr->channels * in png_read_transform_info()
2361 row_info->channels = png_ptr->user_transform_channels; in png_do_read_transformations()
2364 row_info->channels); in png_do_read_transformations()
2464 row_info->pixel_depth = (png_byte)(8 * row_info->channels); in png_do_unpack()
2465 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack()
2490 int channels = 0; in png_do_unshift() local
2495 shift[channels++] = bit_depth - sig_bits->red; in png_do_unshift()
2496 shift[channels++] = bit_depth - sig_bits->green; in png_do_unshift()
2497 shift[channels++] = bit_depth - sig_bits->blue; in png_do_unshift()
2502 shift[channels++] = bit_depth - sig_bits->gray; in png_do_unshift()
2507 shift[channels++] = bit_depth - sig_bits->alpha; in png_do_unshift()
2513 for (c = have_shift = 0; c < channels; ++c) in png_do_unshift()
2580 if (++channel >= channels) in png_do_unshift()
2600 if (++channel >= channels) in png_do_unshift()
2666 row_info->pixel_depth = (png_byte)(8 * row_info->channels); in png_do_scale_16_to_8()
2667 row_info->rowbytes = row_info->width * row_info->channels; in png_do_scale_16_to_8()
2694 row_info->pixel_depth = (png_byte)(8 * row_info->channels); in png_do_chop()
2695 row_info->rowbytes = row_info->width * row_info->channels; in png_do_chop()
2930 row_info->channels = 2; in png_do_read_filler()
2945 row_info->channels = 2; in png_do_read_filler()
2968 row_info->channels = 2; in png_do_read_filler()
2985 row_info->channels = 2; in png_do_read_filler()
3009 row_info->channels = 4; in png_do_read_filler()
3026 row_info->channels = 4; in png_do_read_filler()
3053 row_info->channels = 4; in png_do_read_filler()
3075 row_info->channels = 4; in png_do_read_filler()
3164 row_info->channels = (png_byte)(row_info->channels + 2); in png_do_gray_to_rgb()
3166 row_info->pixel_depth = (png_byte)(row_info->channels * in png_do_gray_to_rgb()
3410 row_info->channels = (png_byte)(row_info->channels - 2); in png_do_rgb_to_gray()
3413 row_info->pixel_depth = (png_byte)(row_info->channels * in png_do_rgb_to_gray()
4609 row_info->channels = 4; in png_do_expand_palette()
4629 row_info->channels = 3; in png_do_expand_palette()
4791 row_info->channels = 2; in png_do_expand()
4857 row_info->channels = 4; in png_do_expand()
4891 row_info->pixel_depth = (png_byte)(row_info->channels * 16); in png_do_expand_16()
4940 row_info->channels = 1; in png_do_quantize()
4971 row_info->channels = 1; in png_do_quantize()