From: DRC Date: Sat, 9 Oct 2010 19:09:41 +0000 (+0000) Subject: Oops. Forgot to include the new macro header X-Git-Tag: 1.0.90~77 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=553d868c25bea189bc0f9f894b32c7085efe1584;p=libjpeg-turbo Oops. Forgot to include the new macro header git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@239 632fc199-4ca6-4c93-a231-07263d6284db --- 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