PageRenderTime 18ms CodeModel.GetById 16ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/media/libjpeg/jpegcomp.h

http://github.com/zpao/v8monkey
C Header | 26 lines | 15 code | 1 blank | 10 comment | 0 complexity | c90f0e75b9b6b213ed7107960dba8989 MD5 | raw file
 1/*
 2 * jpegcomp.h
 3 *
 4 * Copyright (C) 2010, D. R. Commander
 5 * For conditions of distribution and use, see the accompanying README file.
 6 *
 7 * JPEG compatibility macros
 8 * These declarations are considered internal to the JPEG library; most
 9 * applications using the library shouldn't need to include this file.
10 */
11
12#if JPEG_LIB_VERSION >= 70
13#define _DCT_scaled_size DCT_h_scaled_size
14#define _min_DCT_scaled_size min_DCT_h_scaled_size
15#define _min_DCT_h_scaled_size min_DCT_h_scaled_size
16#define _min_DCT_v_scaled_size min_DCT_v_scaled_size
17#define _jpeg_width jpeg_width
18#define _jpeg_height jpeg_height
19#else
20#define _DCT_scaled_size DCT_scaled_size
21#define _min_DCT_scaled_size min_DCT_scaled_size
22#define _min_DCT_h_scaled_size min_DCT_scaled_size
23#define _min_DCT_v_scaled_size min_DCT_scaled_size
24#define _jpeg_width image_width
25#define _jpeg_height image_height
26#endif