Home
last modified time | relevance | path

Searched refs:img_out_n (Results 1 - 1 of 1) sorted by relevance

/third_party/astc-encoder/Source/
H A Dstb_image.h806 int img_n, img_out_n; member
5040 if (s->img_out_n == 3) { // convert bgr to rgb in stbi__de_iphone()
5048 STBI_ASSERT(s->img_out_n == 4); in stbi__de_iphone()
5210 s->img_out_n = s->img_n+1; in stbi__parse_png_file()
5212 s->img_out_n = s->img_n; in stbi__parse_png_file()
5213 if (!stbi__create_png_image(z, z->expanded, raw_len, s->img_out_n, z->depth, color, interlace)) return 0; in stbi__parse_png_file()
5216 if (!stbi__compute_transparency16(z, tc16, s->img_out_n)) return 0; in stbi__parse_png_file()
5218 if (!stbi__compute_transparency(z, tc, s->img_out_n)) return 0; in stbi__parse_png_file()
5221 if (is_iphone && stbi__de_iphone_flag && s->img_out_n > 2) in stbi__parse_png_file()
5226 s->img_out_n in stbi__parse_png_file()
[all...]

Completed in 9 milliseconds