Lines Matching full:channels
41 /* png_byte channels; number of channels (1-4) */
42 /* png_byte pixel_depth; bits per pixel (depth*channels) */
97 * row_info bit depth should be 8 (one pixel per byte). The channels
106 row_info->channels == 1)
230 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
254 int channels = 0;
258 shift_start[channels] = row_info->bit_depth - bit_depth->red;
259 shift_dec[channels] = bit_depth->red;
260 channels++;
262 shift_start[channels] = row_info->bit_depth - bit_depth->green;
263 shift_dec[channels] = bit_depth->green;
264 channels++;
266 shift_start[channels] = row_info->bit_depth - bit_depth->blue;
267 shift_dec[channels] = bit_depth->blue;
268 channels++;
273 shift_start[channels] = row_info->bit_depth - bit_depth->gray;
274 shift_dec[channels] = bit_depth->gray;
275 channels++;
280 shift_start[channels] = row_info->bit_depth - bit_depth->alpha;
281 shift_dec[channels] = bit_depth->alpha;
282 channels++;
325 png_uint_32 istop = channels * row_info->width;
332 int c = (int)(i%channels);
352 png_uint_32 istop = channels * row_info->width;
356 int c = (int)(i%channels);