Home
last modified time | relevance | path

Searched refs:pnm_file (Results 1 – 2 of 2) sorted by relevance

/external/libpng/contrib/pngminus/
Dpnm2png.c67 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, BOOL interlace,
69 void get_token(FILE *pnm_file, char *token);
70 png_uint_32 get_data (FILE *pnm_file, int depth);
71 png_uint_32 get_value (FILE *pnm_file, int depth);
203 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, BOOL interlace, in pnm2png() argument
238 get_token(pnm_file, type_token); in pnm2png()
248 get_token(pnm_file, width_token); in pnm2png()
251 get_token(pnm_file, height_token); in pnm2png()
265 get_token(pnm_file, width_token); in pnm2png()
268 get_token(pnm_file, height_token); in pnm2png()
[all …]
Dpng2pnm.c68 BOOL png2pnm (FILE *png_file, FILE *pnm_file, FILE *alpha_file, BOOL raw,
206 BOOL png2pnm (FILE *png_file, FILE *pnm_file, FILE *alpha_file, in png2pnm() argument
308 pnm_file->flags &= ~((unsigned) _F_BIN); in png2pnm()
376 fprintf (pnm_file, "%s\n", (raw) ? "P5" : "P2"); in png2pnm()
377 fprintf (pnm_file, "%d %d\n", (int) width, (int) height); in png2pnm()
378 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); in png2pnm()
383 fprintf (pnm_file, "%s\n", (raw) ? "P6" : "P3"); in png2pnm()
384 fprintf (pnm_file, "%d %d\n", (int) width, (int) height); in png2pnm()
385 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); in png2pnm()
409 fputc ((int) *pix_ptr++ , pnm_file); in png2pnm()
[all …]