* tag '2.1.3': (56 commits) Neon/AArch64: Explicitly unroll quant loop w/Clang Neon/AArch64: Fix/suppress UBSan warnings Neon/AArch64: Accelerate Huffman encoding AppVeyor: Test strict MSVC compiler warnings Eliminate incompatible pointer type warnings MSVC: Eliminate int conversion warnings (C4244) MSVC: Eliminate C4996 warnings in API libs BUILDING.md: Clarify that Ninja works with Windows BUILDING.md: Remove NASM RPM rebuild instructions BUILDING.md: Document NASM/Yasm path variables "YASM" = "Yasm" Build: Fix Neon capability detection w/ MSVC Ensure that strncpy() dest strings are terminated Eliminate unnecessary JFREAD()/JFWRITE() macros Build: Embed version/API/(C) info in MSVC DLLs Fix segv w/ h2v2 merged upsamp, jpeg_crop_scanline TJBench: Remove innocuous always-true condition GitHub Actions: Specify Catalina for macOS build Fix -Wpedantic compiler warnings Eliminate non-ANSI C compatibility macros ...
94 lines
3.1 KiB
Plaintext
94 lines
3.1 KiB
Plaintext
/*
|
|
* jconfig.txt
|
|
*
|
|
* This file was part of the Independent JPEG Group's software:
|
|
* Copyright (C) 1991-1994, Thomas G. Lane.
|
|
* It was modified by The libjpeg-turbo Project to include only code relevant
|
|
* to libjpeg-turbo.
|
|
* For conditions of distribution and use, see the accompanying README.ijg
|
|
* file.
|
|
*
|
|
* This file documents the configuration options that are required to
|
|
* customize the JPEG software for a particular system.
|
|
*
|
|
* The actual configuration options for a particular installation are stored
|
|
* in jconfig.h. On many machines, jconfig.h can be generated automatically
|
|
* or copied from one of the "canned" jconfig files that we supply. But if
|
|
* you need to generate a jconfig.h file by hand, this file tells you how.
|
|
*
|
|
* DO NOT EDIT THIS FILE --- IT WON'T ACCOMPLISH ANYTHING.
|
|
* EDIT A COPY NAMED JCONFIG.H.
|
|
*/
|
|
|
|
|
|
/*
|
|
* These symbols indicate the properties of your machine or compiler.
|
|
* #define the symbol if yes, #undef it if no.
|
|
*/
|
|
|
|
/* Define "boolean" as unsigned char, not int, on Windows systems.
|
|
*/
|
|
#ifdef _WIN32
|
|
#ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
|
|
typedef unsigned char boolean;
|
|
#endif
|
|
#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
|
|
#endif
|
|
|
|
|
|
/*
|
|
* The following options affect code selection within the JPEG library,
|
|
* but they don't need to be visible to applications using the library.
|
|
* To minimize application namespace pollution, the symbols won't be
|
|
* defined unless JPEG_INTERNALS has been defined.
|
|
*/
|
|
|
|
#ifdef JPEG_INTERNALS
|
|
|
|
/* Define this if your compiler implements ">>" on signed values as a logical
|
|
* (unsigned) shift; leave it undefined if ">>" is a signed (arithmetic) shift,
|
|
* which is the normal and rational definition.
|
|
*/
|
|
#undef RIGHT_SHIFT_IS_UNSIGNED
|
|
|
|
|
|
#endif /* JPEG_INTERNALS */
|
|
|
|
|
|
/*
|
|
* The remaining options do not affect the JPEG library proper,
|
|
* but only the sample applications cjpeg/djpeg (see cjpeg.c, djpeg.c).
|
|
* Other applications can ignore these.
|
|
*/
|
|
|
|
#ifdef JPEG_CJPEG_DJPEG
|
|
|
|
/* These defines indicate which image (non-JPEG) file formats are allowed. */
|
|
|
|
#define PNG_SUPPORTED /* PNG image file format */
|
|
#define BMP_SUPPORTED /* BMP image file format */
|
|
#define GIF_SUPPORTED /* GIF image file format */
|
|
#define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */
|
|
#define TARGA_SUPPORTED /* Targa image file format */
|
|
|
|
/* Define this if you want to name both input and output files on the command
|
|
* line, rather than using stdout and optionally stdin. You MUST do this if
|
|
* your system can't cope with binary I/O to stdin/stdout. See comments at
|
|
* head of cjpeg.c or djpeg.c.
|
|
*/
|
|
#undef TWO_FILE_COMMANDLINE
|
|
|
|
/* By default, we open image files with fopen(..., "rb") or fopen(..., "wb").
|
|
* This is necessary on systems that distinguish text files from binary files,
|
|
* and is harmless on most systems that don't. If you have one of the rare
|
|
* systems that complains about the "b" spec, define this symbol.
|
|
*/
|
|
#undef DONT_USE_B_MODE
|
|
|
|
/* Define this if you want percent-done progress reports from cjpeg/djpeg.
|
|
*/
|
|
#undef PROGRESS_REPORT
|
|
|
|
|
|
#endif /* JPEG_CJPEG_DJPEG */
|