| 30 | #include "libraw/libraw.h" |
| 31 | |
| 32 | void usage(const char *av) |
| 33 | { |
| 34 | printf( |
| 35 | "Dump (small) selection of RAW file as tab-separated text file\n" |
| 36 | "Usage: %s inputfile COL ROW [CHANNEL] [width] [height]\n" |
| 37 | " COL - start column\n" |
| 38 | " ROW - start row\n" |
| 39 | " CHANNEL - raw channel to dump, default is 0 (red for rggb)\n" |
| 40 | " width - area width to dump, default is 16\n" |
| 41 | " height - area height to dump, default is 4\n" |
| 42 | , av); |
| 43 | } |
| 44 | |
| 45 | unsigned subtract_bl(unsigned int val, int bl) |
| 46 | { |