shun-iwasawa 82a8f5
/*
shun-iwasawa 82a8f5
 * jpegcomp.h
shun-iwasawa 82a8f5
 *
shun-iwasawa 82a8f5
 * Copyright (C) 2010, 2020, D. R. Commander.
shun-iwasawa 82a8f5
 * For conditions of distribution and use, see the accompanying README.ijg
shun-iwasawa 82a8f5
 * file.
shun-iwasawa 82a8f5
 *
shun-iwasawa 82a8f5
 * JPEG compatibility macros
shun-iwasawa 82a8f5
 * These declarations are considered internal to the JPEG library; most
shun-iwasawa 82a8f5
 * applications using the library shouldn't need to include this file.
shun-iwasawa 82a8f5
 */
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
#if JPEG_LIB_VERSION >= 70
shun-iwasawa 82a8f5
#define _DCT_scaled_size  DCT_h_scaled_size
shun-iwasawa 82a8f5
#define _DCT_h_scaled_size  DCT_h_scaled_size
shun-iwasawa 82a8f5
#define _DCT_v_scaled_size  DCT_v_scaled_size
shun-iwasawa 82a8f5
#define _min_DCT_scaled_size  min_DCT_h_scaled_size
shun-iwasawa 82a8f5
#define _min_DCT_h_scaled_size  min_DCT_h_scaled_size
shun-iwasawa 82a8f5
#define _min_DCT_v_scaled_size  min_DCT_v_scaled_size
shun-iwasawa 82a8f5
#define _jpeg_width  jpeg_width
shun-iwasawa 82a8f5
#define _jpeg_height  jpeg_height
shun-iwasawa 82a8f5
#define JERR_ARITH_NOTIMPL  JERR_NOT_COMPILED
shun-iwasawa 82a8f5
#else
shun-iwasawa 82a8f5
#define _DCT_scaled_size  DCT_scaled_size
shun-iwasawa 82a8f5
#define _DCT_h_scaled_size  DCT_scaled_size
shun-iwasawa 82a8f5
#define _DCT_v_scaled_size  DCT_scaled_size
shun-iwasawa 82a8f5
#define _min_DCT_scaled_size  min_DCT_scaled_size
shun-iwasawa 82a8f5
#define _min_DCT_h_scaled_size  min_DCT_scaled_size
shun-iwasawa 82a8f5
#define _min_DCT_v_scaled_size  min_DCT_scaled_size
shun-iwasawa 82a8f5
#define _jpeg_width  image_width
shun-iwasawa 82a8f5
#define _jpeg_height  image_height
shun-iwasawa 82a8f5
#endif