Lines Matching full:channels
41 /* png_byte channels; number of channels (1-4) */
42 /* png_byte pixel_depth; bits per pixel (depth*channels) */
88 * row_info bit depth should be 8 (one pixel per byte). The channels
100 row_info->channels == 1)
203 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
231 int channels = 0;
235 shift_start[channels] = row_info->bit_depth - bit_depth->red;
236 shift_dec[channels] = bit_depth->red;
237 channels++;
238 shift_start[channels] = row_info->bit_depth - bit_depth->green;
239 shift_dec[channels] = bit_depth->green;
240 channels++;
241 shift_start[channels] = row_info->bit_depth - bit_depth->blue;
242 shift_dec[channels] = bit_depth->blue;
243 channels++;
247 shift_start[channels] = row_info->bit_depth - bit_depth->gray;
248 shift_dec[channels] = bit_depth->gray;
249 channels++;
253 shift_start[channels] = row_info->bit_depth - bit_depth->alpha;
254 shift_dec[channels] = bit_depth->alpha;
255 channels++;
293 png_uint_32 istop = channels * row_info->width;
300 int c = (int)(i%channels);
317 png_uint_32 istop = channels * row_info->width;
321 int c = (int)(i%channels);