wrppm.h 721 B

1234567891011121314151617181920212223242526
  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. #ifdef PPM_SUPPORTED
  10. /* Private version of data destination object */
  11. typedef struct {
  12. struct djpeg_dest_struct pub; /* public fields */
  13. /* Usually these two pointers point to the same place: */
  14. char *iobuffer; /* fwrite's I/O buffer */
  15. JSAMPROW pixrow; /* decompressor output buffer */
  16. size_t buffer_width; /* width of I/O buffer */
  17. JDIMENSION samples_per_row; /* JSAMPLEs per output row */
  18. } ppm_dest_struct;
  19. typedef ppm_dest_struct *ppm_dest_ptr;
  20. #endif