2018-05-10 20:50:35 +08:00
|
|
|
/*
|
|
|
|
* jpegcomp.h
|
|
|
|
*
|
2020-11-18 02:16:34 +08:00
|
|
|
* Copyright (C) 2010, 2020, D. R. Commander.
|
2018-05-10 20:50:35 +08:00
|
|
|
* 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
|
2019-02-24 00:30:49 +08:00
|
|
|
#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
|
2020-11-18 02:16:34 +08:00
|
|
|
#define JERR_ARITH_NOTIMPL JERR_NOT_COMPILED
|
2018-05-10 20:50:35 +08:00
|
|
|
#else
|
2019-02-24 00:30:49 +08:00
|
|
|
#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
|
2018-05-10 20:50:35 +08:00
|
|
|
#endif
|