DRC | 553d868 | 2010-10-09 19:09:41 +0000 | [diff] [blame] | 1 | /* |
| 2 | * jpegcomp.h |
| 3 | * |
| 4 | * Copyright (C) 2010, D. R. Commander |
DRC | 7e3acc0 | 2015-10-10 10:25:46 -0500 | [diff] [blame] | 5 | * For conditions of distribution and use, see the accompanying README.ijg |
| 6 | * file. |
DRC | 553d868 | 2010-10-09 19:09:41 +0000 | [diff] [blame] | 7 | * |
| 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 |
DRC | 49967cd | 2010-10-09 19:57:51 +0000 | [diff] [blame] | 14 | #define _DCT_scaled_size DCT_h_scaled_size |
DRC | 27fb3fc | 2012-01-28 01:48:07 +0000 | [diff] [blame] | 15 | #define _DCT_h_scaled_size DCT_h_scaled_size |
| 16 | #define _DCT_v_scaled_size DCT_v_scaled_size |
DRC | 49967cd | 2010-10-09 19:57:51 +0000 | [diff] [blame] | 17 | #define _min_DCT_scaled_size min_DCT_h_scaled_size |
DRC | c04bd3c | 2010-10-10 02:15:56 +0000 | [diff] [blame] | 18 | #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 |
DRC | 553d868 | 2010-10-09 19:09:41 +0000 | [diff] [blame] | 22 | #else |
DRC | 49967cd | 2010-10-09 19:57:51 +0000 | [diff] [blame] | 23 | #define _DCT_scaled_size DCT_scaled_size |
DRC | 27fb3fc | 2012-01-28 01:48:07 +0000 | [diff] [blame] | 24 | #define _DCT_h_scaled_size DCT_scaled_size |
| 25 | #define _DCT_v_scaled_size DCT_scaled_size |
DRC | 49967cd | 2010-10-09 19:57:51 +0000 | [diff] [blame] | 26 | #define _min_DCT_scaled_size min_DCT_scaled_size |
DRC | c04bd3c | 2010-10-10 02:15:56 +0000 | [diff] [blame] | 27 | #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 |
DRC | 553d868 | 2010-10-09 19:09:41 +0000 | [diff] [blame] | 31 | #endif |