Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

dcraw.c File Reference

#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <float.h>
#include <limits.h>
#include <math.h>
#include <setjmp.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <jpeglib.h>
#include <unistd.h>
#include <netinet/in.h>

Go to the source code of this file.

Classes

struct  decode

Defines

#define _GNU_SOURCE
#define LONG_BIT   (8 * sizeof (long))
#define ushort   UshORt
#define ABS_MAX   ((ushort) -1)
#define RGB_MAX   ((ushort) -1)
#define CLASS
#define FC(row, col)   (filters >> ((((row) << 1 & 14) + ((col) & 1)) << 1) & 3)
#define BAYER(row, col)   image[((row) >> shrink)*iwidth + ((col) >> shrink)][FC(row,col)]
#define FORYX   for (y=1; y < 3; y++) for (x=col+1; x >= col; x--)
#define PREDICTOR
#define FMIN(a, b)   ((a) < (b) ? (a) : (b))

Typedefs

typedef long long INT64
typedef unsigned char uchar
typedef unsigned short ushort

Functions

void write_ppm (FILE *)
char * memmem (char *haystack, size_t haystacklen, char *needle, size_t needlelen)
void CLASS merror (void *ptr, char *where)
ushort CLASS fget2 (FILE *f)
int CLASS fget4 (FILE *f)
void CLASS canon_600_load_raw ()
void CLASS canon_a5_load_raw ()
unsigned CLASS getbits (int nbits)
void CLASS init_decoder ()
uchar *CLASS make_decoder (const uchar *source, int level)
void CLASS crw_init_tables (unsigned table)
int CLASS canon_has_lowbits ()
void CLASS canon_compressed_load_raw ()
void CLASS kodak_curve (ushort *curve)
void CLASS lossless_jpeg_load_raw ()
void CLASS nikon_compressed_load_raw ()
void CLASS nikon_load_raw ()
int CLASS nikon_is_compressed ()
int CLASS nikon_e990 ()
int CLASS nikon_e2100 ()
int CLASS minolta_z2 ()
void CLASS nikon_e2100_load_raw ()
void CLASS nikon_e950_load_raw ()
void CLASS fuji_s2_load_raw ()
void CLASS fuji_common_load_raw (int ncol, int icol, int nrow)
void CLASS fuji_s5000_load_raw ()
void CLASS fuji_s7000_load_raw ()
void CLASS fuji_f700_load_raw ()
void CLASS rollei_load_raw ()
void CLASS phase_one_load_raw ()
void CLASS ixpress_load_raw ()
void CLASS packed_12_load_raw ()
void CLASS unpacked_load_raw (int order, int rsh)
void CLASS be_16_load_raw ()
void CLASS be_high_12_load_raw ()
void CLASS be_low_12_load_raw ()
void CLASS be_low_10_load_raw ()
void CLASS le_high_12_load_raw ()
void CLASS olympus_cseries_load_raw ()
void CLASS eight_bit_load_raw ()
void CLASS casio_qv5700_load_raw ()
void CLASS nucore_load_raw ()
const int *CLASS make_decoder_int (const int *source, int level)
int CLASS radc_token (int tree)
void CLASS kodak_radc_load_raw ()
 fill_input_buffer (j_decompress_ptr cinfo)
void CLASS kodak_jpeg_load_raw ()
void CLASS kodak_dc120_load_raw ()
void CLASS kodak_dc20_coeff (float juice)
void CLASS kodak_easy_load_raw ()
void CLASS kodak_compressed_load_raw ()
void CLASS kodak_yuv_load_raw ()
void CLASS sony_decrypt (unsigned *data, int len, int start, int key)
void CLASS sony_load_raw ()
void CLASS sony_rgbe_coeff ()
void CLASS foveon_decoder (unsigned huff[1024], unsigned code)
void CLASS foveon_load_raw ()
int CLASS apply_curve (int i, const int *curve)
void CLASS foveon_interpolate ()
void CLASS bad_pixels ()
int CLASS get_generic_parameter (FILE *fp, const char *name, const char *line, const char *sequence, void *where, int *flag)
int CLASS get_float_parameter (FILE *fp, const char *name, const char *line, float *where, int *flag)
int CLASS get_int_parameter (FILE *fp, const char *name, const char *line, int *where, int *flag)
int get_parameter_value (FILE *fp)
void get_parameters ()
void CLASS scale_colors ()
void CLASS vng_interpolate ()
void thm_interpolate ()
void CLASS tiff_parse_subifd (int base)
void CLASS nef_parse_makernote ()
void CLASS get_timestamp ()
void CLASS nef_parse_exif (int base)
void CLASS parse_tiff (int base)
void CLASS ciff_block_1030 ()
void CLASS parse_ciff (int offset, int length)
void CLASS parse_rollei ()
void CLASS parse_foveon ()
void CLASS foveon_coeff ()
void CLASS canon_rgb_coeff (float juice)
void CLASS nikon_e950_coeff ()
void CLASS gmcy_coeff ()
int CLASS identify ()
void CLASS convert_to_rgb ()
static void calc_rgb_to_hsl (ushort *rgb, double *hue, double *sat, double *lightness)
static double hsl_value (double n1, double n2, double hue)
static void calc_hsl_to_rgb (ushort *rgb, double h, double s, double l)
static double update_saturation (double sat, double adjust)
static double update_contrast (double lum, double adjust)
static void do_hsl_adjust (ushort *rgb)
void CLASS flip_image ()
void CLASS write_psd16 (FILE *ofp)
void CLASS write_ppm16 (FILE *ofp)
void CLASS write_cinelerra (FILE *ofp)
void CLASS write_ppm_16_8 (FILE *ofp)
int CLASS dcraw_main (int argc, char **argv)

Variables

char dcraw_info [1024]
float ** dcraw_data
int dcraw_alpha
FILE * ifp
short order
char * ifname
char make [64]
char model [64]
char model2 [64]
time_t timestamp
int data_offset
int curve_offset
int curve_length
int tiff_data_compression
int kodak_data_compression
int raw_height
int raw_width
int top_margin
int left_margin
int height
int width
int colors
int black
int rgb_max
int iheight
int iwidth
int shrink
int is_canon
int is_cmy
int is_foveon
int use_coeff
int trim
int flip
int xmag
int ymag
int zero_after_ff
unsigned filters
ushort(* image )[4]
ushortwhite [8][8]
void(* load_raw )()
float gamma_val = 0.6
float bright = 1.0
float red_scale = 1.0
float blue_scale = 1.0
int four_color_rgb = 0
int document_mode = 0
int quick_interpolate = 0
int verbose = 0
int use_auto_wb = 0
int use_camera_wb = 0
int use_secondary = 0
float camera_red
float camera_blue
float pre_mul [4]
float coeff [3][4]
float k1 = 1.5
float k2 = 0.5
float juice = 0.0
int histogram [0x2000]
void(* write_fun )(FILE *) = write_ppm
jmp_buf failure
float green_scale = 1.0
float saturation = 1.0
float contrast = 1.0
int autoexposure = 0
int use_pivot = 0
int use_neutral_wb = 0
int alternate_scale = 0
int center_weight = 0
int use_camera_black = 1
int user_black = -1
float pivot_value = 0.75
float exposure_compensation = 0.0
unsigned pivot_point [4]
unsigned pivot_base [4]
float white_point_fraction = 0.99
decode first_decode [2048]
decodesecond_decode [2048]
decodefree_decode [2048]


Define Documentation

#define _GNU_SOURCE
 

Definition at line 18 of file dcraw.c.

#define ABS_MAX   ((ushort) -1)
 

Definition at line 62 of file dcraw.c.

Referenced by scale_colors().

#define BAYER row,
col   )     image[((row) >> shrink)*iwidth + ((col) >> shrink)][FC(row,col)]
 

Definition at line 137 of file dcraw.c.

Referenced by bad_pixels(), canon_600_load_raw(), canon_a5_load_raw(), canon_compressed_load_raw(), casio_qv5700_load_raw(), eight_bit_load_raw(), fuji_common_load_raw(), fuji_f700_load_raw(), fuji_s2_load_raw(), ixpress_load_raw(), kodak_compressed_load_raw(), kodak_dc120_load_raw(), kodak_easy_load_raw(), kodak_jpeg_load_raw(), kodak_radc_load_raw(), lossless_jpeg_load_raw(), nikon_compressed_load_raw(), nikon_e2100_load_raw(), nikon_e950_load_raw(), nikon_load_raw(), nucore_load_raw(), olympus_cseries_load_raw(), packed_12_load_raw(), phase_one_load_raw(), rollei_load_raw(), sony_load_raw(), and unpacked_load_raw().

#define CLASS
 

Definition at line 125 of file dcraw.c.

#define FC row,
col   )     (filters >> ((((row) << 1 & 14) + ((col) & 1)) << 1) & 3)
 

Definition at line 134 of file dcraw.c.

Referenced by bad_pixels(), convert_to_rgb(), scale_colors(), and vng_interpolate().

#define FMIN a,
 )     ((a) < (b) ? (a) : (b))
 

Definition at line 4332 of file dcraw.c.

Referenced by calc_rgb_to_hsl(), and update_saturation().

#define FORYX   for (y=1; y < 3; y++) for (x=col+1; x >= col; x--)
 

Definition at line 1197 of file dcraw.c.

Referenced by kodak_radc_load_raw().

#define LONG_BIT   (8 * sizeof (long))
 

Definition at line 55 of file dcraw.c.

Referenced by ciff_block_1030(), and getbits().

#define PREDICTOR
 

Value:

(c ? (buf[c][y-1][x] + buf[c][y][x+1]) / 2 \
: (buf[c][y-1][x+1] + 2*buf[c][y-1][x] + buf[c][y][x+1]) / 4)

Definition at line 1199 of file dcraw.c.

Referenced by kodak_radc_load_raw().

#define RGB_MAX   ((ushort) -1)
 

Definition at line 63 of file dcraw.c.

Referenced by scale_colors().

#define ushort   UshORt
 

Definition at line 58 of file dcraw.c.

Referenced by canon_600_load_raw(), canon_a5_load_raw(), canon_compressed_load_raw(), casio_qv5700_load_raw(), ciff_block_1030(), convert_to_rgb(), foveon_interpolate(), fuji_common_load_raw(), fuji_f700_load_raw(), fuji_s2_load_raw(), ixpress_load_raw(), kodak_compressed_load_raw(), kodak_dc120_load_raw(), kodak_easy_load_raw(), kodak_yuv_load_raw(), lossless_jpeg_load_raw(), nikon_compressed_load_raw(), nikon_e2100_load_raw(), phase_one_load_raw(), scale_colors(), sony_load_raw(), unpacked_load_raw(), vng_interpolate(), write_cinelerra(), write_ppm(), write_ppm16(), write_ppm_16_8(), and write_psd16().


Typedef Documentation

typedef long long INT64
 

Definition at line 46 of file dcraw.c.

typedef unsigned char uchar
 

Definition at line 59 of file dcraw.c.

typedef unsigned short ushort
 

Definition at line 60 of file dcraw.c.


Function Documentation

int CLASS apply_curve int  i,
const int *  curve
 

Definition at line 1636 of file dcraw.c.

Referenced by foveon_interpolate().

void CLASS bad_pixels  ) 
 

Definition at line 1899 of file dcraw.c.

References BAYER, FC, fclose(), fgets(), filters, fopen(), fputc(), height, timestamp, verbose, and width.

Referenced by dcraw_main().

void CLASS be_16_load_raw  ) 
 

Definition at line 1046 of file dcraw.c.

References unpacked_load_raw().

Referenced by identify().

void CLASS be_high_12_load_raw  ) 
 

Definition at line 1051 of file dcraw.c.

References unpacked_load_raw().

Referenced by identify().

void CLASS be_low_10_load_raw  ) 
 

Definition at line 1061 of file dcraw.c.

References unpacked_load_raw().

Referenced by identify().

void CLASS be_low_12_load_raw  ) 
 

Definition at line 1056 of file dcraw.c.

References unpacked_load_raw().

Referenced by identify().

static void calc_hsl_to_rgb ushort rgb,
double  h,
double  s,
double  l
[inline, static]
 

Definition at line 4413 of file dcraw.c.

References hsl_value(), and rgb_max.

Referenced by do_hsl_adjust().

static void calc_rgb_to_hsl ushort rgb,
double *  hue,
double *  sat,
double *  lightness
[inline, static]
 

Definition at line 4334 of file dcraw.c.

References FMIN, and rgb_max.

Referenced by do_hsl_adjust().

void CLASS canon_600_load_raw  ) 
 

Definition at line 251 of file dcraw.c.

References BAYER, black, fread(), height, ifp, ushort, and width.

Referenced by identify().

void CLASS canon_a5_load_raw  ) 
 

Definition at line 281 of file dcraw.c.

References BAYER, black, fread(), height, ifp, raw_width, ushort, and width.

Referenced by identify().

void CLASS canon_compressed_load_raw  ) 
 

Definition at line 485 of file dcraw.c.

References BAYER, black, decode::branch, canon_has_lowbits(), fgetc(), first_decode, fseek(), ftell(), getbits(), height, ifp, decode::leaf, left_margin, merror(), raw_height, raw_width, second_decode, top_margin, ushort, width, and zero_after_ff.

Referenced by identify().

int CLASS canon_has_lowbits  ) 
 

Definition at line 470 of file dcraw.c.

References fread(), fseek(), and ifp.

Referenced by canon_compressed_load_raw().

void CLASS canon_rgb_coeff float  juice  ) 
 

Definition at line 3235 of file dcraw.c.

References coeff, and use_coeff.

Referenced by identify().

void CLASS casio_qv5700_load_raw  ) 
 

Definition at line 1101 of file dcraw.c.

References BAYER, fread(), height, ifp, ushort, and width.

Referenced by identify().

void CLASS ciff_block_1030  ) 
 

Definition at line 3010 of file dcraw.c.

References fget2(), fget4(), ifp, LONG_BIT, ushort, and white.

Referenced by parse_ciff().

void CLASS convert_to_rgb  ) 
 

Definition at line 4281 of file dcraw.c.

References coeff, colors, document_mode, FC, height, histogram, image, is_cmy, rgb_max, trim, use_coeff, ushort, width, write_fun, and write_ppm().

Referenced by dcraw_main().

void CLASS crw_init_tables unsigned  table  ) 
 

Definition at line 394 of file dcraw.c.

References free_decode, init_decoder(), make_decoder(), and second_decode.

Referenced by parse_ciff().

int CLASS dcraw_main int  argc,
char **  argv
 

Definition at line 4800 of file dcraw.c.

References alternate_scale, autoexposure, bad_pixels(), blue_scale, bright, center_weight, contrast, convert_to_rgb(), document_mode, exposure_compensation, failure, fclose(), fileno(), filters, flip, flip_image(), fopen(), four_color_rgb, foveon_interpolate(), gamma_val, green_scale, height, identify(), ifname, ifp, iheight, image, is_foveon, iwidth, juice, k1, k2, make, merror(), model, pivot_value, quick_interpolate, red_scale, saturation, scale_colors(), shrink, trim, use_auto_wb, use_camera_black, use_camera_wb, use_neutral_wb, use_pivot, use_secondary, user_black, verbose, vng_interpolate(), white_point_fraction, width, write_cinelerra(), write_fun, write_ppm(), write_ppm16(), write_ppm_16_8(), and write_psd16().

Referenced by FileCR2::check_sig(), FileCR2::open_file(), and FileCR2::read_frame().

static void do_hsl_adjust ushort rgb  )  [inline, static]
 

Definition at line 4468 of file dcraw.c.

References calc_hsl_to_rgb(), calc_rgb_to_hsl(), contrast, saturation, update_contrast(), and update_saturation().

Referenced by write_cinelerra(), write_ppm(), write_ppm16(), write_ppm_16_8(), and write_psd16().

void CLASS eight_bit_load_raw  ) 
 

Definition at line 1086 of file dcraw.c.

References BAYER, fread(), height, ifp, merror(), raw_width, and width.

Referenced by identify().

ushort CLASS fget2 FILE *  f  ) 
 

Definition at line 222 of file dcraw.c.

References fgetc(), and order.

Referenced by ciff_block_1030(), foveon_load_raw(), identify(), kodak_curve(), lossless_jpeg_load_raw(), nef_parse_exif(), nef_parse_makernote(), nikon_compressed_load_raw(), parse_ciff(), parse_foveon(), parse_tiff(), phase_one_load_raw(), and tiff_parse_subifd().

int CLASS fget4 FILE *  f  ) 
 

Definition at line 237 of file dcraw.c.

References fgetc(), and order.

Referenced by ciff_block_1030(), foveon_load_raw(), identify(), kodak_curve(), nef_parse_exif(), nef_parse_makernote(), parse_ciff(), parse_foveon(), parse_tiff(), phase_one_load_raw(), sony_load_raw(), and tiff_parse_subifd().

fill_input_buffer j_decompress_ptr  cinfo  ) 
 

Definition at line 1274 of file dcraw.c.

References fread(), and ifp.

Referenced by kodak_jpeg_load_raw().

void CLASS flip_image  ) 
 

Definition at line 4481 of file dcraw.c.

References flip, height, image, merror(), width, xmag, and ymag.

Referenced by dcraw_main().

void CLASS foveon_coeff  ) 
 

Definition at line 3216 of file dcraw.c.

References coeff, pre_mul, and use_coeff.

Referenced by identify().

void CLASS foveon_decoder unsigned  huff[1024],
unsigned  code
 

Definition at line 1572 of file dcraw.c.

References decode::branch, failure, first_decode, free_decode, ifname, and decode::leaf.

Referenced by foveon_load_raw().

void CLASS foveon_interpolate  ) 
 

Definition at line 1648 of file dcraw.c.

References apply_curve(), height, image, merror(), ushort, and width.

Referenced by dcraw_main().

void CLASS foveon_load_raw  ) 
 

Definition at line 1598 of file dcraw.c.

References decode::branch, fget2(), fget4(), fgetc(), first_decode, foveon_decoder(), fseek(), height, ifp, image, init_decoder(), decode::leaf, left_margin, raw_height, raw_width, top_margin, and width.

Referenced by identify().

void CLASS fuji_common_load_raw int  ncol,
int  icol,
int  nrow
 

Definition at line 901 of file dcraw.c.

References BAYER, fread(), ifp, and ushort.

Referenced by fuji_s5000_load_raw(), and fuji_s7000_load_raw().

void CLASS fuji_f700_load_raw  ) 
 

Definition at line 934 of file dcraw.c.

References BAYER, fread(), ifp, use_secondary, and ushort.

Referenced by identify().

void CLASS fuji_s2_load_raw  ) 
 

Definition at line 885 of file dcraw.c.

References BAYER, fread(), fseek(), ifp, and ushort.

Referenced by identify().

void CLASS fuji_s5000_load_raw  ) 
 

Definition at line 918 of file dcraw.c.

References fseek(), fuji_common_load_raw(), and ifp.

Referenced by identify().

void CLASS fuji_s7000_load_raw  ) 
 

Definition at line 924 of file dcraw.c.

References fuji_common_load_raw().

Referenced by identify().

int CLASS get_float_parameter FILE *  fp,
const char *  name,
const char *  line,
float *  where,
int *  flag
 

Definition at line 1974 of file dcraw.c.

References get_generic_parameter().

Referenced by get_parameter_value().

int CLASS get_generic_parameter FILE *  fp,
const char *  name,
const char *  line,
const char *  sequence,
void *  where,
int *  flag
 

Definition at line 1954 of file dcraw.c.

References fgets().

Referenced by get_float_parameter(), and get_int_parameter().

int CLASS get_int_parameter FILE *  fp,
const char *  name,
const char *  line,
int *  where,
int *  flag
 

Definition at line 1980 of file dcraw.c.

References get_generic_parameter().

Referenced by get_parameter_value().

int get_parameter_value FILE *  fp  ) 
 

Definition at line 1989 of file dcraw.c.

References blue_scale, bright, coeff, contrast, exposure_compensation, fgets(), flip, gamma_val, get_float_parameter(), get_int_parameter(), green_scale, juice, pivot_value, red_scale, saturation, use_coeff, verbose, and white_point_fraction.

Referenced by get_parameters().

void get_parameters  ) 
 

Definition at line 2092 of file dcraw.c.

References fclose(), fopen(), get_parameter_value(), ifname, and merror().

void CLASS get_timestamp  ) 
 

Definition at line 2853 of file dcraw.c.

References fscanf(), ifp, and timestamp.

Referenced by nef_parse_exif(), and parse_tiff().

unsigned CLASS getbits int  nbits  ) 
 

Definition at line 313 of file dcraw.c.

References fgetc(), ifp, LONG_BIT, and zero_after_ff.

Referenced by canon_compressed_load_raw(), kodak_radc_load_raw(), lossless_jpeg_load_raw(), nikon_compressed_load_raw(), nikon_e950_load_raw(), nikon_load_raw(), olympus_cseries_load_raw(), packed_12_load_raw(), and radc_token().

void CLASS gmcy_coeff  ) 
 

Definition at line 3271 of file dcraw.c.

References coeff, and use_coeff.

Referenced by identify().

static double hsl_value double  n1,
double  n2,
double  hue
[inline, static]
 

Definition at line 4397 of file dcraw.c.

Referenced by calc_hsl_to_rgb().

int CLASS identify  ) 
 

Definition at line 3322 of file dcraw.c.

References be_16_load_raw(), be_high_12_load_raw(), be_low_10_load_raw(), be_low_12_load_raw(), black, blue_scale, camera_blue, camera_red, canon_600_load_raw(), canon_a5_load_raw(), canon_compressed_load_raw(), canon_rgb_coeff(), casio_qv5700_load_raw(), coeff, colors, curve_length, curve_offset, data_offset, dcraw_info, eight_bit_load_raw(), fget2(), fget4(), fgetc(), filters, flip, four_color_rgb, foveon_coeff(), foveon_load_raw(), fread(), fseek(), ftell(), fuji_f700_load_raw(), fuji_s2_load_raw(), fuji_s5000_load_raw(), fuji_s7000_load_raw(), gmcy_coeff(), green_scale, height, ifname, ifp, is_canon, is_cmy, is_foveon, ixpress_load_raw(), juice, kodak_compressed_load_raw(), kodak_data_compression, kodak_dc120_load_raw(), kodak_dc20_coeff(), kodak_easy_load_raw(), kodak_jpeg_load_raw(), kodak_radc_load_raw(), kodak_yuv_load_raw(), le_high_12_load_raw(), left_margin, load_raw, lossless_jpeg_load_raw(), make, memmem(), minolta_z2(), model, model2, nikon_compressed_load_raw(), nikon_e2100(), nikon_e2100_load_raw(), nikon_e950_coeff(), nikon_e950_load_raw(), nikon_e990(), nikon_is_compressed(), nikon_load_raw(), nucore_load_raw(), olympus_cseries_load_raw(), order, packed_12_load_raw(), parse_ciff(), parse_foveon(), parse_rollei(), parse_tiff(), phase_one_load_raw(), pre_mul, raw_height, raw_width, red_scale, rgb_max, rollei_load_raw(), sony_load_raw(), sony_rgbe_coeff(), tiff_data_compression, timestamp, top_margin, use_coeff, white, width, write_fun, write_ppm(), xmag, ymag, and zero_after_ff.

Referenced by dcraw_main().

void CLASS init_decoder  ) 
 

Definition at line 336 of file dcraw.c.

References first_decode, and free_decode.

Referenced by crw_init_tables(), foveon_load_raw(), kodak_radc_load_raw(), lossless_jpeg_load_raw(), and nikon_compressed_load_raw().

void CLASS ixpress_load_raw  ) 
 

Definition at line 1000 of file dcraw.c.

References BAYER, fread(), fseek(), height, ifp, ushort, and width.

Referenced by identify().

void CLASS kodak_compressed_load_raw  ) 
 

Definition at line 1391 of file dcraw.c.

References BAYER, fgetc(), fread(), fseek(), ftell(), height, ifp, kodak_curve(), ushort, and width.

Referenced by identify().

void CLASS kodak_curve ushort curve  ) 
 

Definition at line 560 of file dcraw.c.

References curve_length, curve_offset, data_offset, fget2(), fget4(), fseek(), ifp, make, and rgb_max.

Referenced by kodak_compressed_load_raw(), kodak_easy_load_raw(), kodak_yuv_load_raw(), and lossless_jpeg_load_raw().

void CLASS kodak_dc120_load_raw  ) 
 

Definition at line 1327 of file dcraw.c.

References BAYER, fread(), height, ifp, ushort, and width.

Referenced by identify().

void CLASS kodak_dc20_coeff float  juice  ) 
 

Definition at line 1343 of file dcraw.c.

References coeff, and use_coeff.

Referenced by identify().

void CLASS kodak_easy_load_raw  ) 
 

Definition at line 1363 of file dcraw.c.

References BAYER, black, fread(), height, ifp, kodak_curve(), left_margin, merror(), model, raw_width, ushort, and width.

Referenced by identify().

void CLASS kodak_jpeg_load_raw  ) 
 

Definition at line 1286 of file dcraw.c.

References BAYER, failure, fill_input_buffer(), height, ifname, ifp, and width.

Referenced by identify().

void CLASS kodak_radc_load_raw  ) 
 

Definition at line 1202 of file dcraw.c.

References BAYER, FORYX, getbits(), height, init_decoder(), PREDICTOR, radc_token(), and width.

Referenced by identify().

void CLASS kodak_yuv_load_raw  ) 
 

Definition at line 1455 of file dcraw.c.

References fgetc(), height, ifp, image, kodak_curve(), ushort, and width.

Referenced by identify().

void CLASS le_high_12_load_raw  ) 
 

Definition at line 1066 of file dcraw.c.

References unpacked_load_raw().

Referenced by identify().

void CLASS lossless_jpeg_load_raw  ) 
 

Definition at line 596 of file dcraw.c.

References BAYER, black, decode::branch, fget2(), fread(), free_decode, getbits(), height, ifp, init_decoder(), kodak_curve(), decode::leaf, left_margin, make, make_decoder(), order, raw_width, top_margin, ushort, width, and zero_after_ff.

Referenced by identify().

uchar* CLASS make_decoder const uchar source,
int  level
 

Definition at line 368 of file dcraw.c.

References decode::branch, failure, first_decode, free_decode, ifname, and decode::leaf.

Referenced by crw_init_tables(), lossless_jpeg_load_raw(), and nikon_compressed_load_raw().

const int* CLASS make_decoder_int const int *  source,
int  level
 

Definition at line 1139 of file dcraw.c.

References decode::branch, free_decode, and decode::leaf.

Referenced by radc_token().

char* memmem char *  haystack,
size_t  haystacklen,
char *  needle,
size_t  needlelen
 

Definition at line 200 of file dcraw.c.

Referenced by identify().

void CLASS merror void *  ptr,
char *  where
 

Definition at line 211 of file dcraw.c.

References failure, and ifname.

Referenced by canon_compressed_load_raw(), dcraw_main(), eight_bit_load_raw(), flip_image(), foveon_interpolate(), get_parameters(), kodak_easy_load_raw(), nikon_compressed_load_raw(), nucore_load_raw(), parse_foveon(), unpacked_load_raw(), vng_interpolate(), write_ppm(), write_ppm16(), write_ppm_16_8(), and write_psd16().

int CLASS minolta_z2  ) 
 

Definition at line 829 of file dcraw.c.

References fread(), fseek(), and ifp.

Referenced by identify().

void CLASS nef_parse_exif int  base  ) 
 

Definition at line 2868 of file dcraw.c.

References fget2(), fget4(), fseek(), ftell(), get_timestamp(), ifp, make, and nef_parse_makernote().

Referenced by parse_tiff().

void CLASS nef_parse_makernote  ) 
 

Definition at line 2777 of file dcraw.c.

References camera_blue, camera_red, curve_offset, fget2(), fget4(), fread(), fseek(), ftell(), ifp, model, and order.

Referenced by nef_parse_exif().

void CLASS nikon_compressed_load_raw  ) 
 

Definition at line 695 of file dcraw.c.

References BAYER, decode::branch, curve_offset, data_offset, fget2(), first_decode, fseek(), getbits(), height, ifp, init_decoder(), decode::leaf, left_margin, make_decoder(), merror(), raw_width, ushort, and width.

Referenced by identify().

int CLASS nikon_e2100  ) 
 

Definition at line 811 of file dcraw.c.

References fread(), fseek(), and ifp.

Referenced by identify().

void CLASS nikon_e2100_load_raw  ) 
 

Definition at line 841 of file dcraw.c.

References BAYER, fread(), fseek(), height, ifp, ushort, and width.

Referenced by identify().

void CLASS nikon_e950_coeff  ) 
 

Definition at line 3251 of file dcraw.c.

References coeff, and use_coeff.

Referenced by identify().

void CLASS nikon_e950_load_raw  ) 
 

Definition at line 868 of file dcraw.c.

References BAYER, getbits(), height, and width.

Referenced by identify().

int CLASS nikon_e990  ) 
 

Definition at line 793 of file dcraw.c.

References fgetc(), fseek(), and ifp.

Referenced by identify().

int CLASS nikon_is_compressed  ) 
 

Definition at line 774 of file dcraw.c.

References data_offset, fread(), fseek(), ifp, model, and tiff_data_compression.

Referenced by identify().

void CLASS nikon_load_raw  ) 
 

Definition at line 744 of file dcraw.c.

References BAYER, fseek(), ftell(), getbits(), height, ifp, left_margin, model, raw_width, tiff_data_compression, and width.

Referenced by identify().

void CLASS nucore_load_raw  ) 
 

Definition at line 1120 of file dcraw.c.

References BAYER, fread(), height, ifp, merror(), model, and width.

Referenced by identify().

void CLASS olympus_cseries_load_raw  ) 
 

Definition at line 1071 of file dcraw.c.

References BAYER, data_offset, fseek(), getbits(), height, ifp, and width.

Referenced by identify().

void CLASS packed_12_load_raw  ) 
 

Definition at line 1016 of file dcraw.c.

References BAYER, getbits(), height, raw_width, and width.

Referenced by identify().

void CLASS parse_ciff int  offset,
int  length
 

Definition at line 3037 of file dcraw.c.

References camera_blue, camera_red, ciff_block_1030(), crw_init_tables(), fget2(), fget4(), flip, fread(), fseek(), ftell(), ifp, make, model, raw_height, raw_width, timestamp, and white.

Referenced by identify().

void CLASS parse_foveon  ) 
 

Definition at line 3181 of file dcraw.c.

References fget2(), fget4(), fseek(), ifp, make, merror(), model, order, raw_height, raw_width, and timestamp.

Referenced by identify().

void CLASS parse_rollei  ) 
 

Definition at line 3142 of file dcraw.c.

References data_offset, fgets(), fseek(), ifp, make, model, raw_height, raw_width, and timestamp.

Referenced by identify().

void CLASS parse_tiff int  base  ) 
 

Definition at line 2892 of file dcraw.c.

References camera_blue, camera_red, curve_length, curve_offset, data_offset, fget2(), fget4(), fgets(), flip, fseek(), ftell(), get_timestamp(), ifp, make, model, model2, nef_parse_exif(), order, raw_height, raw_width, and tiff_parse_subifd().

Referenced by identify().

void CLASS phase_one_load_raw  ) 
 

Definition at line 977 of file dcraw.c.

References BAYER, data_offset, fget2(), fget4(), fread(), fseek(), height, ifp, left_margin, raw_width, top_margin, ushort, and width.

Referenced by identify().

int CLASS radc_token int  tree  ) 
 

Definition at line 1156 of file dcraw.c.

References decode::branch, first_decode, free_decode, getbits(), decode::leaf, make_decoder_int(), and model.

Referenced by kodak_radc_load_raw().

void CLASS rollei_load_raw  ) 
 

Definition at line 952 of file dcraw.c.

References BAYER, fread(), height, ifp, left_margin, raw_height, raw_width, top_margin, and width.

Referenced by identify().

void CLASS scale_colors  ) 
 

Definition at line 2118 of file dcraw.c.

References ABS_MAX, alternate_scale, autoexposure, black, blue_scale, camera_blue, camera_red, center_weight, colors, exposure_compensation, FC, fputc(), green_scale, height, histogram, ifname, image, pivot_value, pre_mul, red_scale, RGB_MAX, rgb_max, use_auto_wb, use_camera_black, use_camera_wb, use_coeff, use_neutral_wb, use_pivot, user_black, ushort, verbose, white, white_point_fraction, and width.

Referenced by dcraw_main().

void CLASS sony_decrypt unsigned *  data,
int  len,
int  start,
int  key
 

Definition at line 1512 of file dcraw.c.

Referenced by sony_load_raw().

void CLASS sony_load_raw  ) 
 

Definition at line 1529 of file dcraw.c.

References BAYER, black, fget4(), fgetc(), fread(), fseek(), height, ifp, left_margin, order, raw_width, sony_decrypt(), ushort, and width.

Referenced by identify().

void CLASS sony_rgbe_coeff  ) 
 

Definition at line 1558 of file dcraw.c.

References coeff, and use_coeff.

Referenced by identify().

void thm_interpolate  ) 
 

Definition at line 2704 of file dcraw.c.

References height, image, and width.

void CLASS tiff_parse_subifd int  base  ) 
 

Definition at line 2726 of file dcraw.c.

References curve_length, curve_offset, data_offset, fget2(), fget4(), fseek(), ftell(), ifp, kodak_data_compression, raw_height, raw_width, and tiff_data_compression.

Referenced by parse_tiff().

void CLASS unpacked_load_raw int  order,
int  rsh
 

Definition at line 1029 of file dcraw.c.

References BAYER, fread(), height, ifp, merror(), raw_width, ushort, and width.

Referenced by be_16_load_raw(), be_high_12_load_raw(), be_low_10_load_raw(), be_low_12_load_raw(), and le_high_12_load_raw().

static double update_contrast double  lum,
double  adjust
[inline, static]
 

Definition at line 4454 of file dcraw.c.

Referenced by do_hsl_adjust().

static double update_saturation double  sat,
double  adjust
[inline, static]
 

Definition at line 4440 of file dcraw.c.

References FMIN.

Referenced by do_hsl_adjust().

void CLASS vng_interpolate  ) 
 

Definition at line 2451 of file dcraw.c.

References colors, FC, height, image, k1, k2, merror(), quick_interpolate, rgb_max, ushort, and width.

Referenced by dcraw_main().

void CLASS write_cinelerra FILE *  ofp  ) 
 

Definition at line 4676 of file dcraw.c.

References bright, dcraw_alpha, dcraw_data, do_hsl_adjust(), gamma_val, height, histogram, image, make, trim, ushort, white_point_fraction, and width.

Referenced by dcraw_main().

void CLASS write_ppm FILE *   ) 
 

Definition at line 4530 of file dcraw.c.

References bright, do_hsl_adjust(), fwrite(), gamma_val, height, histogram, image, make, merror(), trim, ushort, white_point_fraction, width, xmag, and ymag.

Referenced by convert_to_rgb(), dcraw_main(), and identify().

void CLASS write_ppm16 FILE *  ofp  ) 
 

Definition at line 4631 of file dcraw.c.

References bright, do_hsl_adjust(), fwrite(), height, image, merror(), rgb_max, trim, ushort, and width.

Referenced by dcraw_main().

void CLASS write_ppm_16_8 FILE *  ofp  ) 
 

Definition at line 4759 of file dcraw.c.

References bright, do_hsl_adjust(), fwrite(), height, image, merror(), rgb_max, trim, ushort, width, and ymag.

Referenced by dcraw_main().

void CLASS write_psd16 FILE *  ofp  ) 
 

Definition at line 4584 of file dcraw.c.

References bright, do_hsl_adjust(), fwrite(), height, image, merror(), trim, ushort, and width.

Referenced by dcraw_main().


Variable Documentation

int alternate_scale = 0
 

Definition at line 112 of file dcraw.c.

Referenced by dcraw_main(), and scale_colors().

int autoexposure = 0
 

Definition at line 111 of file dcraw.c.

Referenced by dcraw_main(), and scale_colors().

int black
 

Definition at line 86 of file dcraw.c.

Referenced by canon_600_load_raw(), canon_a5_load_raw(), canon_compressed_load_raw(), identify(), kodak_easy_load_raw(), lossless_jpeg_load_raw(), scale_colors(), and sony_load_raw().

float blue_scale = 1.0
 

Definition at line 93 of file dcraw.c.

Referenced by dcraw_main(), get_parameter_value(), identify(), and scale_colors().

float bright = 1.0
 

Definition at line 93 of file dcraw.c.

Referenced by dcraw_main(), get_parameter_value(), write_cinelerra(), write_ppm(), write_ppm16(), write_ppm_16_8(), and write_psd16().

float camera_blue
 

Definition at line 96 of file dcraw.c.

Referenced by identify(), nef_parse_makernote(), parse_ciff(), parse_tiff(), and scale_colors().

float camera_red
 

Definition at line 96 of file dcraw.c.

Referenced by identify(), nef_parse_makernote(), parse_ciff(), parse_tiff(), and scale_colors().

int center_weight = 0
 

Definition at line 113 of file dcraw.c.

Referenced by dcraw_main(), and scale_colors().

float coeff[3][4]
 

Definition at line 97 of file dcraw.c.

Referenced by canon_rgb_coeff(), convert_to_rgb(), foveon_coeff(), get_parameter_value(), gmcy_coeff(), identify(), kodak_dc20_coeff(), nikon_e950_coeff(), and sony_rgbe_coeff().

int colors
 

Definition at line 86 of file dcraw.c.

Referenced by convert_to_rgb(), identify(), scale_colors(), and vng_interpolate().

float contrast = 1.0
 

Definition at line 110 of file dcraw.c.

Referenced by dcraw_main(), do_hsl_adjust(), get_parameter_value(), and VDeviceV4L::v4l1_set_picture().

int curve_length
 

Definition at line 83 of file dcraw.c.

Referenced by identify(), kodak_curve(), parse_tiff(), and tiff_parse_subifd().

int curve_offset
 

Definition at line 83 of file dcraw.c.

Referenced by identify(), kodak_curve(), nef_parse_makernote(), nikon_compressed_load_raw(), parse_tiff(), and tiff_parse_subifd().

int data_offset
 

Definition at line 83 of file dcraw.c.

Referenced by identify(), kodak_curve(), nikon_compressed_load_raw(), nikon_is_compressed(), olympus_cseries_load_raw(), parse_rollei(), parse_tiff(), phase_one_load_raw(), and tiff_parse_subifd().

int dcraw_alpha
 

Definition at line 76 of file dcraw.c.

Referenced by FileCR2::read_frame(), and write_cinelerra().

float** dcraw_data
 

Definition at line 75 of file dcraw.c.

Referenced by FileCR2::read_frame(), and write_cinelerra().

char dcraw_info[1024]
 

Definition at line 74 of file dcraw.c.

Referenced by FileCR2::format_to_asset(), and identify().

int document_mode = 0
 

Definition at line 94 of file dcraw.c.

Referenced by convert_to_rgb(), and dcraw_main().

float exposure_compensation = 0.0
 

Definition at line 116 of file dcraw.c.

Referenced by dcraw_main(), get_parameter_value(), and scale_colors().

jmp_buf failure
 

Definition at line 106 of file dcraw.c.

Referenced by dcraw_main(), foveon_decoder(), kodak_jpeg_load_raw(), make_decoder(), and merror().

unsigned filters
 

Definition at line 90 of file dcraw.c.

Referenced by bad_pixels(), dcraw_main(), and identify().

struct decode first_decode[2048]
 

Referenced by canon_compressed_load_raw(), foveon_decoder(), foveon_load_raw(), init_decoder(), make_decoder(), nikon_compressed_load_raw(), and radc_token().

int flip
 

Definition at line 88 of file dcraw.c.

Referenced by dcraw_main(), flip_image(), get_parameter_value(), identify(), parse_ciff(), and parse_tiff().

int four_color_rgb = 0
 

Definition at line 94 of file dcraw.c.

Referenced by dcraw_main(), and identify().

struct decode * free_decode[2048]
 

Referenced by crw_init_tables(), foveon_decoder(), init_decoder(), lossless_jpeg_load_raw(), make_decoder(), make_decoder_int(), and radc_token().

float gamma_val = 0.6
 

Definition at line 93 of file dcraw.c.

Referenced by dcraw_main(), get_parameter_value(), write_cinelerra(), and write_ppm().

float green_scale = 1.0
 

Definition at line 108 of file dcraw.c.

Referenced by dcraw_main(), get_parameter_value(), identify(), and scale_colors().

int height
 

Definition at line 86 of file dcraw.c.

Referenced by bad_pixels(), canon_600_load_raw(), canon_a5_load_raw(), canon_compressed_load_raw(), casio_qv5700_load_raw(), convert_to_rgb(), dcraw_main(), eight_bit_load_raw(), flip_image(), foveon_interpolate(), foveon_load_raw(), VDeviceV4L::frame_to_vframe(), identify(), ixpress_load_raw(), kodak_compressed_load_raw(), kodak_dc120_load_raw(), kodak_easy_load_raw(), kodak_jpeg_load_raw(), kodak_radc_load_raw(), kodak_yuv_load_raw(), lossless_jpeg_load_raw(), nikon_compressed_load_raw(), nikon_e2100_load_raw(), nikon_e950_load_raw(), nikon_load_raw(), nucore_load_raw(), olympus_cseries_load_raw(), packed_12_load_raw(), phase_one_load_raw(), FileTGA::read_tga(), rollei_load_raw(), scale_colors(), sony_load_raw(), thm_interpolate(), unpacked_load_raw(), vng_interpolate(), write_cinelerra(), write_ppm(), write_ppm16(), write_ppm_16_8(), and write_psd16().

int histogram[0x2000]
 

Definition at line 99 of file dcraw.c.

Referenced by convert_to_rgb(), scale_colors(), write_cinelerra(), and write_ppm().

char* ifname
 

Definition at line 81 of file dcraw.c.

Referenced by dcraw_main(), foveon_decoder(), get_parameters(), identify(), kodak_jpeg_load_raw(), make_decoder(), merror(), and scale_colors().

FILE* ifp
 

Definition at line 79 of file dcraw.c.

Referenced by canon_600_load_raw(), canon_a5_load_raw(), canon_compressed_load_raw(), canon_has_lowbits(), casio_qv5700_load_raw(), ciff_block_1030(), dcraw_main(), eight_bit_load_raw(), fill_input_buffer(), foveon_load_raw(), fuji_common_load_raw(), fuji_f700_load_raw(), fuji_s2_load_raw(), fuji_s5000_load_raw(), get_timestamp(), getbits(), identify(), ixpress_load_raw(), kodak_compressed_load_raw(), kodak_curve(), kodak_dc120_load_raw(), kodak_easy_load_raw(), kodak_jpeg_load_raw(), kodak_yuv_load_raw(), lossless_jpeg_load_raw(), minolta_z2(), nef_parse_exif(), nef_parse_makernote(), nikon_compressed_load_raw(), nikon_e2100(), nikon_e2100_load_raw(), nikon_e990(), nikon_is_compressed(), nikon_load_raw(), nucore_load_raw(), olympus_cseries_load_raw(), parse_ciff(), parse_foveon(), parse_rollei(), parse_tiff(), phase_one_load_raw(), rollei_load_raw(), sony_load_raw(), tiff_parse_subifd(), and unpacked_load_raw().

int iheight
 

Definition at line 87 of file dcraw.c.

Referenced by dcraw_main().

ushort(* image)[4]
 

Definition at line 91 of file dcraw.c.

Referenced by convert_to_rgb(), dcraw_main(), Theme::draw_resource_bg(), flip_image(), foveon_interpolate(), foveon_load_raw(), kodak_yuv_load_raw(), scale_colors(), thm_interpolate(), vng_interpolate(), write_cinelerra(), write_ppm(), write_ppm16(), write_ppm_16_8(), and write_psd16().

int is_canon
 

Definition at line 88 of file dcraw.c.

Referenced by identify().

int is_cmy
 

Definition at line 88 of file dcraw.c.

Referenced by convert_to_rgb(), and identify().

int is_foveon
 

Definition at line 88 of file dcraw.c.

Referenced by dcraw_main(), and identify().

int iwidth
 

Definition at line 87 of file dcraw.c.

Referenced by dcraw_main().

float juice = 0.0
 

Definition at line 98 of file dcraw.c.

Referenced by dcraw_main(), get_parameter_value(), and identify().

float k1 = 1.5
 

Definition at line 98 of file dcraw.c.

Referenced by dcraw_main(), and vng_interpolate().

float k2 = 0.5
 

Definition at line 98 of file dcraw.c.

Referenced by dcraw_main(), and vng_interpolate().

int kodak_data_compression
 

Definition at line 84 of file dcraw.c.

Referenced by identify(), and tiff_parse_subifd().

int left_margin
 

Definition at line 85 of file dcraw.c.

Referenced by canon_compressed_load_raw(), TrackCanvas::draw_plugins(), ResourcePixmap::draw_title(), TrackCanvas::draw_transitions(), foveon_load_raw(), identify(), kodak_easy_load_raw(), lossless_jpeg_load_raw(), nikon_compressed_load_raw(), nikon_load_raw(), phase_one_load_raw(), rollei_load_raw(), and sony_load_raw().

void(* load_raw)()
 

Definition at line 92 of file dcraw.c.

Referenced by identify().

char make[64]
 

Definition at line 81 of file dcraw.c.

Referenced by dcraw_main(), identify(), kodak_curve(), lossless_jpeg_load_raw(), nef_parse_exif(), parse_ciff(), parse_foveon(), parse_rollei(), parse_tiff(), write_cinelerra(), and write_ppm().

char model[64]
 

Definition at line 81 of file dcraw.c.

Referenced by dcraw_main(), identify(), kodak_easy_load_raw(), nef_parse_makernote(), nikon_is_compressed(), nikon_load_raw(), nucore_load_raw(), parse_ciff(), parse_foveon(), parse_rollei(), parse_tiff(), and radc_token().

char model2[64]
 

Definition at line 81 of file dcraw.c.

Referenced by identify(), and parse_tiff().

short order
 

Definition at line 80 of file dcraw.c.

Referenced by fget2(), fget4(), identify(), lossless_jpeg_load_raw(), nef_parse_makernote(), parse_foveon(), parse_tiff(), and sony_load_raw().

unsigned pivot_base[4]
 

Definition at line 117 of file dcraw.c.

unsigned pivot_point[4]
 

Definition at line 117 of file dcraw.c.

float pivot_value = 0.75
 

Definition at line 116 of file dcraw.c.

Referenced by dcraw_main(), get_parameter_value(), and scale_colors().

float pre_mul[4]
 

Definition at line 97 of file dcraw.c.

Referenced by foveon_coeff(), identify(), and scale_colors().

int quick_interpolate = 0
 

Definition at line 94 of file dcraw.c.

Referenced by dcraw_main(), and vng_interpolate().

int raw_height
 

Definition at line 85 of file dcraw.c.

Referenced by canon_compressed_load_raw(), foveon_load_raw(), identify(), parse_ciff(), parse_foveon(), parse_rollei(), parse_tiff(), rollei_load_raw(), and tiff_parse_subifd().

int raw_width
 

Definition at line 85 of file dcraw.c.

Referenced by canon_a5_load_raw(), canon_compressed_load_raw(), eight_bit_load_raw(), foveon_load_raw(), identify(), kodak_easy_load_raw(), lossless_jpeg_load_raw(), nikon_compressed_load_raw(), nikon_load_raw(), packed_12_load_raw(), parse_ciff(), parse_foveon(), parse_rollei(), parse_tiff(), phase_one_load_raw(), rollei_load_raw(), sony_load_raw(), tiff_parse_subifd(), and unpacked_load_raw().

float red_scale = 1.0
 

Definition at line 93 of file dcraw.c.

Referenced by dcraw_main(), get_parameter_value(), identify(), and scale_colors().

int rgb_max
 

Definition at line 86 of file dcraw.c.

Referenced by calc_hsl_to_rgb(), calc_rgb_to_hsl(), convert_to_rgb(), identify(), kodak_curve(), scale_colors(), vng_interpolate(), write_ppm16(), and write_ppm_16_8().

float saturation = 1.0
 

Definition at line 109 of file dcraw.c.

Referenced by dcraw_main(), do_hsl_adjust(), and get_parameter_value().

struct decode * second_decode[2048]
 

Referenced by canon_compressed_load_raw(), and crw_init_tables().

int shrink
 

Definition at line 87 of file dcraw.c.

Referenced by dcraw_main().

int tiff_data_compression
 

Definition at line 84 of file dcraw.c.

Referenced by identify(), nikon_is_compressed(), nikon_load_raw(), and tiff_parse_subifd().

time_t timestamp
 

Definition at line 82 of file dcraw.c.

Referenced by bad_pixels(), get_timestamp(), identify(), parse_ciff(), parse_foveon(), and parse_rollei().

int top_margin
 

Definition at line 85 of file dcraw.c.

Referenced by canon_compressed_load_raw(), foveon_load_raw(), identify(), lossless_jpeg_load_raw(), phase_one_load_raw(), and rollei_load_raw().

int trim
 

Definition at line 88 of file dcraw.c.

Referenced by convert_to_rgb(), dcraw_main(), write_cinelerra(), write_ppm(), write_ppm16(), write_ppm_16_8(), and write_psd16().

int use_auto_wb = 0
 

Definition at line 95 of file dcraw.c.

Referenced by dcraw_main(), and scale_colors().

int use_camera_black = 1
 

Definition at line 114 of file dcraw.c.

Referenced by dcraw_main(), and scale_colors().

int use_camera_wb = 0
 

Definition at line 95 of file dcraw.c.

Referenced by dcraw_main(), and scale_colors().

int use_coeff
 

Definition at line 88 of file dcraw.c.

Referenced by canon_rgb_coeff(), convert_to_rgb(), foveon_coeff(), get_parameter_value(), gmcy_coeff(), identify(), kodak_dc20_coeff(), nikon_e950_coeff(), scale_colors(), and sony_rgbe_coeff().

int use_neutral_wb = 0
 

Definition at line 111 of file dcraw.c.

Referenced by dcraw_main(), and scale_colors().

int use_pivot = 0
 

Definition at line 111 of file dcraw.c.

Referenced by dcraw_main(), and scale_colors().

int use_secondary = 0
 

Definition at line 95 of file dcraw.c.

Referenced by dcraw_main(), and fuji_f700_load_raw().

int user_black = -1
 

Definition at line 115 of file dcraw.c.

Referenced by dcraw_main(), and scale_colors().

int verbose = 0
 

Definition at line 95 of file dcraw.c.

Referenced by bad_pixels(), dcraw_main(), get_parameter_value(), and scale_colors().

ushort( white[8][8]
 

Definition at line 91 of file dcraw.c.

Referenced by ciff_block_1030(), identify(), parse_ciff(), and scale_colors().

float white_point_fraction = 0.99
 

Definition at line 118 of file dcraw.c.

Referenced by dcraw_main(), get_parameter_value(), scale_colors(), write_cinelerra(), and write_ppm().

int width
 

Definition at line 86 of file dcraw.c.

Referenced by bad_pixels(), canon_600_load_raw(), canon_a5_load_raw(), canon_compressed_load_raw(), casio_qv5700_load_raw(), convert_to_rgb(), dcraw_main(), eight_bit_load_raw(), flip_image(), foveon_interpolate(), foveon_load_raw(), VDeviceV4L::frame_to_vframe(), identify(), ixpress_load_raw(), kodak_compressed_load_raw(), kodak_dc120_load_raw(), kodak_easy_load_raw(), kodak_jpeg_load_raw(), kodak_radc_load_raw(), kodak_yuv_load_raw(), lossless_jpeg_load_raw(), nikon_compressed_load_raw(), nikon_e2100_load_raw(), nikon_e950_load_raw(), nikon_load_raw(), nucore_load_raw(), olympus_cseries_load_raw(), packed_12_load_raw(), phase_one_load_raw(), FadeUnit::process_package(), FileTGA::read_tga(), rollei_load_raw(), scale_colors(), sony_load_raw(), thm_interpolate(), unpacked_load_raw(), vng_interpolate(), write_cinelerra(), write_ppm(), write_ppm16(), write_ppm_16_8(), and write_psd16().

void(* write_fun)(FILE *) = write_ppm
 

Definition at line 103 of file dcraw.c.

Referenced by convert_to_rgb(), dcraw_main(), and identify().

int xmag
 

Definition at line 88 of file dcraw.c.

Referenced by flip_image(), identify(), and write_ppm().

int ymag
 

Definition at line 88 of file dcraw.c.

Referenced by flip_image(), identify(), write_ppm(), and write_ppm_16_8().

int zero_after_ff
 

Definition at line 89 of file dcraw.c.

Referenced by canon_compressed_load_raw(), getbits(), identify(), and lossless_jpeg_load_raw().


Generated on Sun Jan 8 13:39:04 2006 for Cinelerra-svn by  doxygen 1.4.4