blob: ed9eeab8a1bb17200989d016f20306551e1f9ea7 [file] [log] [blame]
DRC553d8682010-10-09 19:09:41 +00001/*
2 * jpegcomp.h
3 *
4 * Copyright (C) 2010, D. R. Commander
5 * For conditions of distribution and use, see the accompanying README file.
6 *
7 * JPEG compatibility macros
8 * These declarations are considered internal to the JPEG library; most
9 * applications using the library shouldn't need to include this file.
10 */
11
12#if JPEG_LIB_VERSION >= 70
DRC49967cd2010-10-09 19:57:51 +000013#define _DCT_scaled_size DCT_h_scaled_size
DRC27fb3fc2012-01-28 01:48:07 +000014#define _DCT_h_scaled_size DCT_h_scaled_size
15#define _DCT_v_scaled_size DCT_v_scaled_size
DRC49967cd2010-10-09 19:57:51 +000016#define _min_DCT_scaled_size min_DCT_h_scaled_size
DRCc04bd3c2010-10-10 02:15:56 +000017#define _min_DCT_h_scaled_size min_DCT_h_scaled_size
18#define _min_DCT_v_scaled_size min_DCT_v_scaled_size
19#define _jpeg_width jpeg_width
20#define _jpeg_height jpeg_height
DRC553d8682010-10-09 19:09:41 +000021#else
DRC49967cd2010-10-09 19:57:51 +000022#define _DCT_scaled_size DCT_scaled_size
DRC27fb3fc2012-01-28 01:48:07 +000023#define _DCT_h_scaled_size DCT_scaled_size
24#define _DCT_v_scaled_size DCT_scaled_size
DRC49967cd2010-10-09 19:57:51 +000025#define _min_DCT_scaled_size min_DCT_scaled_size
DRCc04bd3c2010-10-10 02:15:56 +000026#define _min_DCT_h_scaled_size min_DCT_scaled_size
27#define _min_DCT_v_scaled_size min_DCT_scaled_size
28#define _jpeg_width image_width
29#define _jpeg_height image_height
DRC553d8682010-10-09 19:09:41 +000030#endif