1 /* 2 * wrppm.h 3 * 4 * This file was part of the Independent JPEG Group's software: 5 * Copyright (C) 1994, Thomas G. Lane. 6 * For conditions of distribution and use, see the accompanying README.ijg 7 * file. 8 */ 9 10 #ifdef PPM_SUPPORTED 11 12 /* Private version of data destination object */ 13 14 typedef struct { 15 struct djpeg_dest_struct pub; /* public fields */ 16 17 /* Usually these two pointers point to the same place: */ 18 char *iobuffer; /* fwrite's I/O buffer */ 19 JSAMPROW pixrow; /* decompressor output buffer */ 20 size_t buffer_width; /* width of I/O buffer */ 21 JDIMENSION samples_per_row; /* JSAMPLEs per output row */ 22 } ppm_dest_struct; 23 24 typedef ppm_dest_struct *ppm_dest_ptr; 25 26 #endif 27