Home | History | Annotate | Download | only in libtests

Lines Matching full:out_ct

5899    PNG_CONST png_byte out_ct = dp->output_colour_type;
5901 PNG_CONST png_byte sample_depth = (png_byte)(out_ct ==
5921 if (out_ct == PNG_COLOR_TYPE_PALETTE)
5998 image_pixel_init(&out_pixel, pRow, out_ct, out_bd, x, out_palette);
6004 out_ct == PNG_COLOR_TYPE_PALETTE)
6019 if ((out_ct & PNG_COLOR_MASK_COLOR) != 0 &&
6026 if ((out_ct & PNG_COLOR_MASK_COLOR) != 0 &&
6033 if ((out_ct & PNG_COLOR_MASK_ALPHA) != 0 &&
8647 PNG_CONST png_byte out_ct = png_get_color_type(pp, pi);
8689 PNG_CONST unsigned int samples_per_pixel = (out_ct & 2U) ? 3U : 1U;
8705 init_validate_info(&vi, dp, pp, in_ct==3?8:in_bd, out_ct==3?8:out_bd);
8708 || in_bd != out_bd || in_ct != out_ct || vi.do_background;
8715 * out_ct is palette.
8717 if (in_ct == 3 && out_ct == 3)
8720 if (processing && out_ct == 3)
8742 out_ct == 3 ? sample(std, 3, out_bd, x, 0) : 256;
8756 if (out_ct == 3)
8762 else if ((out_ct & PNG_COLOR_MASK_ALPHA) != 0)
8763 output_alpha = sample(pRow, out_ct, out_bd, x,
8784 sample(pRow, out_ct, out_bd, x, 0), alpha/*component*/,
8791 out_ct == 3 ? out_palette[out_index].red :
8792 sample(pRow, out_ct, out_bd, x, 0),
8798 out_ct == 3 ? out_palette[out_index].green :
8799 sample(pRow, out_ct, out_bd, x, 1),
8805 out_ct == 3 ? out_palette[out_index].blue :
8806 sample(pRow, out_ct, out_bd, x, 2),