Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Issue 1338973005: upgrade openjpeg to commit# cf352af (Closed)

Created:
5 years, 3 months ago by jun_fang
Modified:
3 years, 3 months ago
Reviewers:
Tom Sepez, Lei Zhang, npm
CC:
pdfium-reviews_googlegroups.com, kai_jing, steven_wu, rpop
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Merge the patch delivered in issue 71 #

Patch Set 3 : #

Patch Set 4 : Address comments #

Patch Set 5 : Separate patches #

Patch Set 6 : Replace 0000-use-colorspace.patch #

Total comments: 1

Patch Set 7 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1879 lines, -1210 lines) Patch
M third_party/libopenjpeg20/0000-use-colorspace.patch View 1 2 3 4 5 6 1 chunk +19 lines, -17 lines 0 comments Download
A third_party/libopenjpeg20/0001-image-data.patch View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/libopenjpeg20/0002-packet-iterator.patch View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
A third_party/libopenjpeg20/0003-dwt-decode.patch View 1 2 3 4 1 chunk +191 lines, -0 lines 0 comments Download
M third_party/libopenjpeg20/README.pdfium View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/libopenjpeg20/bio.c View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/libopenjpeg20/cio.h View 1 2 3 10 chunks +10 lines, -10 lines 0 comments Download
M third_party/libopenjpeg20/cio.c View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/libopenjpeg20/dwt.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/libopenjpeg20/dwt.c View 1 2 3 4 19 chunks +28 lines, -28 lines 1 comment Download
M third_party/libopenjpeg20/event.h View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/libopenjpeg20/function_list.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/libopenjpeg20/function_list.c View 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/libopenjpeg20/image.c View 3 chunks +20 lines, -16 lines 0 comments Download
M third_party/libopenjpeg20/indexbox_manager.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/libopenjpeg20/invert.c View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/libopenjpeg20/j2k.h View 1 2 3 5 chunks +22 lines, -3 lines 0 comments Download
M third_party/libopenjpeg20/j2k.c View 1 2 3 4 143 chunks +934 lines, -741 lines 0 comments Download
M third_party/libopenjpeg20/jp2.h View 1 2 3 2 chunks +1 line, -14 lines 0 comments Download
M third_party/libopenjpeg20/jp2.c View 1 2 3 50 chunks +286 lines, -128 lines 0 comments Download
M third_party/libopenjpeg20/mct.c View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/libopenjpeg20/mqc.c View 5 chunks +5 lines, -5 lines 0 comments Download
M third_party/libopenjpeg20/openjpeg.h View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M third_party/libopenjpeg20/openjpeg.c View 3 chunks +4 lines, -6 lines 0 comments Download
M third_party/libopenjpeg20/opj_includes.h View 1 2 3 1 chunk +39 lines, -7 lines 0 comments Download
M third_party/libopenjpeg20/opj_intmath.h View 1 2 3 4 chunks +27 lines, -2 lines 0 comments Download
M third_party/libopenjpeg20/opj_malloc.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/libopenjpeg20/pi.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/libopenjpeg20/pi.c View 1 2 3 16 chunks +16 lines, -16 lines 0 comments Download
M third_party/libopenjpeg20/t1.c View 38 chunks +60 lines, -70 lines 0 comments Download
M third_party/libopenjpeg20/t2.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/libopenjpeg20/t2.c View 29 chunks +53 lines, -45 lines 0 comments Download
M third_party/libopenjpeg20/tcd.h View 1 2 3 4 chunks +8 lines, -4 lines 0 comments Download
M third_party/libopenjpeg20/tcd.c View 34 chunks +53 lines, -60 lines 0 comments Download
M third_party/libopenjpeg20/tgt.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/libopenjpeg20/tgt.c View 5 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 20 (2 generated)
jun_fang
Hi Tom and Lei, Please start to review this upgrade for openjpeg.
5 years, 3 months ago (2015-09-14 08:43:02 UTC) #2
Tom Sepez
On 2015/09/14 08:43:02, jun_fang wrote: > Hi Tom and Lei, > > Please start to ...
5 years, 3 months ago (2015-09-14 15:53:41 UTC) #3
jun_fang
On 2015/09/14 15:53:41, Tom Sepez wrote: > On 2015/09/14 08:43:02, jun_fang wrote: > > Hi ...
5 years, 3 months ago (2015-09-15 03:38:07 UTC) #4
jun_fang
On 2015/09/15 03:38:07, jun_fang wrote: > On 2015/09/14 15:53:41, Tom Sepez wrote: > > On ...
5 years, 3 months ago (2015-09-15 03:45:33 UTC) #5
Tom Sepez
> The possible reason of the failure of applying patch may be that jp2.c has ...
5 years, 3 months ago (2015-09-15 16:56:09 UTC) #6
Tom Sepez
The idea, of course being that if we're lucky, merge conflicts will be rare and ...
5 years, 3 months ago (2015-09-15 16:57:51 UTC) #7
jun_fang
On 2015/09/15 16:57:51, Tom Sepez wrote: > The idea, of course being that if we're ...
5 years, 2 months ago (2015-09-29 13:23:43 UTC) #8
Tom Sepez
> Hi Tom and Lei, > > Please review patch 4. I uploaded a patch ...
5 years, 2 months ago (2015-09-29 15:12:28 UTC) #9
jun_fang
On 2015/09/29 15:12:28, Tom Sepez wrote: > > Hi Tom and Lei, > > > ...
5 years, 2 months ago (2015-10-08 12:25:08 UTC) #10
Tom Sepez
On 2015/10/08 12:25:08, jun_fang wrote: > On 2015/09/29 15:12:28, Tom Sepez wrote: > > > ...
5 years, 2 months ago (2015-10-08 18:18:38 UTC) #11
jun_fang
On 2015/10/08 18:18:38, Tom Sepez wrote: > On 2015/10/08 12:25:08, jun_fang wrote: > > On ...
5 years, 2 months ago (2015-10-09 03:05:17 UTC) #12
jun_fang
On 2015/10/09 03:05:17, jun_fang wrote: > On 2015/10/08 18:18:38, Tom Sepez wrote: > > On ...
5 years, 2 months ago (2015-10-09 13:02:03 UTC) #13
jun_fang
https://codereview.chromium.org/1338973005/diff/100001/third_party/libopenjpeg20/README.pdfium File third_party/libopenjpeg20/README.pdfium (right): https://codereview.chromium.org/1338973005/diff/100001/third_party/libopenjpeg20/README.pdfium#newcode14 third_party/libopenjpeg20/README.pdfium:14: 0002-packet-iterator.patch: Fix an integer overflow issue in opj_pi_create_decode(). please ...
5 years, 2 months ago (2015-10-09 13:52:02 UTC) #14
Tom Sepez
On 2015/10/09 13:52:02, jun_fang wrote: > https://codereview.chromium.org/1338973005/diff/100001/third_party/libopenjpeg20/README.pdfium > File third_party/libopenjpeg20/README.pdfium (right): > > https://codereview.chromium.org/1338973005/diff/100001/third_party/libopenjpeg20/README.pdfium#newcode14 > ...
5 years, 2 months ago (2015-10-09 15:50:53 UTC) #15
jun_fang
On 2015/10/09 15:50:53, Tom Sepez wrote: > On 2015/10/09 13:52:02, jun_fang wrote: > > > ...
5 years, 2 months ago (2015-10-10 09:49:22 UTC) #16
Tom Sepez
LGTM. Confirmed that the patches line up with cf352af.
5 years, 2 months ago (2015-10-12 15:48:00 UTC) #17
jun_fang
Committed patchset #7 (id:120001) manually as c212b684cb028a5d98e57f711c9eed931b853a44 (presubmit successful).
5 years, 2 months ago (2015-10-13 07:29:46 UTC) #18
npm
3 years, 3 months ago (2017-09-01 17:27:41 UTC) #20
Message was sent while issue was closed.
https://codereview.chromium.org/1338973005/diff/120001/third_party/libopenjpe...
File third_party/libopenjpeg20/dwt.c (right):

https://codereview.chromium.org/1338973005/diff/120001/third_party/libopenjpe...
third_party/libopenjpeg20/dwt.c:416: l_data_count =
opj_dwt_max_resolution(tilec->resolutions, tilec->numresolutions) *
(OPJ_UINT32)sizeof(OPJ_INT32);
This seems to be a mistake.

Powered by Google App Engine
This is Rietveld 408576698