blob: 2bfc08c9214b9279e8eeae510e95ca2af4a5c0c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
/* These are unfortunately global variables used by various modules.
It would be nice to clean up this code and get rid of all of these.
*/
#include <stdio.h>
#include <time.h>
#include "pm_c_util.h"
extern FILE * ifp;
extern int flip;
extern int data_offset;
extern int raw_width;
extern int raw_height;
extern int height;
extern int width;
extern char * meta_data;
extern int meta_offset;
extern int meta_length;
extern char make[64];
extern char model[70];
extern char model2[64];
extern time_t timestamp;
extern int is_foveon;
extern int is_dng;
extern int is_canon;
extern int maximum;
extern int clip_max;
extern short order;
extern int zero_after_ff;
extern int shrink;
extern int iwidth;
extern unsigned int filters;
extern int black;
extern unsigned short white[8][8];
extern int top_margin;
extern int left_margin;
extern int fuji_width;
extern int tiff_samples;
extern int tiff_data_compression;
extern int kodak_data_compression;
extern int fuji_secondary;
extern int use_coeff;
extern int use_gamma;
extern int xmag;
extern int ymag;
extern float cam_mul[4];
#define camera_red cam_mul[0]
#define camera_blue cam_mul[2]
extern float pre_mul[4];
extern int colors;
extern unsigned short curve[0x1000];
extern float coeff[3][4];
extern int use_secondary;
extern bool verbose;
|