about summary refs log tree commit diff
path: root/converter/other/cameratopam/ljpeg.h
blob: 9d9d8ee968f50850a7f1a179d4ca0f09e60b3a87 (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);