Commit 46ce9ded authored by Diego Biurrun's avatar Diego Biurrun

tiff: K&R formatting cosmetics

parent f849a77e
This diff is collapsed.
...@@ -31,37 +31,37 @@ ...@@ -31,37 +31,37 @@
#include <stdint.h> #include <stdint.h>
/** abridged list of TIFF tags */ /** abridged list of TIFF tags */
enum TiffTags{ enum TiffTags {
TIFF_SUBFILE = 0xfe, TIFF_SUBFILE = 0xfe,
TIFF_WIDTH = 0x100, TIFF_WIDTH = 0x100,
TIFF_HEIGHT, TIFF_HEIGHT,
TIFF_BPP, TIFF_BPP,
TIFF_COMPR, TIFF_COMPR,
TIFF_INVERT = 0x106, TIFF_INVERT = 0x106,
TIFF_FILL_ORDER = 0x10A, TIFF_FILL_ORDER = 0x10A,
TIFF_STRIP_OFFS = 0x111, TIFF_STRIP_OFFS = 0x111,
TIFF_SAMPLES_PER_PIXEL = 0x115, TIFF_SAMPLES_PER_PIXEL = 0x115,
TIFF_ROWSPERSTRIP = 0x116, TIFF_ROWSPERSTRIP = 0x116,
TIFF_STRIP_SIZE, TIFF_STRIP_SIZE,
TIFF_XRES = 0x11A, TIFF_XRES = 0x11A,
TIFF_YRES = 0x11B, TIFF_YRES = 0x11B,
TIFF_PLANAR = 0x11C, TIFF_PLANAR = 0x11C,
TIFF_XPOS = 0x11E, TIFF_XPOS = 0x11E,
TIFF_YPOS = 0x11F, TIFF_YPOS = 0x11F,
TIFF_T4OPTIONS = 0x124, TIFF_T4OPTIONS = 0x124,
TIFF_T6OPTIONS, TIFF_T6OPTIONS,
TIFF_RES_UNIT = 0x128, TIFF_RES_UNIT = 0x128,
TIFF_SOFTWARE_NAME = 0x131, TIFF_SOFTWARE_NAME = 0x131,
TIFF_PREDICTOR = 0x13D, TIFF_PREDICTOR = 0x13D,
TIFF_PAL = 0x140, TIFF_PAL = 0x140,
TIFF_YCBCR_COEFFICIENTS = 0x211, TIFF_YCBCR_COEFFICIENTS = 0x211,
TIFF_YCBCR_SUBSAMPLING = 0x212, TIFF_YCBCR_SUBSAMPLING = 0x212,
TIFF_YCBCR_POSITIONING = 0x213, TIFF_YCBCR_POSITIONING = 0x213,
TIFF_REFERENCE_BW = 0x214, TIFF_REFERENCE_BW = 0x214,
}; };
/** list of TIFF compression types */ /** list of TIFF compression types */
enum TiffCompr{ enum TiffCompr {
TIFF_RAW = 1, TIFF_RAW = 1,
TIFF_CCITT_RLE, TIFF_CCITT_RLE,
TIFF_G3, TIFF_G3,
...@@ -71,10 +71,10 @@ enum TiffCompr{ ...@@ -71,10 +71,10 @@ enum TiffCompr{
TIFF_NEWJPEG, TIFF_NEWJPEG,
TIFF_ADOBE_DEFLATE, TIFF_ADOBE_DEFLATE,
TIFF_PACKBITS = 0x8005, TIFF_PACKBITS = 0x8005,
TIFF_DEFLATE = 0x80B2 TIFF_DEFLATE = 0x80B2
}; };
enum TiffTypes{ enum TiffTypes {
TIFF_BYTE = 1, TIFF_BYTE = 1,
TIFF_STRING, TIFF_STRING,
TIFF_SHORT, TIFF_SHORT,
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment