FreeBSD Bugzilla – Attachment 161818 Details for
Bug 203634
graphics/jpeg-turbo: update to 1.4.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
update to 1.4.2
file_203634.txt (text/plain), 2.49 KB, created by
Piotr Kubaj
on 2015-10-08 08:08:22 UTC
(
hide
)
Description:
update to 1.4.2
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2015-10-08 08:08:22 UTC
Size:
2.49 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 398756) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= jpeg-turbo >-PORTVERSION= 1.4.1 >+PORTVERSION= 1.4.2 > PORTREVISION?= 0 > CATEGORIES= graphics > MASTER_SITES= SF/lib${PORTNAME}/${PORTVERSION} >Index: distinfo >=================================================================== >--- distinfo (revision 398756) >+++ distinfo (working copy) >@@ -1,2 +1,2 @@ >-SHA256 (libjpeg-turbo-1.4.1.tar.gz) = 4bf5bad4ce85625bffbbd9912211e06790e00fb982b77724af7211034efafb08 >-SIZE (libjpeg-turbo-1.4.1.tar.gz) = 1529614 >+SHA256 (libjpeg-turbo-1.4.2.tar.gz) = 521bb5d3043e7ac063ce3026d9a59cc2ab2e9636c655a2515af5f4706122233e >+SIZE (libjpeg-turbo-1.4.2.tar.gz) = 1569306 >Index: files/patch-jcdctmgr.c >=================================================================== >--- files/patch-jcdctmgr.c (revision 398756) >+++ files/patch-jcdctmgr.c (working copy) >@@ -1,41 +0,0 @@ >---- jcdctmgr.c.orig 2014-11-06 09:32:38 UTC >-+++ jcdctmgr.c >-@@ -6,7 +6,7 @@ >- * libjpeg-turbo Modifications: >- * Copyright (C) 1999-2006, MIYASAKA Masaru. >- * Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB >-- * Copyright (C) 2011, 2014 D. R. Commander >-+ * Copyright (C) 2011, 2014-2015 D. R. Commander >- * For conditions of distribution and use, see the accompanying README file. >- * >- * This file contains the forward-DCT management logic. >-@@ -175,6 +175,19 @@ compute_reciprocal (UINT16 divisor, DCTE >- UDCTELEM c; >- int b, r; >- >-+ if (divisor == 1) { >-+ /* divisor == 1 means unquantized, so these reciprocal/correction/shift >-+ * values will cause the C quantization algorithm to act like the >-+ * identity function. Since only the C quantization algorithm is used in >-+ * these cases, the scale value is irrelevant. >-+ */ >-+ dtbl[DCTSIZE2 * 0] = (DCTELEM) 1; /* reciprocal */ >-+ dtbl[DCTSIZE2 * 1] = (DCTELEM) 0; /* correction */ >-+ dtbl[DCTSIZE2 * 2] = (DCTELEM) 1; /* scale */ >-+ dtbl[DCTSIZE2 * 3] = (DCTELEM) (-sizeof(DCTELEM) * 8); /* shift */ >-+ return 0; >-+ } >-+ >- b = flss(divisor) - 1; >- r = sizeof(DCTELEM) * 8 + b; >- >-@@ -395,7 +408,8 @@ quantize (JCOEFPTR coef_block, DCTELEM * >- >- #if BITS_IN_JSAMPLE == 8 >- >-- UDCTELEM recip, corr, shift; >-+ UDCTELEM recip, corr; >-+ int shift; >- UDCTELEM2 product; >- >- for (i = 0; i < DCTSIZE2; i++) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 203634
: 161818