Home | History | Annotate | Download | only in jni

Lines Matching refs:bit_depth

1204          switch (png_ptr->bit_depth)
1447 png_ptr->bit_depth != 16)
1474 png_ptr->bit_depth == 16)
1532 png_build_gamma_table(png_ptr, png_ptr->bit_depth);
1899 info_ptr->bit_depth = 8;
1909 if (info_ptr->bit_depth < 8)
1910 info_ptr->bit_depth = 8;
1935 if (info_ptr->bit_depth == 16)
1940 info_ptr->bit_depth = 8;
1945 info_ptr->bit_depth = 8;
1959 info_ptr->bit_depth = 8;
1964 info_ptr->bit_depth = 8;
1990 png_ptr->palette_lookup && info_ptr->bit_depth == 8)
1998 if (png_ptr->transformations & PNG_EXPAND_16 && info_ptr->bit_depth == 8 &&
2001 info_ptr->bit_depth = 16;
2006 if ((png_ptr->transformations & PNG_PACK) && (info_ptr->bit_depth < 8))
2007 info_ptr->bit_depth = 8;
2048 if (info_ptr->bit_depth < png_ptr->user_transform_depth)
2049 info_ptr->bit_depth = png_ptr->user_transform_depth;
2057 info_ptr->bit_depth);
2352 /* png_byte bit_depth; bit depth of samples */
2358 row_info->bit_depth = png_ptr->user_transform_depth;
2363 row_info->pixel_depth = (png_byte)(row_info->bit_depth *
2383 if (row_info->bit_depth < 8)
2388 switch (row_info->bit_depth)
2463 row_info->bit_depth = 8;
2491 int bit_depth = row_info->bit_depth;
2495 shift[channels++] = bit_depth - sig_bits->red;
2496 shift[channels++] = bit_depth - sig_bits->green;
2497 shift[channels++] = bit_depth - sig_bits->blue;
2502 shift[channels++] = bit_depth - sig_bits->gray;
2507 shift[channels++] = bit_depth - sig_bits->alpha;
2518 if (shift[c] <= 0 || shift[c] >= bit_depth)
2529 switch (bit_depth)
2620 if (row_info->bit_depth == 16)
2665 row_info->bit_depth = 8;
2681 if (row_info->bit_depth == 16)
2693 row_info->bit_depth = 8;
2711 if (row_info->bit_depth == 8)
2757 if (row_info->bit_depth == 8)
2807 if (row_info->bit_depth == 8)
2859 if (row_info->bit_depth == 8)
2917 if (row_info->bit_depth == 8)
2952 else if (row_info->bit_depth == 16)
2994 if (row_info->bit_depth == 8)
3033 else if (row_info->bit_depth == 16)
3095 if (row_info->bit_depth >= 8 &&
3100 if (row_info->bit_depth == 8)
3132 if (row_info->bit_depth == 8)
3167 row_info->bit_depth);
3244 if (row_info->bit_depth == 8)
3321 else /* RGB bit_depth == 16 */
3414 row_info->bit_depth);
3423 /* Build a grayscale palette. Palette is assumed to be 1 << bit_depth
3429 png_build_grayscale_palette(int bit_depth, png_colorp palette)
3441 switch (bit_depth)
3512 switch (row_info->bit_depth)
3752 if (row_info->bit_depth == 8)
3794 else /* if (row_info->bit_depth == 16) */
3879 if (row_info->bit_depth == 8)
3927 else /* if (png_ptr->bit_depth == 16) */
4004 if (row_info->bit_depth == 8)
4079 else /* if (row_info->bit_depth == 16) */
4232 if (((row_info->bit_depth <= 8 && gamma_table != NULL) ||
4233 (row_info->bit_depth == 16 && gamma_16_table != NULL)))
4239 if (row_info->bit_depth == 8)
4253 else /* if (row_info->bit_depth == 16) */
4281 if (row_info->bit_depth == 8)
4299 else /* if (row_info->bit_depth == 16) */
4325 if (row_info->bit_depth == 8)
4335 else /* if (row_info->bit_depth == 16) */
4351 if (row_info->bit_depth == 2)
4370 if (row_info->bit_depth == 4)
4384 else if (row_info->bit_depth == 8)
4394 else if (row_info->bit_depth == 16)
4429 if (row_info->bit_depth == 8)
4448 else if (row_info->bit_depth == 16)
4499 if (row_info->bit_depth < 8)
4501 switch (row_info->bit_depth)
4579 row_info->bit_depth = 8;
4584 if (row_info->bit_depth == 8)
4605 row_info->bit_depth = 8;
4625 row_info->bit_depth = 8;
4655 if (row_info->bit_depth < 8)
4657 switch (row_info->bit_depth)
4740 row_info->bit_depth = 8;
4747 if (row_info->bit_depth == 8)
4765 else if (row_info->bit_depth == 16)
4792 row_info->pixel_depth = (png_byte)(row_info->bit_depth << 1);
4799 if (row_info->bit_depth == 8)
4819 else if (row_info->bit_depth == 16)
4858 row_info->pixel_depth = (png_byte)(row_info->bit_depth << 2);
4872 if (row_info->bit_depth == 8 &&
4890 row_info->bit_depth = 16;
4907 if (row_info->bit_depth == 8)
4941 row_info->pixel_depth = row_info->bit_depth;
4972 row_info->pixel_depth = row_info->bit_depth;
5004 if (row_info->bit_depth == 8)
5024 else if (row_info->bit_depth == 16)