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