Lines Matching full:channels
36 /* png_byte channels; number of channels (1-4) */
37 /* png_byte pixel_depth; bits per pixel (depth*channels) */
83 * row_info bit depth should be 8 (one pixel per byte). The channels
94 row_info->channels == 1)
197 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
224 int channels = 0;
228 shift_start[channels] = row_info->bit_depth - bit_depth->red;
229 shift_dec[channels] = bit_depth->red;
230 channels++;
231 shift_start[channels] = row_info->bit_depth - bit_depth->green;
232 shift_dec[channels] = bit_depth->green;
233 channels++;
234 shift_start[channels] = row_info->bit_depth - bit_depth->blue;
235 shift_dec[channels] = bit_depth->blue;
236 channels++;
240 shift_start[channels] = row_info->bit_depth - bit_depth->gray;
241 shift_dec[channels] = bit_depth->gray;
242 channels++;
246 shift_start[channels] = row_info->bit_depth - bit_depth->alpha;
247 shift_dec[channels] = bit_depth->alpha;
248 channels++;
286 png_uint_32 istop = channels * row_info->width;
293 int c = (int)(i%channels);
310 png_uint_32 istop = channels * row_info->width;
314 int c = (int)(i%channels);