/src/libjpeg-turbo.main/jconfigint.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* libjpeg-turbo build number */ |
2 | | #define BUILD "20240825" |
3 | | |
4 | | /* How to hide global symbols. */ |
5 | | #define HIDDEN __attribute__((visibility("hidden"))) |
6 | | |
7 | | /* Compiler's inline keyword */ |
8 | | #undef inline |
9 | | |
10 | | /* How to obtain function inlining. */ |
11 | | #define INLINE __inline__ __attribute__((always_inline)) |
12 | | |
13 | | /* How to obtain thread-local storage */ |
14 | | #define THREAD_LOCAL __thread |
15 | | |
16 | | /* Define to the full name of this package. */ |
17 | 0 | #define PACKAGE_NAME "libjpeg-turbo" |
18 | | |
19 | | /* Version number of package */ |
20 | | #define VERSION "3.0.4" |
21 | | |
22 | | /* The size of `size_t', as computed by sizeof. */ |
23 | | #define SIZEOF_SIZE_T 8 |
24 | | |
25 | | /* Define if your compiler has __builtin_ctzl() and sizeof(unsigned long) == sizeof(size_t). */ |
26 | | #define HAVE_BUILTIN_CTZL |
27 | | |
28 | | /* Define to 1 if you have the <intrin.h> header file. */ |
29 | | /* #undef HAVE_INTRIN_H */ |
30 | | |
31 | | #if defined(_MSC_VER) && defined(HAVE_INTRIN_H) |
32 | | #if (SIZEOF_SIZE_T == 8) |
33 | | #define HAVE_BITSCANFORWARD64 |
34 | | #elif (SIZEOF_SIZE_T == 4) |
35 | | #define HAVE_BITSCANFORWARD |
36 | | #endif |
37 | | #endif |
38 | | |
39 | | #if defined(__has_attribute) |
40 | | #if __has_attribute(fallthrough) |
41 | 569k | #define FALLTHROUGH __attribute__((fallthrough)); |
42 | | #else |
43 | | #define FALLTHROUGH |
44 | | #endif |
45 | | #else |
46 | | #define FALLTHROUGH |
47 | | #endif |
48 | | |
49 | | /* |
50 | | * Define BITS_IN_JSAMPLE as either |
51 | | * 8 for 8-bit sample values (the usual setting) |
52 | | * 12 for 12-bit sample values |
53 | | * Only 8 and 12 are legal data precisions for lossy JPEG according to the |
54 | | * JPEG standard, and the IJG code does not support anything else! |
55 | | */ |
56 | | |
57 | | #ifndef BITS_IN_JSAMPLE |
58 | | #define BITS_IN_JSAMPLE 8 /* use 8 or 12 */ |
59 | | #endif |
60 | | |
61 | | #undef C_ARITH_CODING_SUPPORTED |
62 | | #undef D_ARITH_CODING_SUPPORTED |
63 | | #undef WITH_SIMD |
64 | | |
65 | | #if BITS_IN_JSAMPLE == 8 |
66 | | |
67 | | /* Support arithmetic encoding */ |
68 | | #define C_ARITH_CODING_SUPPORTED 1 |
69 | | |
70 | | /* Support arithmetic decoding */ |
71 | | #define D_ARITH_CODING_SUPPORTED 1 |
72 | | |
73 | | /* Use accelerated SIMD routines. */ |
74 | | #define WITH_SIMD 1 |
75 | | |
76 | | #endif |