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