Lines Matching full:bit_depth
72 int bit_depth, color_type;
134 * etc., but want bit_depth and color_type for later [don't care about
137 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
181 if (bit_depth == 16) {
185 } else if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
186 if (bit_depth == 1)
188 else if (bit_depth == 2)
190 else /* bit_depth == 4 */
228 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
232 if (bit_depth == 16)