Searched refs:alpha_file (Results 1 – 2 of 2) sorted by relevance
/external/libpng/contrib/pngminus/ |
D | png2pnm.c | 68 BOOL png2pnm (FILE *png_file, FILE *pnm_file, FILE *alpha_file, BOOL raw, 206 BOOL png2pnm (FILE *png_file, FILE *pnm_file, FILE *alpha_file, in png2pnm() argument 394 fprintf (alpha_file, "%s\n", (raw) ? "P5" : "P2"); in png2pnm() 395 fprintf (alpha_file, "%d %d\n", (int) width, (int) height); in png2pnm() 396 fprintf (alpha_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); in png2pnm() 429 fputc ((int) *pix_ptr++ , alpha_file); in png2pnm() 434 fprintf (alpha_file, "%ld ", (dep_16 << 8) + (long) *pix_ptr++); in png2pnm() 437 fprintf (alpha_file, "%ld ", (long) *pix_ptr++); in png2pnm()
|
D | pnm2png.c | 67 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, BOOL interlace, 203 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, BOOL interlace, in pnm2png() argument 324 get_token(alpha_file, type_token); in pnm2png() 332 get_token(alpha_file, width_token); in pnm2png() 337 get_token(alpha_file, height_token); in pnm2png() 342 get_token(alpha_file, maxval_token); in pnm2png() 434 *pix_ptr++ = get_data (alpha_file, alpha_depth); in pnm2png() 437 *pix_ptr++ = get_value (alpha_file, bit_depth); in pnm2png() 440 tmp16 = get_value (alpha_file, bit_depth); in pnm2png()
|