diff options
author | dcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db> | 2010-10-09 19:09:41 +0000 |
---|---|---|
committer | dcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db> | 2010-10-09 19:09:41 +0000 |
commit | b634b1d8acf4a34b2a50bab81618d136b2f30f2e (patch) | |
tree | 67c541203b797d55f812c7fb79eaa2821f5ffee8 /jpegcomp.h | |
parent | 4ab163193020a59a16d1a0c7703ad53f5891ce61 (diff) |
Oops. Forgot to include the new macro header
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@239 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'jpegcomp.h')
-rw-r--r-- | jpegcomp.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/jpegcomp.h b/jpegcomp.h new file mode 100644 index 0000000..8891fb5 --- /dev/null +++ b/jpegcomp.h @@ -0,0 +1,18 @@ +/* + * jpegcomp.h + * + * Copyright (C) 2010, D. R. Commander + * For conditions of distribution and use, see the accompanying README file. + * + * JPEG compatibility macros + * These declarations are considered internal to the JPEG library; most + * applications using the library shouldn't need to include this file. + */ + +#if JPEG_LIB_VERSION >= 70 +#define _DCT_scaled_size compptr->DCT_h_scaled_size +#define _min_DCT_scaled_size cinfo->min_DCT_h_scaled_size +#else +#define _DCT_scaled_size compptr->DCT_scaled_size +#define _min_DCT_scaled_size cinfo->min_DCT_scaled_size +#endif |