Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/thirdparty/libjpeg-turbo/patches/0001-cmake-generated-headers.patch
9906 views
1
diff --git a/thirdparty/libjpeg-turbo/patches/0001-cmake-generated-headers.patch b/thirdparty/libjpeg-turbo/patches/0001-cmake-generated-headers.patch
2
index 72354390a6..e69de29bb2 100644
3
--- a/thirdparty/libjpeg-turbo/patches/0001-cmake-generated-headers.patch
4
+++ b/thirdparty/libjpeg-turbo/patches/0001-cmake-generated-headers.patch
5
@@ -1,272 +0,0 @@
6
-diff --git a/thirdparty/libjpeg-turbo/src/jconfig.h b/thirdparty/libjpeg-turbo/src/jconfig.h
7
-new file mode 100644
8
-index 0000000000..42d9654c0f
9
---- /dev/null
10
-+++ b/thirdparty/libjpeg-turbo/src/jconfig.h
11
-@@ -0,0 +1,62 @@
12
-+// Originally generated by libjpeg-turbo's cmake build, then modified to support multiple platforms.
13
-+
14
-+/* Version ID for the JPEG library.
15
-+ * Might be useful for tests like "#if JPEG_LIB_VERSION >= 60".
16
-+ */
17
-+#define JPEG_LIB_VERSION 62
18
-+
19
-+/* libjpeg-turbo version */
20
-+#define LIBJPEG_TURBO_VERSION 3.1.0
21
-+
22
-+/* libjpeg-turbo version in integer form */
23
-+#define LIBJPEG_TURBO_VERSION_NUMBER 3001000
24
-+
25
-+/* Support arithmetic encoding when using 8-bit samples */
26
-+#define C_ARITH_CODING_SUPPORTED 1
27
-+
28
-+/* Support arithmetic decoding when using 8-bit samples */
29
-+#define D_ARITH_CODING_SUPPORTED 1
30
-+
31
-+/* Support in-memory source/destination managers */
32
-+#define MEM_SRCDST_SUPPORTED 1
33
-+
34
-+/* Use accelerated SIMD routines when using 8-bit samples */
35
-+//#define WITH_SIMD 1
36
-+
37
-+/* This version of libjpeg-turbo supports run-time selection of data precision,
38
-+ * so BITS_IN_JSAMPLE is no longer used to specify the data precision at build
39
-+ * time. However, some downstream software expects the macro to be defined.
40
-+ * Since 12-bit data precision is an opt-in feature that requires explicitly
41
-+ * calling 12-bit-specific libjpeg API functions and using 12-bit-specific data
42
-+ * types, the unmodified portion of the libjpeg API still behaves as if it were
43
-+ * built for 8-bit precision, and JSAMPLE is still literally an 8-bit data
44
-+ * type. Thus, it is correct to define BITS_IN_JSAMPLE to 8 here.
45
-+ */
46
-+#ifndef BITS_IN_JSAMPLE
47
-+#define BITS_IN_JSAMPLE 8
48
-+#endif
49
-+
50
-+#ifdef _WIN32
51
-+
52
-+#undef RIGHT_SHIFT_IS_UNSIGNED
53
-+
54
-+/* Define "boolean" as unsigned char, not int, per Windows custom */
55
-+#ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
56
-+typedef unsigned char boolean;
57
-+#endif
58
-+#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
59
-+
60
-+/* Define "INT32" as int, not long, per Windows custom */
61
-+#if !(defined(_BASETSD_H_) || defined(_BASETSD_H)) /* don't conflict if basetsd.h already read */
62
-+typedef short INT16;
63
-+typedef signed int INT32;
64
-+#endif
65
-+#define XMD_H /* prevent jmorecfg.h from redefining it */
66
-+
67
-+#else
68
-+
69
-+/* Define if your (broken) compiler shifts signed values as if they were
70
-+ unsigned. */
71
-+/* #undef RIGHT_SHIFT_IS_UNSIGNED */
72
-+
73
-+#endif
74
-diff --git a/thirdparty/libjpeg-turbo/src/jconfigint.h b/thirdparty/libjpeg-turbo/src/jconfigint.h
75
-new file mode 100644
76
---- /dev/null
77
-+++ b/thirdparty/libjpeg-turbo/src/jconfigint.h
78
-@@ -0,0 +1,102 @@
79
-+// Originally generated by libjpeg-turbo's cmake build, then modified to support multiple platforms.
80
-+
81
-+/* libjpeg-turbo build number */
82
-+#define BUILD "20250317"
83
-+
84
-+/* How to hide global symbols. */
85
-+#ifndef HIDDEN
86
-+ #if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__MINGW32__)
87
-+ #define HIDDEN __attribute__((visibility("hidden")))
88
-+ #else
89
-+ #define HIDDEN
90
-+ #endif
91
-+#endif
92
-+
93
-+/* Compiler's inline keyword */
94
-+#undef inline
95
-+
96
-+/* How to obtain function inlining. */
97
-+#if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__MINGW32__)
98
-+ #define INLINE __inline__ __attribute__((always_inline))
99
-+#else
100
-+ #define INLINE inline
101
-+#endif
102
-+
103
-+/* How to obtain thread-local storage */
104
-+#if defined(_MSC_VER)
105
-+#define THREAD_LOCAL __declspec(thread)
106
-+#else
107
-+#define THREAD_LOCAL __thread
108
-+#endif
109
-+
110
-+/* Define to the full name of this package. */
111
-+#define PACKAGE_NAME "libjpeg-turbo"
112
-+
113
-+/* Version number of package */
114
-+#define VERSION "3.1.0"
115
-+
116
-+/* The size of `size_t', as computed by sizeof. */
117
-+#if defined(__SIZEOF_SIZE_T__)
118
-+ #define SIZEOF_SIZE_T __SIZEOF_SIZE_T__
119
-+#elif defined(_WIN64)
120
-+ #define SIZEOF_SIZE_T 8
121
-+#elif defined(_WIN32)
122
-+ #define SIZEOF_SIZE_T 4
123
-+#else
124
-+ #error "Cannot determine size of size_t"
125
-+#endif
126
-+
127
-+/* Define if your compiler has __builtin_ctzl() and sizeof(unsigned long) == sizeof(size_t). */
128
-+#if defined(__GNUC__)
129
-+ #define HAVE_BUILTIN_CTZL
130
-+#endif
131
-+
132
-+/* Define to 1 if you have the <intrin.h> header file. */
133
-+/* #undef HAVE_INTRIN_H */
134
-+
135
-+#if defined(_MSC_VER) && defined(HAVE_INTRIN_H)
136
-+#if (SIZEOF_SIZE_T == 8)
137
-+#define HAVE_BITSCANFORWARD64
138
-+#elif (SIZEOF_SIZE_T == 4)
139
-+#define HAVE_BITSCANFORWARD
140
-+#endif
141
-+#endif
142
-+
143
-+#if defined(__has_attribute)
144
-+#if __has_attribute(fallthrough)
145
-+#define FALLTHROUGH __attribute__((fallthrough));
146
-+#else
147
-+#define FALLTHROUGH
148
-+#endif
149
-+#else
150
-+#define FALLTHROUGH
151
-+#endif
152
-+
153
-+/*
154
-+ * Define BITS_IN_JSAMPLE as either
155
-+ * 8 for 8-bit sample values (the usual setting)
156
-+ * 12 for 12-bit sample values
157
-+ * Only 8 and 12 are legal data precisions for lossy JPEG according to the
158
-+ * JPEG standard, and the IJG code does not support anything else!
159
-+ */
160
-+
161
-+#ifndef BITS_IN_JSAMPLE
162
-+#define BITS_IN_JSAMPLE 8 /* use 8 or 12 */
163
-+#endif
164
-+
165
-+#undef C_ARITH_CODING_SUPPORTED
166
-+#undef D_ARITH_CODING_SUPPORTED
167
-+#undef WITH_SIMD
168
-+
169
-+#if BITS_IN_JSAMPLE == 8
170
-+
171
-+/* Support arithmetic encoding */
172
-+#define C_ARITH_CODING_SUPPORTED 1
173
-+
174
-+/* Support arithmetic decoding */
175
-+#define D_ARITH_CODING_SUPPORTED 1
176
-+
177
-+/* Use accelerated SIMD routines. */
178
-+//#define WITH_SIMD 1
179
-+
180
-+#endif
181
-diff --git a/thirdparty/libjpeg-turbo/src/jmorecfg.h b/thirdparty/libjpeg-turbo/src/jmorecfg.h
182
---- a/thirdparty/libjpeg-turbo/src/jmorecfg.h
183
-+++ b/thirdparty/libjpeg-turbo/src/jmorecfg.h
184
-@@ -1,3 +1,5 @@
185
-+// Modified to remove lossless jpeg support.
186
-+
187
- /*
188
- * jmorecfg.h
189
- *
190
-@@ -8,6 +10,6 @@
191
- * Copyright (C) 1999, Ken Murchison.
192
- * libjpeg-turbo Modifications:
193
- * Copyright (C) 2009, 2011, 2014-2015, 2018, 2020, 2022, D. R. Commander.
194
- * For conditions of distribution and use, see the accompanying README.ijg
195
- * file.
196
- *
197
-@@ -242,7 +244,7 @@ typedef int boolean;
198
-
199
- #define C_MULTISCAN_FILES_SUPPORTED /* Multiple-scan JPEG files? */
200
- #define C_PROGRESSIVE_SUPPORTED /* Progressive JPEG? (Requires MULTISCAN)*/
201
--#define C_LOSSLESS_SUPPORTED /* Lossless JPEG? */
202
-+//#define C_LOSSLESS_SUPPORTED /* Lossless JPEG? */
203
- #define ENTROPY_OPT_SUPPORTED /* Optimization of entropy coding parms? */
204
- /* Note: if you selected 12-bit data precision, it is dangerous to turn off
205
- * ENTROPY_OPT_SUPPORTED. The standard Huffman tables are only good for 8-bit
206
-@@ -259,7 +263,7 @@ typedef int boolean;
207
-
208
- #define D_MULTISCAN_FILES_SUPPORTED /* Multiple-scan JPEG files? */
209
- #define D_PROGRESSIVE_SUPPORTED /* Progressive JPEG? (Requires MULTISCAN)*/
210
--#define D_LOSSLESS_SUPPORTED /* Lossless JPEG? */
211
-+//#define D_LOSSLESS_SUPPORTED /* Lossless JPEG? */
212
- #define SAVE_MARKERS_SUPPORTED /* jpeg_save_markers() needed? */
213
- #define BLOCK_SMOOTHING_SUPPORTED /* Block smoothing? (Progressive only) */
214
- #define IDCT_SCALING_SUPPORTED /* Output rescaling via IDCT? */
215
-diff --git a/thirdparty/libjpeg-turbo/src/jversion.h b/thirdparty/libjpeg-turbo/src/jversion.h
216
-new file mode 100644
217
---- /dev/null
218
-+++ b/thirdparty/libjpeg-turbo/src/jversion.h
219
-@@ -0,0 +18446744073709551615,58 @@
220
-+// Originally generated by libjpeg-turbo's cmake build, then modified to support multiple platforms.
221
-+
222
-+/*
223
-+ * jversion.h
224
-+ *
225
-+ * This file was part of the Independent JPEG Group's software:
226
-+ * Copyright (C) 1991-2020, Thomas G. Lane, Guido Vollbeding.
227
-+ * libjpeg-turbo Modifications:
228
-+ * Copyright (C) 2010, 2012-2024, D. R. Commander.
229
-+ * For conditions of distribution and use, see the accompanying README.ijg
230
-+ * file.
231
-+ *
232
-+ * This file contains software version identification.
233
-+ */
234
-+
235
-+
236
-+#if JPEG_LIB_VERSION >= 80
237
-+
238
-+#define JVERSION "8d 15-Jan-2012"
239
-+
240
-+#elif JPEG_LIB_VERSION >= 70
241
-+
242
-+#define JVERSION "7 27-Jun-2009"
243
-+
244
-+#else
245
-+
246
-+#define JVERSION "6b 27-Mar-1998"
247
-+
248
-+#endif
249
-+
250
-+/*
251
-+ * NOTE: It is our convention to place the authors in the following order:
252
-+ * - libjpeg-turbo authors (2009-) in descending order of the date of their
253
-+ * most recent contribution to the project, then in ascending order of the
254
-+ * date of their first contribution to the project, then in alphabetical
255
-+ * order
256
-+ * - Upstream authors in descending order of the date of the first inclusion of
257
-+ * their code
258
-+ */
259
-+
260
-+#define JCOPYRIGHT1 \
261
-+ "Copyright (C) 2009-2024 D. R. Commander\n" \
262
-+ "Copyright (C) 2015, 2020 Google, Inc.\n" \
263
-+ "Copyright (C) 2019-2020 Arm Limited\n" \
264
-+ "Copyright (C) 2015-2016, 2018 Matthieu Darbois\n" \
265
-+ "Copyright (C) 2011-2016 Siarhei Siamashka\n" \
266
-+ "Copyright (C) 2015 Intel Corporation\n"
267
-+#define JCOPYRIGHT2 \
268
-+ "Copyright (C) 2013-2014 Linaro Limited\n" \
269
-+ "Copyright (C) 2013-2014 MIPS Technologies, Inc.\n" \
270
-+ "Copyright (C) 2009, 2012 Pierre Ossman for Cendio AB\n" \
271
-+ "Copyright (C) 2009-2011 Nokia Corporation and/or its subsidiary(-ies)\n" \
272
-+ "Copyright (C) 1999-2006 MIYASAKA Masaru\n" \
273
-+ "Copyright (C) 1999 Ken Murchison\n" \
274
-+ "Copyright (C) 1991-2020 Thomas G. Lane, Guido Vollbeding\n"
275
-+
276
-+#define JCOPYRIGHT_SHORT \
277
-+ "Copyright (C) 1991-2024 The libjpeg-turbo Project and many others"
278
diff --git a/thirdparty/libjpeg-turbo/src/jconfig.h b/thirdparty/libjpeg-turbo/src/jconfig.h
279
new file mode 100644
280
index 0000000000..42d9654c0f
281
--- /dev/null
282
+++ b/thirdparty/libjpeg-turbo/src/jconfig.h
283
@@ -0,0 +1,62 @@
284
+// Originally generated by libjpeg-turbo's cmake build, then modified to support multiple platforms.
285
+
286
+/* Version ID for the JPEG library.
287
+ * Might be useful for tests like "#if JPEG_LIB_VERSION >= 60".
288
+ */
289
+#define JPEG_LIB_VERSION 62
290
+
291
+/* libjpeg-turbo version */
292
+#define LIBJPEG_TURBO_VERSION 3.1.0
293
+
294
+/* libjpeg-turbo version in integer form */
295
+#define LIBJPEG_TURBO_VERSION_NUMBER 3001000
296
+
297
+/* Support arithmetic encoding when using 8-bit samples */
298
+#define C_ARITH_CODING_SUPPORTED 1
299
+
300
+/* Support arithmetic decoding when using 8-bit samples */
301
+#define D_ARITH_CODING_SUPPORTED 1
302
+
303
+/* Support in-memory source/destination managers */
304
+#define MEM_SRCDST_SUPPORTED 1
305
+
306
+/* Use accelerated SIMD routines when using 8-bit samples */
307
+//#define WITH_SIMD 1
308
+
309
+/* This version of libjpeg-turbo supports run-time selection of data precision,
310
+ * so BITS_IN_JSAMPLE is no longer used to specify the data precision at build
311
+ * time. However, some downstream software expects the macro to be defined.
312
+ * Since 12-bit data precision is an opt-in feature that requires explicitly
313
+ * calling 12-bit-specific libjpeg API functions and using 12-bit-specific data
314
+ * types, the unmodified portion of the libjpeg API still behaves as if it were
315
+ * built for 8-bit precision, and JSAMPLE is still literally an 8-bit data
316
+ * type. Thus, it is correct to define BITS_IN_JSAMPLE to 8 here.
317
+ */
318
+#ifndef BITS_IN_JSAMPLE
319
+#define BITS_IN_JSAMPLE 8
320
+#endif
321
+
322
+#ifdef _WIN32
323
+
324
+#undef RIGHT_SHIFT_IS_UNSIGNED
325
+
326
+/* Define "boolean" as unsigned char, not int, per Windows custom */
327
+#ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
328
+typedef unsigned char boolean;
329
+#endif
330
+#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
331
+
332
+/* Define "INT32" as int, not long, per Windows custom */
333
+#if !(defined(_BASETSD_H_) || defined(_BASETSD_H)) /* don't conflict if basetsd.h already read */
334
+typedef short INT16;
335
+typedef signed int INT32;
336
+#endif
337
+#define XMD_H /* prevent jmorecfg.h from redefining it */
338
+
339
+#else
340
+
341
+/* Define if your (broken) compiler shifts signed values as if they were
342
+ unsigned. */
343
+/* #undef RIGHT_SHIFT_IS_UNSIGNED */
344
+
345
+#endif
346
diff --git a/thirdparty/libjpeg-turbo/src/jconfigint.h b/thirdparty/libjpeg-turbo/src/jconfigint.h
347
new file mode 100644
348
index 0000000000..45bd3ec321
349
--- /dev/null
350
+++ b/thirdparty/libjpeg-turbo/src/jconfigint.h
351
@@ -0,0 +1,102 @@
352
+// Originally generated by libjpeg-turbo's cmake build, then modified to support multiple platforms.
353
+
354
+/* libjpeg-turbo build number */
355
+#define BUILD "20250317"
356
+
357
+/* How to hide global symbols. */
358
+#ifndef HIDDEN
359
+ #if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__MINGW32__)
360
+ #define HIDDEN __attribute__((visibility("hidden")))
361
+ #else
362
+ #define HIDDEN
363
+ #endif
364
+#endif
365
+
366
+/* Compiler's inline keyword */
367
+#undef inline
368
+
369
+/* How to obtain function inlining. */
370
+#if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__MINGW32__)
371
+ #define INLINE __inline__ __attribute__((always_inline))
372
+#else
373
+ #define INLINE inline
374
+#endif
375
+
376
+/* How to obtain thread-local storage */
377
+#if defined(_MSC_VER)
378
+#define THREAD_LOCAL __declspec(thread)
379
+#else
380
+#define THREAD_LOCAL __thread
381
+#endif
382
+
383
+/* Define to the full name of this package. */
384
+#define PACKAGE_NAME "libjpeg-turbo"
385
+
386
+/* Version number of package */
387
+#define VERSION "3.1.0"
388
+
389
+/* The size of `size_t', as computed by sizeof. */
390
+#if defined(__SIZEOF_SIZE_T__)
391
+ #define SIZEOF_SIZE_T __SIZEOF_SIZE_T__
392
+#elif defined(_WIN64)
393
+ #define SIZEOF_SIZE_T 8
394
+#elif defined(_WIN32)
395
+ #define SIZEOF_SIZE_T 4
396
+#else
397
+ #error "Cannot determine size of size_t"
398
+#endif
399
+
400
+/* Define if your compiler has __builtin_ctzl() and sizeof(unsigned long) == sizeof(size_t). */
401
+#if defined(__GNUC__)
402
+ #define HAVE_BUILTIN_CTZL
403
+#endif
404
+
405
+/* Define to 1 if you have the <intrin.h> header file. */
406
+/* #undef HAVE_INTRIN_H */
407
+
408
+#if defined(_MSC_VER) && defined(HAVE_INTRIN_H)
409
+#if (SIZEOF_SIZE_T == 8)
410
+#define HAVE_BITSCANFORWARD64
411
+#elif (SIZEOF_SIZE_T == 4)
412
+#define HAVE_BITSCANFORWARD
413
+#endif
414
+#endif
415
+
416
+#if defined(__has_attribute)
417
+#if __has_attribute(fallthrough)
418
+#define FALLTHROUGH __attribute__((fallthrough));
419
+#else
420
+#define FALLTHROUGH
421
+#endif
422
+#else
423
+#define FALLTHROUGH
424
+#endif
425
+
426
+/*
427
+ * Define BITS_IN_JSAMPLE as either
428
+ * 8 for 8-bit sample values (the usual setting)
429
+ * 12 for 12-bit sample values
430
+ * Only 8 and 12 are legal data precisions for lossy JPEG according to the
431
+ * JPEG standard, and the IJG code does not support anything else!
432
+ */
433
+
434
+#ifndef BITS_IN_JSAMPLE
435
+#define BITS_IN_JSAMPLE 8 /* use 8 or 12 */
436
+#endif
437
+
438
+#undef C_ARITH_CODING_SUPPORTED
439
+#undef D_ARITH_CODING_SUPPORTED
440
+#undef WITH_SIMD
441
+
442
+#if BITS_IN_JSAMPLE == 8
443
+
444
+/* Support arithmetic encoding */
445
+#define C_ARITH_CODING_SUPPORTED 1
446
+
447
+/* Support arithmetic decoding */
448
+#define D_ARITH_CODING_SUPPORTED 1
449
+
450
+/* Use accelerated SIMD routines. */
451
+//#define WITH_SIMD 1
452
+
453
+#endif
454
diff --git a/thirdparty/libjpeg-turbo/src/jmorecfg.h b/thirdparty/libjpeg-turbo/src/jmorecfg.h
455
index 89c7842c87..c96edd2300 100644
456
--- a/thirdparty/libjpeg-turbo/src/jmorecfg.h
457
+++ b/thirdparty/libjpeg-turbo/src/jmorecfg.h
458
@@ -1,3 +1,5 @@
459
+// Modified to remove lossless jpeg support.
460
+
461
/*
462
* jmorecfg.h
463
*
464
@@ -242,7 +244,7 @@ typedef int boolean;
465
466
#define C_MULTISCAN_FILES_SUPPORTED /* Multiple-scan JPEG files? */
467
#define C_PROGRESSIVE_SUPPORTED /* Progressive JPEG? (Requires MULTISCAN)*/
468
-#define C_LOSSLESS_SUPPORTED /* Lossless JPEG? */
469
+//#define C_LOSSLESS_SUPPORTED /* Lossless JPEG? */
470
#define ENTROPY_OPT_SUPPORTED /* Optimization of entropy coding parms? */
471
/* Note: if you selected 12-bit data precision, it is dangerous to turn off
472
* ENTROPY_OPT_SUPPORTED. The standard Huffman tables are only good for 8-bit
473
@@ -259,7 +261,7 @@ typedef int boolean;
474
475
#define D_MULTISCAN_FILES_SUPPORTED /* Multiple-scan JPEG files? */
476
#define D_PROGRESSIVE_SUPPORTED /* Progressive JPEG? (Requires MULTISCAN)*/
477
-#define D_LOSSLESS_SUPPORTED /* Lossless JPEG? */
478
+//#define D_LOSSLESS_SUPPORTED /* Lossless JPEG? */
479
#define SAVE_MARKERS_SUPPORTED /* jpeg_save_markers() needed? */
480
#define BLOCK_SMOOTHING_SUPPORTED /* Block smoothing? (Progressive only) */
481
#define IDCT_SCALING_SUPPORTED /* Output rescaling via IDCT? */
482
diff --git a/thirdparty/libjpeg-turbo/src/jversion.h b/thirdparty/libjpeg-turbo/src/jversion.h
483
new file mode 100644
484
index 0000000000..40f7a6cc82
485
--- /dev/null
486
+++ b/thirdparty/libjpeg-turbo/src/jversion.h
487
@@ -0,0 +1,58 @@
488
+// Originally generated by libjpeg-turbo's cmake build, then modified to support multiple platforms.
489
+
490
+/*
491
+ * jversion.h
492
+ *
493
+ * This file was part of the Independent JPEG Group's software:
494
+ * Copyright (C) 1991-2020, Thomas G. Lane, Guido Vollbeding.
495
+ * libjpeg-turbo Modifications:
496
+ * Copyright (C) 2010, 2012-2024, D. R. Commander.
497
+ * For conditions of distribution and use, see the accompanying README.ijg
498
+ * file.
499
+ *
500
+ * This file contains software version identification.
501
+ */
502
+
503
+
504
+#if JPEG_LIB_VERSION >= 80
505
+
506
+#define JVERSION "8d 15-Jan-2012"
507
+
508
+#elif JPEG_LIB_VERSION >= 70
509
+
510
+#define JVERSION "7 27-Jun-2009"
511
+
512
+#else
513
+
514
+#define JVERSION "6b 27-Mar-1998"
515
+
516
+#endif
517
+
518
+/*
519
+ * NOTE: It is our convention to place the authors in the following order:
520
+ * - libjpeg-turbo authors (2009-) in descending order of the date of their
521
+ * most recent contribution to the project, then in ascending order of the
522
+ * date of their first contribution to the project, then in alphabetical
523
+ * order
524
+ * - Upstream authors in descending order of the date of the first inclusion of
525
+ * their code
526
+ */
527
+
528
+#define JCOPYRIGHT1 \
529
+ "Copyright (C) 2009-2024 D. R. Commander\n" \
530
+ "Copyright (C) 2015, 2020 Google, Inc.\n" \
531
+ "Copyright (C) 2019-2020 Arm Limited\n" \
532
+ "Copyright (C) 2015-2016, 2018 Matthieu Darbois\n" \
533
+ "Copyright (C) 2011-2016 Siarhei Siamashka\n" \
534
+ "Copyright (C) 2015 Intel Corporation\n"
535
+#define JCOPYRIGHT2 \
536
+ "Copyright (C) 2013-2014 Linaro Limited\n" \
537
+ "Copyright (C) 2013-2014 MIPS Technologies, Inc.\n" \
538
+ "Copyright (C) 2009, 2012 Pierre Ossman for Cendio AB\n" \
539
+ "Copyright (C) 2009-2011 Nokia Corporation and/or its subsidiary(-ies)\n" \
540
+ "Copyright (C) 1999-2006 MIYASAKA Masaru\n" \
541
+ "Copyright (C) 1999 Ken Murchison\n" \
542
+ "Copyright (C) 1991-2020 Thomas G. Lane, Guido Vollbeding\n"
543
+
544
+#define JCOPYRIGHT_SHORT \
545
+ "Copyright (C) 1991-2024 The libjpeg-turbo Project and many others"
546
547