summaryrefslogtreecommitdiff
path: root/jpeg/jdct.h
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-02-25 15:27:01 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-02-25 16:59:36 +0100
commit52e16fb1be7929072c09e2fd989cd92246ae7b54 (patch)
treeb76ac674ff0c292da276846523648a5ee64d6515 /jpeg/jdct.h
parent5bd467fa17be55397f433dddc065b57cbb7a0615 (diff)
Update bundled libs to current versions
- update README.bundled-libs.txt + some comments - update bundled jpeg lib from version 9c to 9d All bundled libs are now up-to-date. For current update status please see README.bundled-libs.txt.
Diffstat (limited to 'jpeg/jdct.h')
-rw-r--r--jpeg/jdct.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/jpeg/jdct.h b/jpeg/jdct.h
index bcfedfcfd..c8ec6cd90 100644
--- a/jpeg/jdct.h
+++ b/jpeg/jdct.h
@@ -2,7 +2,7 @@
* jdct.h
*
* Copyright (C) 1994-1996, Thomas G. Lane.
- * Modified 2002-2017 by Guido Vollbeding.
+ * Modified 2002-2019 by Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
@@ -358,13 +358,6 @@ EXTERN(void) jpeg_idct_1x2
#define FIX(x) ((INT32) ((x) * CONST_SCALE + 0.5))
-/* Descale and correctly round an INT32 value that's scaled by N bits.
- * We assume RIGHT_SHIFT rounds towards minus infinity, so adding
- * the fudge factor is correct for either sign of X.
- */
-
-#define DESCALE(x,n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n)
-
/* Multiply an INT32 variable by an INT32 constant to yield an INT32 result.
* This macro is used only when the two inputs will actually be no more than
* 16 bits wide, so that a 16x16->32 bit multiply can be used instead of a