Lines Matching refs:pnm_file
54 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, BOOL interlace,
56 void get_token(FILE *pnm_file, char *token);
57 png_uint_32 get_data (FILE *pnm_file, int depth);
58 png_uint_32 get_value (FILE *pnm_file, int depth);
190 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, BOOL interlace, in pnm2png() argument
225 get_token(pnm_file, type_token); in pnm2png()
235 get_token(pnm_file, width_token); in pnm2png()
238 get_token(pnm_file, height_token); in pnm2png()
252 get_token(pnm_file, width_token); in pnm2png()
255 get_token(pnm_file, height_token); in pnm2png()
258 get_token(pnm_file, maxval_token); in pnm2png()
277 get_token(pnm_file, width_token); in pnm2png()
280 get_token(pnm_file, height_token); in pnm2png()
283 get_token(pnm_file, maxval_token); in pnm2png()
389 *pix_ptr++ = get_data (pnm_file, 8); in pnm2png()
398 *pix_ptr++ = get_data (pnm_file, bit_depth); in pnm2png()
401 *pix_ptr++ = get_value (pnm_file, bit_depth); in pnm2png()
404 tmp16 = get_value (pnm_file, bit_depth); in pnm2png()
514 void get_token(FILE *pnm_file, char *token) in get_token() argument
522 ret = fgetc(pnm_file); in get_token()
527 ret = fgetc(pnm_file); in get_token()
539 ret = fgetc(pnm_file); in get_token()
557 png_uint_32 get_data (FILE *pnm_file, int depth) in get_data() argument
571 old_value = fgetc (pnm_file); in get_data()
590 png_uint_32 get_value (FILE *pnm_file, int depth) in get_value() argument
602 get_token (pnm_file, (char *) token); in get_value()