Coverage Report

Created: 2024-03-28 05:34

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