Searched refs:pnm_file (Results 1 - 2 of 2) sorted by relevance
/external/libpng/contrib/pngminus/ |
H A D | pnm2png.c | 52 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, BOOL interlace, BOOL alpha); 53 void get_token(FILE *pnm_file, char *token); 54 png_uint_32 get_data (FILE *pnm_file, int depth); 55 png_uint_32 get_value (FILE *pnm_file, int depth); 186 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, BOOL interlace, BOOL alpha) argument 214 get_token(pnm_file, type_token); 229 get_token(pnm_file, width_token); 231 get_token(pnm_file, height_token); 233 get_token(pnm_file, maxval_token); 250 get_token(pnm_file, width_toke 446 get_token(FILE *pnm_file, char *token) argument 476 get_data(FILE *pnm_file, int depth) argument 509 get_value(FILE *pnm_file, int depth) argument [all...] |
H A D | png2pnm.c | 54 BOOL png2pnm (FILE *png_file, FILE *pnm_file, FILE *alpha_file, BOOL raw, BOOL alpha); 188 BOOL png2pnm (FILE *png_file, FILE *pnm_file, FILE *alpha_file, BOOL raw, BOOL alpha) argument 289 pnm_file->flags &= ~((unsigned) _F_BIN); 348 fprintf (pnm_file, "%s\n", (raw) ? "P5" : "P2"); 349 fprintf (pnm_file, "%d %d\n", (int) width, (int) height); 350 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); 355 fprintf (pnm_file, "%s\n", (raw) ? "P6" : "P3"); 356 fprintf (pnm_file, "%d %d\n", (int) width, (int) height); 357 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); 381 fputc ((int) *pix_ptr++ , pnm_file); [all...] |
Completed in 145 milliseconds