Lines Matching full:channels
21 * row_info bit depth should be 8 (one pixel per byte). The channels
30 row_info->channels == 1)
156 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
180 int channels = 0;
184 shift_start[channels] = row_info->bit_depth - bit_depth->red;
185 shift_dec[channels] = bit_depth->red;
186 channels++;
188 shift_start[channels] = row_info->bit_depth - bit_depth->green;
189 shift_dec[channels] = bit_depth->green;
190 channels++;
192 shift_start[channels] = row_info->bit_depth - bit_depth->blue;
193 shift_dec[channels] = bit_depth->blue;
194 channels++;
199 shift_start[channels] = row_info->bit_depth - bit_depth->gray;
200 shift_dec[channels] = bit_depth->gray;
201 channels++;
206 shift_start[channels] = row_info->bit_depth - bit_depth->alpha;
207 shift_dec[channels] = bit_depth->alpha;
208 channels++;
253 png_uint_32 istop = channels * row_info->width;
258 const unsigned int c = i%channels;
282 png_uint_32 istop = channels * row_info->width;
286 const unsigned int c = i%channels;
520 /* png_byte channels; number of channels (1-4) */
521 /* png_byte pixel_depth; bits per pixel (depth*channels) */