Lines Matching full:in_ct
6384 const png_byte in_ct = dp->this.colour_type;
6433 if (in_ct == PNG_COLOR_TYPE_PALETTE || in_bd < 16)
6457 transform_row(pp, std, in_ct, in_bd, y);
6468 image_pixel_init(&in_pixel, std, in_ct, in_bd, x, dp->this.palette,
6499 if (in_ct == PNG_COLOR_TYPE_PALETTE &&
9791 const png_byte in_ct = dp->this.colour_type;
9855 init_validate_info(&vi, dp, pp, in_ct==3?8:in_bd, out_ct==3?8:out_bd);
9858 || in_bd != out_bd || in_ct != out_ct || vi.do_background;
9868 if (in_ct == 3 && out_ct == 3)
9879 transform_row(pp, std, in_ct, in_bd, y);
9891 in_ct == 3 ? sample(std, 3, in_bd, x, 0, 0, 0) : 256;
9898 if ((in_ct & PNG_COLOR_MASK_ALPHA) != 0 ||
9899 (in_ct == 3 && in_is_transparent))
9901 const unsigned int input_alpha = in_ct == 3 ?
9903 sample(std, in_ct, in_bd, x, samples_per_pixel, 0, 0);
9937 switch (in_ct)
9940 if (sample(std, in_ct, in_bd, x, 0, 0, 0) ==
9946 if (sample(std, in_ct, in_bd, x, 0, 0, 0) ==
9948 sample(std, in_ct, in_bd, x, 1, 0, 0) ==
9950 sample(std, in_ct, in_bd, x, 2, 0, 0) ==
9961 if ((in_ct & PNG_COLOR_MASK_COLOR) == 0) /* grayscale */
9963 sample(std, in_ct, in_bd, x, 0, 0, 0),
9969 in_ct == 3 ? in_palette[in_index].red :
9970 sample(std, in_ct, in_bd, x, 0, 0, 0),
9976 in_ct == 3 ? in_palette[in_index].green :
9977 sample(std, in_ct, in_bd, x, 1, 0, 0),
9983 in_ct == 3 ? in_palette[in_index].blue :
9984 sample(std, in_ct, in_bd, x, 2, 0, 0),