@img/sharp-libvips-dev-wasm32 1.2.2 → 1.2.4-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/include/expat.h +39 -25
- package/include/expat_config.h +9 -9
- package/include/expat_external.h +62 -61
- package/include/jconfig.h +37 -14
- package/include/jerror.h +47 -42
- package/include/jmorecfg.h +21 -18
- package/include/jpeglib.h +216 -132
- package/include/tiff.h +1 -0
- package/include/tiffconf.h +1 -1
- package/include/tiffio.h +23 -5
- package/include/tiffvers.h +4 -4
- package/include/vips/version.h +4 -4
- package/lib/glib-2.0/include/glibconfig.h +1 -1
- package/lib/libaom.a +0 -0
- package/lib/libcgif.a +0 -0
- package/lib/libexif.a +0 -0
- package/lib/libexpat.a +0 -0
- package/lib/libexpat.la +3 -3
- package/lib/libffi.a +0 -0
- package/lib/libgio-2.0.a +0 -0
- package/lib/libglib-2.0.a +0 -0
- package/lib/libgmodule-2.0.a +0 -0
- package/lib/libgobject-2.0.a +0 -0
- package/lib/libgthread-2.0.a +0 -0
- package/lib/libheif.a +0 -0
- package/lib/libhwy.a +0 -0
- package/lib/libimagequant.a +0 -0
- package/lib/libjpeg.a +0 -0
- package/lib/liblcms2.a +0 -0
- package/lib/libresvg.a +0 -0
- package/lib/libsharpyuv.a +0 -0
- package/lib/libspng.a +0 -0
- package/lib/libtiff.a +0 -0
- package/lib/libtiff.la +2 -2
- package/lib/libvips-cpp.a +0 -0
- package/lib/libvips.a +0 -0
- package/lib/libwebp.a +0 -0
- package/lib/libwebpdemux.a +0 -0
- package/lib/libwebpmux.a +0 -0
- package/lib/libz.a +0 -0
- package/lib/pkgconfig/expat.pc +1 -1
- package/lib/pkgconfig/gio-2.0.pc +1 -1
- package/lib/pkgconfig/glib-2.0.pc +1 -1
- package/lib/pkgconfig/gmodule-2.0.pc +1 -1
- package/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- package/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- package/lib/pkgconfig/gobject-2.0.pc +1 -1
- package/lib/pkgconfig/gthread-2.0.pc +1 -1
- package/lib/pkgconfig/libjpeg.pc +1 -1
- package/lib/pkgconfig/libtiff-4.pc +1 -1
- package/lib/pkgconfig/vips-cpp.pc +1 -1
- package/lib/pkgconfig/vips.pc +1 -1
- package/package.json +1 -1
- package/versions.json +6 -6
package/include/jmorecfg.h
CHANGED
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
* This file was part of the Independent JPEG Group's software:
|
|
5
5
|
* Copyright (C) 1991-1997, Thomas G. Lane.
|
|
6
6
|
* Modified 1997-2009 by Guido Vollbeding.
|
|
7
|
+
* Lossless JPEG Modifications:
|
|
8
|
+
* Copyright (C) 1999, Ken Murchison.
|
|
7
9
|
* libjpeg-turbo Modifications:
|
|
8
|
-
* Copyright (C) 2009, 2011, 2014-2015, 2018, 2020, D. R. Commander.
|
|
10
|
+
* Copyright (C) 2009, 2011, 2014-2015, 2018, 2020, 2022, D. R. Commander.
|
|
9
11
|
* For conditions of distribution and use, see the accompanying README.ijg
|
|
10
12
|
* file.
|
|
11
13
|
*
|
|
@@ -41,31 +43,29 @@
|
|
|
41
43
|
* arrays is very slow on your hardware, you might want to change these.
|
|
42
44
|
*/
|
|
43
45
|
|
|
44
|
-
|
|
45
|
-
/* JSAMPLE should be the smallest type that will hold the values 0..255.
|
|
46
|
-
*/
|
|
46
|
+
/* JSAMPLE should be the smallest type that will hold the values 0..255. */
|
|
47
47
|
|
|
48
48
|
typedef unsigned char JSAMPLE;
|
|
49
49
|
#define GETJSAMPLE(value) ((int)(value))
|
|
50
50
|
|
|
51
|
-
#define MAXJSAMPLE
|
|
52
|
-
#define CENTERJSAMPLE
|
|
51
|
+
#define MAXJSAMPLE 255
|
|
52
|
+
#define CENTERJSAMPLE 128
|
|
53
53
|
|
|
54
|
-
#endif /* BITS_IN_JSAMPLE == 8 */
|
|
55
54
|
|
|
55
|
+
/* J12SAMPLE should be the smallest type that will hold the values 0..4095. */
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
/* JSAMPLE should be the smallest type that will hold the values 0..4095.
|
|
59
|
-
* On nearly all machines "short" will do nicely.
|
|
60
|
-
*/
|
|
57
|
+
typedef short J12SAMPLE;
|
|
61
58
|
|
|
62
|
-
|
|
63
|
-
#define
|
|
59
|
+
#define MAXJ12SAMPLE 4095
|
|
60
|
+
#define CENTERJ12SAMPLE 2048
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
/* J16SAMPLE should be the smallest type that will hold the values 0..65535. */
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
#define CENTERJSAMPLE 2048
|
|
65
|
+
typedef unsigned short J16SAMPLE;
|
|
67
66
|
|
|
68
|
-
#
|
|
67
|
+
#define MAXJ16SAMPLE 65535
|
|
68
|
+
#define CENTERJ16SAMPLE 32768
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
/* Representation of a DCT frequency coefficient.
|
|
@@ -242,14 +242,16 @@ typedef int boolean;
|
|
|
242
242
|
|
|
243
243
|
#define C_MULTISCAN_FILES_SUPPORTED /* Multiple-scan JPEG files? */
|
|
244
244
|
#define C_PROGRESSIVE_SUPPORTED /* Progressive JPEG? (Requires MULTISCAN)*/
|
|
245
|
+
#define C_LOSSLESS_SUPPORTED /* Lossless JPEG? */
|
|
245
246
|
#define ENTROPY_OPT_SUPPORTED /* Optimization of entropy coding parms? */
|
|
246
247
|
/* Note: if you selected 12-bit data precision, it is dangerous to turn off
|
|
247
248
|
* ENTROPY_OPT_SUPPORTED. The standard Huffman tables are only good for 8-bit
|
|
248
249
|
* precision, so jchuff.c normally uses entropy optimization to compute
|
|
249
250
|
* usable tables for higher precision. If you don't want to do optimization,
|
|
250
251
|
* you'll have to supply different default Huffman tables.
|
|
251
|
-
* The exact same statements apply for progressive JPEG:
|
|
252
|
-
* don't work for progressive mode
|
|
252
|
+
* The exact same statements apply for progressive and lossless JPEG:
|
|
253
|
+
* the default tables don't work for progressive mode or lossless mode.
|
|
254
|
+
* (This may get fixed, however.)
|
|
253
255
|
*/
|
|
254
256
|
#define INPUT_SMOOTHING_SUPPORTED /* Input image smoothing option? */
|
|
255
257
|
|
|
@@ -257,6 +259,7 @@ typedef int boolean;
|
|
|
257
259
|
|
|
258
260
|
#define D_MULTISCAN_FILES_SUPPORTED /* Multiple-scan JPEG files? */
|
|
259
261
|
#define D_PROGRESSIVE_SUPPORTED /* Progressive JPEG? (Requires MULTISCAN)*/
|
|
262
|
+
#define D_LOSSLESS_SUPPORTED /* Lossless JPEG? */
|
|
260
263
|
#define SAVE_MARKERS_SUPPORTED /* jpeg_save_markers() needed? */
|
|
261
264
|
#define BLOCK_SMOOTHING_SUPPORTED /* Block smoothing? (Progressive only) */
|
|
262
265
|
#define IDCT_SCALING_SUPPORTED /* Output rescaling via IDCT? */
|