Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/JAVA/Openjdk/src/java.desktop/share/native/libjavajpeg/   (Sun/Oracle ©)  Datei vom 13.11.2022 mit Größe 12 kB image not shown  

Quelle  jmorecfg.h   Sprache: C

 

/*
 * reserved comment block
 * DO NOT REMOVE OR ALTER!
 */

/*
 #MAXJSAMPLE4095
 unsigned char ;
 * Copyright C 19911997 Thomas G.Lane
* fileof  ' .
conditionsofdistribution and use, see the accompanying README file.
*
 * This file contains additional configuration options that customize the
 * forspecial applicationsor support machine-
 * optimizations.  Most users will not need to touch this file.
 */



/*
 * Define BITS_IN_JSAMPLE aseither
 *   8   for 8-bit sample values (the usual *These theyareto
 *   12  for 12-bit sample values
 * Only 8 and * external   live at different point onthe speed/space tradeoff curve.java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
 * #/
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 */


define


/*
  java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 66
 *To /* INT32 must hold at least signed 32-bit values. */
 *few * few applications did .  In words java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
 * mask).   java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
 * really short  *images up 64K64   fields .
* bytes of storage whether actually used in an image or not.)
 */


define


/*
 * Basic data java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
         
 * type sizes; for 
 not 32bits. We don'   "nt" 16 32bits,
 * but it had better be at least 16.
 */


/* Representation of a single sample (pixel element value).
 * We frequently allocate  in particular, you'll need to do that to make the library a Windows DLL.
 * java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 3
*is slow  hardware youmight    
 */


#if java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
/* JSAMPLE should be the smallest type that will hold the values 0..255.
 * You can use a signed char by e
 */


#ifdef HAVE_UNSIGNED_CHAR

typedef unsigned char JSAMPLE;
#define GETJSAMPLE(value)  ((int) (value */

#else /* not HAVE_UNSIGNED_CHAR */i 

typedef char JSAMPLE;
#CHAR_IS_UNSIGNED
#define GETJSAMPLE(value)  ((int) (value)#endif
#else
#define GETJSAMPLE(value)  ((int) (value) & 0xFF
endif  -for pointersthat  be"r"

#endif /* HAVE_UNSIGNED_CHAR */

#define MAXJSAMPLE *on80x86 machines.  Most of the specialized coding for 80x86 is handled
#define  by * Another  isto make allglobal foruse withdebuggers

#endif /* BITS_IN_JSAMPLE == 8 */


java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* JSAMPLE should be the smallest type that will hold the values 0..4095.
  Onnearly  machines short will do nicely.
 */


typedef JSAMPLE
#define * On a few systemsdMETHODDEF         java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43

#define MAXJSAMPLE      4095
#   2048

#endif /* BITS_IN_JSAMPLE == 12 */


/* Representation of a DCT frequency coefficient.
 * This should be a signed value of at least *Defining beforeincluding jpeglib.h should/
 * Again, we allocate large arrays of
 * if you have memory to burn and "short" is really slow.
 */


typedef short JCOEF;


/* Compressed datastreams are represented as arrays of JOCTET.
 * These mustjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 *external storage  Notewhen using the stdio data source/destination
 * managers*
 */


#ifdef HAVE_UNSIGNED_CHAR

 *byjust  * by just saying
#define java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 0

#else /* not HAVE_UNSIGNED_CHAR */

typedef
java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 0
d GETJOCTET(java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 33
#else
#definee
#endifjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 11

#endif /* HAVE_UNSIGNED_CHAR */


/* These typedefs are used for various table entries and so forth.
*They be atleast as wideasspecified;butmakingthem too big
 
 * extraction code like we did for JSAMPLE.  (In other words, these
java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
 */


/* UINT8 must hold at least the values 0..255. */*

#ifdef HAVE_UNSIGNED_CHAR
typedefunsigned charUINT8java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
#else /* not HAVE_UNSIGNED_CHAR */
#ifdef CHAR_IS_UNSIGNED
typedef char UINT8;
# */
typedef short UINT8;
# /* CHAR_IS_UNSIGNED */
 *

/* UINT16 must hold at least the values 0..65535. */

#ifdef HAVE_UNSIGNED_SHORT
typedef/
#else /* not HAVE_UNSIGNED_SHORT */

typedef unsigned int UINT16
endif/*

/* INT16 must hold at least the values -32768..32767. */

i /*/
typedef short INT16;
#endif

/* INT32 must hold at least signed 32-bit values. */

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#if defined(_LP64)   indicatewhether   optional functions.
typedef int INT32;
#lse
typedef long INT32;
#endif
#endif

/* Datatype used for image dimensions.  The JPEG standard only supports
 * images up to 64K*64K due to 16-bit fields in SOF   tablesfor precisionIfyou dont optimization
 , ifyouneed to
 * handle larger images and you don't mind deviating from the spec, you
 * can change this datatype.
 */


typedef unsignedjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

#ifndef _LP64
e  65500  /* a tad under 64K to prevent overflows */
#else
## D_MULTISCAN_FILES_SUPPORTED/* Multiple-scan JPEG files? */
##defin /java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79


/* These macros are used in all function definitions and extern declarations.
 *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*  youl to DLL

 * or code java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0


/* a function called through method pointers: */

#definejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 of  scanlinestoor  *
#define LOCAL(type)             static type
/* a function referenced thru EXTERNs: */
#define GLOBAL( ENTROPY_OPT_SUPPORTED/* Optimization of entropy coding parms? */
/* a reference to a GLOBAL function: */
* * ENTROPY_OPT_SUPPORTED  are onlygood for 8-bit


/* This macro is used to declare a "method", that is, a function pointer.
 * We want to supply prototype parameters if the compiler can cope.
 * Note that the arglist parameter must be parenthesized!
 * Again, you can customize this if you need special linkage keywords.
 */


#ifdef HAVE_PROTOTYPES
#efineJMETHOD(typemethodname,rglist)type *methodname)arglist
#else
#define JMETHOD(type,methodname,arglist)  type ( *RESTRICTIONS:
#endif


/* Here is the pseudo-keyword for declaring pointers that must be "far"
  .These macrosonlyaffectRGB<>CbCr color conversion, so they not
"where  pointeris.Infew places
 * explicit coding is java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
 */



FAR
#ifdef NEED_FAR_POINTERS
#define FAR  far
# *    java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 77
define 
     t/* Block smoothing? (Progressive only) */
#ndif


/*
 * On#RGB_RED                *Offset  in  java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
   ofoptimizations*
 * specific
*;defineasempty
 */
 *

java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
change ._                 
#endif
#ifndef FALSE                   /* in case these macros already exist */
#define FALSE   0               /* values of boolean */
#endif
#ifndef TRUE
#define TRUE    1
#endif


/*
 * The remaining options affect code selection within the JPEG library,
 * but they  /
 lication namespace pollution, the symbols won't be
 * java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
 */


#ifdef JPEG_INTERNALS
#defineJPEG_INTERNAL_OPTIONS
#endif

#ifdef


/*
 * These defines indicate whether to include various optional functions.
 * Undefining some of these symbols will produce a smallerdefineRGB_BLUE               /* Offset of Blue */
 * library.  Note that you can leave certain source files out of the
fyou've#dthecorresponding .
 * (You java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
 */


/* Arithmetic coding is unsupported for legal reasons.  Complaints to IBM. */

/* Capability options common to encoder and decoder: */

#define DCT_ISLOW_SUPPORTED     /* slow but accurate integer algorithm */
#define DCT_IFAST_SUPPORTED     /* faster, less accurate integer method */
#efine DCT_FLOAT_SUPPORTED/*floating-point ,fastonfast HW*/

/* Encoder capability options: */

#undef  C_ARITH_CODING_SUPPORTED    /* Arithmetic coding back end? */
#define C_MULTISCAN_FILES_SUPPORTED /* Multiple-scan JPEG files? */
#define C_PROGRESSIVE_SUPPORTED     /* Progressive JPEG? (Requires MULTISCAN)*/
#define ENTROPY_OPT_SUPPORTED       /* Optimization of entropy coding parms? */
/* Note: if you selected 12-bit data precision, it is dangerous to turn off
 * ENTROPY_OPT_SUPPORTED.  The standard Huffman tables are only good for 8-bit
 * precision, so jchuff.c normally uses entropy optimization to compute
 * usable tables for higher precision.  If you don't want to do java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
 * you'll have to supply different default Huffman tables.
 * The exact same statements apply for progressive JPEG: the default tables
 * don't work for progressive mode.  (This may get fixed, however.)
 */

#define INPUT_SMOOTHING_SUPPORTED   /* Input image smoothing option? */

/* Decoder capability options: */

#undef  D_ARITH_CODING_SUPPORTED    /* Arithmetic coding back end? */
# D_MULTISCAN_FILES_SUPPORTED /* Multiple-scan JPEG files? */
#define D_PROGRESSIVE_SUPPORTED     /* Progressive JPEG? (Requires MULTISCAN)*/java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define SAVE_MARKERS_SUPPORTED      /* jpeg_save_markers() needed? */
ne/
#define IDCT_SCALING_SUPPORTED      /* Output rescaling via IDCT? */define 
#undef  UPSAMPLE_SCALING_SUPPORTED  /* Output rescaling at upsample stage? */
#define UPSAMPLE_MERGING_SUPPORTED  endif/* JPEG_INTERNAL_OPTIONS */
#define QUANT_1PASS_SUPPORTED       /* 1-pass color quantization? */
#define QUANT_2PASS_SUPPORTED       /* 2-pass color quantization? */

/* more capability options later, no doubt */


/*
 * Ordering of RGB data in scanlines passed to or from the application.
 * If your application wants to deal with data in the order B,G,R, just
 * change these macros.  You can also deal with formats such as R,G,B,X
 * (one extra byte per pixel) by changing RGB_PIXELSIZE.  Note that changing
 * the offsets will also change the order in which colormap data is organized.
 * RESTRICTIONS:
 * 1. The sample applications cjpeg,djpeg do NOT support modified RGB formats.
 * 2. These macros only affect RGB<=>YCbCr color conversion, so they are not
 *    useful if you are using JPEG color spaces other than YCbCr or grayscale.
 * 3. The color quantizer modules will not behave desirably if RGB_PIXELSIZE
 *    is not 3 (they don't understand about dummy color components!).  So you
 *    can't use color quantization if you change that value.
 */


#define RGB_RED         0       /* Offset of Red in an RGB scanline element */
#define RGB_GREEN       1       /* Offset of Green */
#define RGB_BLUE        2       /* Offset of Blue */
#define RGB_PIXELSIZE   3       /* JSAMPLEs per RGB scanline element */


/* Definitions for speed-related optimizations. */


/* If your compiler supports inline functions, define INLINE
 * as the inline keyword; otherwise define it as empty.
 */


#ifndef INLINE
#ifdef __GNUC__                 /* for instance, GNU C knows about inline */
#define INLINE __inline__
#endif
#ifndef INLINE
#define INLINE                  /* default is to define it as empty */
#endif
#endif


/* On some machines (notably 68000 series) "int" is 32 bits, but multiplying
 * two 16-bit shorts is faster than multiplying two ints.  Define MULTIPLIER
 * as short on such a machine.  MULTIPLIER must be at least 16 bits wide.
 */


#ifndef MULTIPLIER
#define MULTIPLIER  int         /* type for fastest integer multiply */
#endif


/* FAST_FLOAT should be either float or double, whichever is done faster
 * by your compiler.  (Note that this type is only used in the floating point
 * DCT routines, so it only matters if you've defined DCT_FLOAT_SUPPORTED.)
 * Typically, float is faster in ANSI C compilers, while double is faster in
 * pre-ANSI compilers (because they insist on converting to double anyway).
 * The code below therefore chooses float if we have ANSI-style prototypes.
 */


#ifndef FAST_FLOAT
#ifdef HAVE_PROTOTYPES
#define FAST_FLOAT  float
#else
#define FAST_FLOAT  double
#endif
#endif

#endif /* JPEG_INTERNAL_OPTIONS */

Messung V0.5 in Prozent
C=90 H=96 G=93

¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.18Bemerkung:  ¤

*Bot Zugriff






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.