Home
last modified time | relevance | path

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

/external/libpng/contrib/pngminus/
Dpng2pnm.c34 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
350 fprintf (alpha_file, "%s\n", (raw) ? "P5" : "P2"); in png2pnm()
351 fprintf (alpha_file, "%d %d\n", (int) width, (int) height); in png2pnm()
352 fprintf (alpha_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); in png2pnm()
393 fputc ((int) *pix_ptr++, alpha_file); in png2pnm()
400 fprintf (alpha_file, "%ld ", (dep_16 << 8) + (long) *pix_ptr++); in png2pnm()
404 fprintf (alpha_file, "%ld ", (long) *pix_ptr++); in png2pnm()
Dpnm2png.c34 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file,
163 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, in pnm2png() argument
289 get_token (alpha_file, type_token, sizeof (type_token)); in pnm2png()
297 get_token (alpha_file, width_token, sizeof (width_token)); in pnm2png()
302 get_token (alpha_file, height_token, sizeof (height_token)); in pnm2png()
307 get_token (alpha_file, maxval_token, sizeof (maxval_token)); in pnm2png()
419 *pix_ptr++ = get_data (alpha_file, alpha_depth); in pnm2png()
425 *pix_ptr++ = get_value (alpha_file, bit_depth); in pnm2png()
429 tmp16 = get_value (alpha_file, bit_depth); in pnm2png()