From 52e16fb1be7929072c09e2fd989cd92246ae7b54 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 25 Feb 2021 15:27:01 +0100 Subject: 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. --- jpeg/jdct.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'jpeg/jdct.h') 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 -- cgit v1.2.3