libjpeg-turbo: update to 2.1.x rev 0734e34f6

This commit is contained in:
roytam1 2024-10-11 12:01:54 +08:00
commit 19dc62b0a2
139 changed files with 989 additions and 962 deletions

View file

@ -5,7 +5,8 @@
* Copyright (C) 1991-1998, Thomas G. Lane.
* Modified 2002-2009 by Guido Vollbeding.
* libjpeg-turbo Modifications:
* Copyright (C) 2009-2011, 2013-2014, 2016-2017, 2020, D. R. Commander.
* Copyright (C) 2009-2011, 2013-2014, 2016-2017, 2020, 2023-2024,
D. R. Commander.
* Copyright (C) 2015, Google, Inc.
* For conditions of distribution and use, see the accompanying README.ijg
* file.
@ -15,6 +16,16 @@
* and perhaps jerror.h if they want to know the exact error codes.
*/
/* NOTE: This header file does not include stdio.h, despite the fact that it
* uses FILE and size_t. That is by design, since the libjpeg API predates the
* widespread adoption of ANSI/ISO C. Referring to libjpeg.txt, it is a
* documented requirement that calling programs "include system headers that
* define at least the typedefs FILE and size_t" before including jpeglib.h.
* Technically speaking, changing that requirement by including stdio.h here
* would break backward API compatibility. Please do not file bug reports,
* feature requests, or pull requests regarding this.
*/
#ifndef JPEGLIB_H
#define JPEGLIB_H
@ -238,7 +249,8 @@ typedef enum {
JCS_EXT_BGRA, /* blue/green/red/alpha */
JCS_EXT_ABGR, /* alpha/blue/green/red */
JCS_EXT_ARGB, /* alpha/red/green/blue */
JCS_RGB565 /* 5-bit red/6-bit green/5-bit blue */
JCS_RGB565 /* 5-bit red/6-bit green/5-bit blue
[decompression only] */
} J_COLOR_SPACE;
/* DCT/IDCT algorithm options. */