Lines Matching refs:out_ct
6763 const png_byte out_ct = dp->output_colour_type; in transform_image_validate() local
6765 const png_byte sample_depth = (png_byte)(out_ct == in transform_image_validate()
6785 if (out_ct == PNG_COLOR_TYPE_PALETTE) in transform_image_validate()
6868 image_pixel_init(&out_pixel, pRow, out_ct, out_bd, x, out_palette, in transform_image_validate()
6875 out_ct == PNG_COLOR_TYPE_PALETTE) in transform_image_validate()
6890 if ((out_ct & PNG_COLOR_MASK_COLOR) != 0 && in transform_image_validate()
6897 if ((out_ct & PNG_COLOR_MASK_COLOR) != 0 && in transform_image_validate()
6904 if ((out_ct & PNG_COLOR_MASK_ALPHA) != 0 && in transform_image_validate()
10169 const png_byte out_ct = png_get_color_type(pp, pi); in gamma_image_validate() local
10211 const unsigned int samples_per_pixel = (out_ct & 2U) ? 3U : 1U; in gamma_image_validate()
10228 init_validate_info(&vi, dp, pp, in_ct==3?8:in_bd, out_ct==3?8:out_bd); in gamma_image_validate()
10231 || in_bd != out_bd || in_ct != out_ct || vi.do_background; in gamma_image_validate()
10241 if (in_ct == 3 && out_ct == 3) in gamma_image_validate()
10244 if (processing && out_ct == 3) in gamma_image_validate()
10266 out_ct == 3 ? sample(std, 3, out_bd, x, 0, 0, 0) : 256; in gamma_image_validate()
10280 if (out_ct == 3) in gamma_image_validate()
10286 else if ((out_ct & PNG_COLOR_MASK_ALPHA) != 0) in gamma_image_validate()
10287 output_alpha = sample(pRow, out_ct, out_bd, x, in gamma_image_validate()
10337 sample(pRow, out_ct, out_bd, x, 0, 0, 0), in gamma_image_validate()
10344 out_ct == 3 ? out_palette[out_index].red : in gamma_image_validate()
10345 sample(pRow, out_ct, out_bd, x, 0, 0, 0), in gamma_image_validate()
10351 out_ct == 3 ? out_palette[out_index].green : in gamma_image_validate()
10352 sample(pRow, out_ct, out_bd, x, 1, 0, 0), in gamma_image_validate()
10358 out_ct == 3 ? out_palette[out_index].blue : in gamma_image_validate()
10359 sample(pRow, out_ct, out_bd, x, 2, 0, 0), in gamma_image_validate()