• Home
  • Raw
  • Download

Lines Matching +full:int16 +full:- +full:array

5  * Copyright (C) 1994-1996, Thomas G. Lane.
6 * libjpeg-turbo Modifications:
15 * machine-dependent tuning (e.g., assembly coding).
21 * the DCT is to be performed in-place in that buffer. Type DCTELEM is int
22 * for 8-bit samples, JLONG for 12-bit samples. (NOTE: Floating-point DCT
23 * implementations use an array of type FAST_FLOAT, instead.)
24 * The DCT inputs are expected to be signed (range +-CENTERJSAMPLE).
26 * have a range of +-8K for 8-bit data, +-128K for 12-bit data. This
28 * work in floating-point ones.
51 * to an output sample array. The routine must dequantize the input data as
53 * pointed to by compptr->dct_table. The output data is to be placed into the
54 * sample array starting at a specified column. (Any row offset needed will
55 * be applied to the array pointer before it is passed to the IDCT code.)
78 * Each IDCT routine is responsible for range-limiting its results and
81 * range-limiting step is required. We use a mask-and-table-lookup method
86 #define IDCT_range_limit(cinfo) ((cinfo)->sample_range_limit + CENTERJSAMPLE)
154 * Macros for handling fixed-point arithmetic; these are used by many
168 * thus causing a lot of useless floating-point operations at run time.
178 #define DESCALE(x, n) RIGHT_SHIFT((x) + (ONE << ((n) - 1)), n)
182 * 16 bits wide, so that a 16x16->32 bit multiply can be used instead of a
184 * Unfortunately there is no way to specify a 16x16->32 multiply portably
190 #define MULTIPLY16C16(var, const) (((INT16)(var)) * ((INT16)(const)))
193 #define MULTIPLY16C16(var, const) (((INT16)(var)) * ((JLONG)(const)))
203 #define MULTIPLY16V16(var1, var2) (((INT16)(var1)) * ((INT16)(var2)))