Lines Matching defs:channels
408 row_info.channels = png_ptr->channels;
804 // check if the x2_filter is effective: only supports channels 3 or 4
805 if ((row_info_in.channels == 3 || row_info_in.channels == 4) &&
983 row_info.channels = png_ptr->channels;
1380 * channels so the data will be available as RGBA quartets.
2609 /* 8-bit or 16-bit PNG with two channels - gray and alpha. A minimum
2635 * background is a color because the G and A channels are
2784 * channels. The more complex case arises when the input has alpha.
2908 /* Is there alpha in the output too? If so all four channels are
3426 /* Output must be two channels and the 'G' one must be sRGB, the latter
3546 unsigned int channels =
3561 startx = PNG_PASS_START_COL(pass) * channels;
3562 stepx = PNG_PASS_COL_OFFSET(pass) * channels;
3571 stepx = channels;
3586 end_row = outrow + width * channels;
3592 png_byte alpha = inrow[channels];
3598 for (c=0; c<channels; ++c)
3624 inrow += channels+1; /* components and alpha channel */
3661 * might be 8 or 16-bit but should always have two channels; gray plus alpha.
3670 png_error(png_ptr, "lost/gained channels");
4372 unsigned int channels = PNG_IMAGE_PIXEL_CHANNELS(image->format);
4375 * fits in a signed 32-bit value. Because channels/components can be
4380 if (image->width <= 0x7fffffffU/channels) /* no overflow */
4383 png_uint_32 png_row_stride = image->width * channels;