Searched refs:pnm_file (Results 1 – 2 of 2) sorted by relevance
/external/libpng/contrib/pngminus/ |
D | pnm2png.c | 34 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, 36 void get_token (FILE *pnm_file, char *token_buf, size_t token_buf_size); 37 png_uint_32 get_data (FILE *pnm_file, int depth); 38 png_uint_32 get_value (FILE *pnm_file, int depth); 163 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, in pnm2png() argument 198 get_token (pnm_file, type_token, sizeof (type_token)); in pnm2png() 208 get_token (pnm_file, width_token, sizeof (width_token)); in pnm2png() 211 get_token (pnm_file, height_token, sizeof (height_token)); in pnm2png() 226 get_token (pnm_file, width_token, sizeof (width_token)); in pnm2png() 229 get_token (pnm_file, height_token, sizeof (height_token)); in pnm2png() [all …]
|
D | png2pnm.c | 34 BOOL png2pnm (FILE *png_file, FILE *pnm_file, FILE *alpha_file, 163 BOOL png2pnm (FILE *png_file, FILE *pnm_file, FILE *alpha_file, in png2pnm() argument 264 setmode (fileno (pnm_file), O_BINARY); in png2pnm() 332 fprintf (pnm_file, "%s\n", (raw) ? "P5" : "P2"); in png2pnm() 333 fprintf (pnm_file, "%d %d\n", (int) width, (int) height); in png2pnm() 334 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); in png2pnm() 339 fprintf (pnm_file, "%s\n", (raw) ? "P6" : "P3"); in png2pnm() 340 fprintf (pnm_file, "%d %d\n", (int) width, (int) height); in png2pnm() 341 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); in png2pnm() 366 fputc ((int) *pix_ptr++, pnm_file); in png2pnm() [all …]
|