12#define JPEG_CJPEG_DJPEG
13#define JPEG_INTERNAL_OPTIONS
14#include "sane/sanei_jinclude.h"
17#include "sane/sanei_cderror.h"
23typedef struct djpeg_dest_struct * djpeg_dest_ptr;
25struct djpeg_dest_struct {
29 JMETHOD(
void, start_output, (j_decompress_ptr cinfo,
30 djpeg_dest_ptr dinfo));
32 JMETHOD(
void, put_pixel_rows, (j_decompress_ptr cinfo,
34 JDIMENSION rows_supplied,
37 JMETHOD(
void, finish_output, (j_decompress_ptr cinfo,
38 djpeg_dest_ptr dinfo));
48 JDIMENSION buffer_height;
53EXTERN(djpeg_dest_ptr) sanei_jpeg_jinit_write_ppm JPP((j_decompress_ptr cinfo));