Lines Matching defs:png
55 Sean Barrett (jpeg, png, bmp) Fabian "ryg" Giesen
87 // - non-HDR formats support 8-bit samples only (jpeg, png)
328 // is it a png?
516 // is it a png?
969 // and it never has alpha, so very few cases ). png can automatically
2475 if (flg & 32) return e("no preset dict","Corrupt PNG"); // preset dictionary not allowed in png
2476 if (cm != 8) return e("bad compression","Corrupt PNG"); // DEFLATE required for png
2675 if (get8(s) != png_sig[i]) return e("bad png sig","Not a PNG");
2683 } png;
2707 // create the png data from post-deflated data
2708 static int create_png_image_raw(png *a, uint8 *raw, uint32 raw_len, int out_n, uint32 x, uint32 y)
2799 static int create_png_image(png *a, uint8 *raw, uint32 raw_len, int out_n, int interlaced)
2840 static int compute_transparency(png *z, uint8 tc[3], int out_n)
2865 static int expand_palette(png *a, uint8 *palette, int len, int pal_img_n)
2914 static void stbi_de_iphone(png *z)
2956 static int parse_png_file(png *z, int scan, int req_comp)
3105 static unsigned char *do_png(png *p, int *x, int *y, int *n, int req_comp)
3133 png p;
3151 png p;
3159 png p;
3171 png p;
3176 static int stbi_png_info_raw(png *p, int *x, int *y, int *comp)
3199 png p;
3211 png p;
5077 0.53 fix bug in png 3->4; speedup png decoding
5078 0.52 png handles req_comp=3,4 directly; minor cleanup; jpeg comments