Searched refs:img_out_n (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/include/stb/ |
| H A D | stb_image.h | 727 int img_n, img_out_n; member 4759 if (s->img_out_n == 3) { // convert bgr to rgb in stbi__de_iphone() 4767 STBI_ASSERT(s->img_out_n == 4); in stbi__de_iphone() 4920 s->img_out_n = s->img_n+1; in stbi__parse_png_file() 4922 s->img_out_n = s->img_n; in stbi__parse_png_file() 4923 …if (!stbi__create_png_image(z, z->expanded, raw_len, s->img_out_n, z->depth, color, interlace)) re… in stbi__parse_png_file() 4926 if (!stbi__compute_transparency16(z, tc16, s->img_out_n)) return 0; in stbi__parse_png_file() 4928 if (!stbi__compute_transparency(z, tc, s->img_out_n)) return 0; in stbi__parse_png_file() 4931 if (is_iphone && stbi__de_iphone_flag && s->img_out_n > 2) in stbi__parse_png_file() 4936 s->img_out_n = pal_img_n; in stbi__parse_png_file() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/stb/ |
| H A D | stb_image.h | 727 int img_n, img_out_n; member 4759 if (s->img_out_n == 3) { // convert bgr to rgb in stbi__de_iphone() 4767 STBI_ASSERT(s->img_out_n == 4); in stbi__de_iphone() 4920 s->img_out_n = s->img_n+1; in stbi__parse_png_file() 4922 s->img_out_n = s->img_n; in stbi__parse_png_file() 4923 …if (!stbi__create_png_image(z, z->expanded, raw_len, s->img_out_n, z->depth, color, interlace)) re… in stbi__parse_png_file() 4926 if (!stbi__compute_transparency16(z, tc16, s->img_out_n)) return 0; in stbi__parse_png_file() 4928 if (!stbi__compute_transparency(z, tc, s->img_out_n)) return 0; in stbi__parse_png_file() 4931 if (is_iphone && stbi__de_iphone_flag && s->img_out_n > 2) in stbi__parse_png_file() 4936 s->img_out_n = pal_img_n; in stbi__parse_png_file() [all …]
|