• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/png/

Lines Matching refs:bit_depth

35              /*  png_byte bit_depth;         bit depth of samples */
52 (png_uint_32)png_ptr->bit_depth);
82 /* Pack pixels into bytes. Pass the true bit depth in bit_depth. The
87 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth)
90 if (row_info->bit_depth == 8 &&
96 switch ((int)bit_depth)
196 row_info->bit_depth = (png_byte)bit_depth;
197 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
206 * true number of bits in bit_depth. The row should be packed
207 * according to row_info->bit_depth. Thus, if you had a row of
209 * would pass 3 as bit_depth, and this routine would translate the
213 png_do_shift(png_row_infop row_info, png_bytep row, png_color_8p bit_depth)
228 shift_start[channels] = row_info->bit_depth - bit_depth->red;
229 shift_dec[channels] = bit_depth->red;
231 shift_start[channels] = row_info->bit_depth - bit_depth->green;
232 shift_dec[channels] = bit_depth->green;
234 shift_start[channels] = row_info->bit_depth - bit_depth->blue;
235 shift_dec[channels] = bit_depth->blue;
240 shift_start[channels] = row_info->bit_depth - bit_depth->gray;
241 shift_dec[channels] = bit_depth->gray;
246 shift_start[channels] = row_info->bit_depth - bit_depth->alpha;
247 shift_dec[channels] = bit_depth->alpha;
252 if (row_info->bit_depth < 8)
259 if (bit_depth->gray == 1 && row_info->bit_depth == 2)
261 else if (row_info->bit_depth == 4 && bit_depth->gray == 3)
282 else if (row_info->bit_depth == 8)
347 if (row_info->bit_depth == 8)
387 if (row_info->bit_depth == 8)
435 if (row_info->bit_depth == 8)
471 if (row_info->bit_depth == 8)
517 if (row_info->bit_depth == 8)
535 else if (row_info->bit_depth == 16)