aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libjpeg-turbo/jpegcomp.h
blob: c4834ac0df9dfcea43bcb1cdf5c10c3331b6a6b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * jpegcomp.h
 *
 * Copyright (C) 2010, 2020, D. R. Commander.
 * For conditions of distribution and use, see the accompanying README.ijg
 * 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  DCT_h_scaled_size
#define _DCT_h_scaled_size  DCT_h_scaled_size
#define _DCT_v_scaled_size  DCT_v_scaled_size
#define _min_DCT_scaled_size  min_DCT_h_scaled_size
#define _min_DCT_h_scaled_size  min_DCT_h_scaled_size
#define _min_DCT_v_scaled_size  min_DCT_v_scaled_size
#define _jpeg_width  jpeg_width
#define _jpeg_height  jpeg_height
#define JERR_ARITH_NOTIMPL  JERR_NOT_COMPILED
#else
#define _DCT_scaled_size  DCT_scaled_size
#define _DCT_h_scaled_size  DCT_scaled_size
#define _DCT_v_scaled_size  DCT_scaled_size
#define _min_DCT_scaled_size  min_DCT_scaled_size
#define _min_DCT_h_scaled_size  min_DCT_scaled_size
#define _min_DCT_v_scaled_size  min_DCT_scaled_size
#define _jpeg_width  image_width
#define _jpeg_height  image_height
#endif