about summary refs log tree commit diff
path: root/converter/other/cameratopam/ljpeg.h
blob: 7b1cf364a9cb3f9a728a63fd82aef558f0092e0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "camera.h"

struct jhead {
  int bits, high, wide, clrs, vpred[4];
  struct decode *huff[4];
  unsigned short *row;
};

LoadRawFn lossless_jpeg_load_raw;

int
ljpeg_start (FILE *         const ifP,
             struct jhead * const jhP);

int
ljpeg_diff (FILE *          const ifP,
            struct decode * const dindexP);

void
ljpeg_row(FILE *         const ifP,
          struct jhead * const jhP);