Lines Matching refs:pnm_file
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()
232 get_token (pnm_file, maxval_token, sizeof (maxval_token)); in pnm2png()
253 get_token (pnm_file, width_token, sizeof (width_token)); in pnm2png()
256 get_token (pnm_file, height_token, sizeof (height_token)); in pnm2png()
259 get_token (pnm_file, maxval_token, sizeof (maxval_token)); in pnm2png()
384 *pix_ptr++ = get_data (pnm_file, 8); in pnm2png()
396 *pix_ptr++ = get_data (pnm_file, bit_depth); in pnm2png()
402 *pix_ptr++ = get_value (pnm_file, bit_depth); in pnm2png()
406 tmp16 = get_value (pnm_file, bit_depth); in pnm2png()
518 void get_token (FILE *pnm_file, char *token_buf, size_t token_buf_size) in get_token() argument
526 ret = fgetc (pnm_file); in get_token()
532 ret = fgetc (pnm_file); in get_token()
544 ret = fgetc (pnm_file); in get_token()
562 png_uint_32 get_data (FILE *pnm_file, int depth) in get_data() argument
576 old_value = fgetc (pnm_file); in get_data()
595 png_uint_32 get_value (FILE *pnm_file, int depth) in get_value() argument
607 get_token (pnm_file, token, sizeof (token)); in get_value()