Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 254069 Details for
Bug 345195
Bug in libecwj2-3.3 on Linux 64 bits
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for libecwj2-3.3
libecwj2-3.3-resolution.patch (text/plain), 1.20 KB, created by
Jean-Claude Repetto
on 2010-11-12 09:47:14 UTC
(
hide
)
Description:
Patch for libecwj2-3.3
Filename:
MIME Type:
Creator:
Jean-Claude Repetto
Created:
2010-11-12 09:47:14 UTC
Size:
1.20 KB
patch
obsolete
>diff -ur libecwj2-3.3-clean/Source/C/NCSEcw/NCSJP2/NCSJPCResolution.cpp libecwj2-3.3-new/Source/C/NCSEcw/NCSJP2/NCSJPCResolution.cpp >--- libecwj2-3.3-clean/Source/C/NCSEcw/NCSJP2/NCSJPCResolution.cpp 2006-07-03 10:15:12.000000000 -0500 >+++ libecwj2-3.3-new/Source/C/NCSEcw/NCSJP2/NCSJPCResolution.cpp 2008-12-10 08:58:47.000000000 -0600 >@@ -1773,11 +1773,11 @@ > //Step0-1 == 2State. > // > >- UINT32 n = 0; >+ INT32 n = 0; > nWidth = NCSCeilDiv(nWidth, 2); > >- UINT32 n2n = n * 2 - 2; >- >+ INT32 n2n = n * 2 - 2; >+ > INT32 nPrevVert01 = pSrc1Down[n2n] - NCSFloorDiv(pSrc0[n2n] + pSrc2Down[n2n], 2); > INT32 nPrevVert11 = pSrc1Down[n2n+1] - NCSFloorDiv(pSrc0[n2n+1] + pSrc2Down[n2n+1], 2); > INT32 nPrevVert00 = pSrc0[n2n] + NCSFloorDiv(pSrc1Up[n2n] - NCSFloorDiv(pSrc2Up[n2n] + pSrc0[n2n], 2) + nPrevVert01 + 2, 4); >@@ -1788,7 +1788,7 @@ > INT32 nVert01 = pSrc1Down[n2n] - NCSFloorDiv(pSrc0[n2n] + pSrc2Down[n2n], 2); > INT32 nVert00 = pSrc0[n2n] + NCSFloorDiv(pSrc1Up[n2n] - NCSFloorDiv(pSrc2Up[n2n] + pSrc0[n2n], 2) + nVert01 + 2, 4); > >- for(; n < nWidth; n++) { >+ for(; n < (INT32)nWidth; n++) { > n2n = 2 * n; > > INT32 nVert11 = pSrc1Down[n2n+1] - NCSFloorDiv(pSrc0[n2n+1] + pSrc2Down[n2n+1], 2); >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 345195
: 254069 |
254071