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

Issue 12604006: Upstream Android modifications to the image encoders/decoders. (Closed)

Created:
7 years, 9 months ago by djsollen
Modified:
7 years, 9 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Upstream Android modifications to the image encoders/decoders. This CL does not update the libjpeg as that change is large enough to warrant its own CL. Committed: http://code.google.com/p/skia/source/detail?r=8155

Patch Set 1 #

Total comments: 47

Patch Set 2 : small fixes #

Patch Set 3 : addressing robert's comments #

Total comments: 48

Patch Set 4 : webp changes #

Patch Set 5 : add INHERITED #

Patch Set 6 : update png #

Total comments: 66

Patch Set 7 : more png fixes #

Patch Set 8 : minor fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1539 lines, -191 lines) Patch
M DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M gyp/images.gyp View 2 chunks +6 lines, -1 line 0 comments Download
A gyp/libwebp.gyp View 1 chunk +174 lines, -0 lines 0 comments Download
A include/images/SkBitmapRegionDecoder.h View 1 2 3 4 5 6 1 chunk +54 lines, -0 lines 0 comments Download
M include/images/SkImageDecoder.h View 1 2 3 4 5 6 7 8 chunks +84 lines, -4 lines 0 comments Download
M include/images/SkImageEncoder.h View 2 chunks +3 lines, -1 line 0 comments Download
A src/images/SkBitmapRegionDecoder.cpp View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M src/images/SkImageDecoder.cpp View 1 2 3 4 5 6 7 5 chunks +78 lines, -6 lines 0 comments Download
M src/images/SkImageDecoder_libbmp.cpp View 1 2 3 4 2 chunks +14 lines, -4 lines 0 comments Download
M src/images/SkImageDecoder_libgif.cpp View 1 2 3 4 2 chunks +15 lines, -5 lines 0 comments Download
M src/images/SkImageDecoder_libico.cpp View 1 2 3 4 2 chunks +11 lines, -10 lines 0 comments Download
M src/images/SkImageDecoder_libpng.cpp View 1 2 3 4 5 6 7 18 chunks +474 lines, -154 lines 0 comments Download
A src/images/SkImageDecoder_libwebp.cpp View 1 2 3 4 1 chunk +595 lines, -0 lines 0 comments Download
M src/images/SkImageDecoder_wbmp.cpp View 1 2 3 4 2 chunks +16 lines, -6 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
djsollen
7 years, 9 months ago (2013-03-11 17:43:25 UTC) #1
djsollen
https://codereview.chromium.org/12604006/diff/1/DEPS File DEPS (right): https://codereview.chromium.org/12604006/diff/1/DEPS#newcode18 DEPS:18: "third_party/externals/libwebp" : "http://src.chromium.org/svn/trunk/src/third_party/libwebp@186718", need to add this to svn::internals ...
7 years, 9 months ago (2013-03-11 17:47:23 UTC) #2
robertphillips
Made it halfway through https://codereview.chromium.org/12604006/diff/1/include/images/SkBitmapRegionDecoder.h File include/images/SkBitmapRegionDecoder.h (right): https://codereview.chromium.org/12604006/diff/1/include/images/SkBitmapRegionDecoder.h#newcode1 include/images/SkBitmapRegionDecoder.h:1: /* Is this the right ...
7 years, 9 months ago (2013-03-11 18:25:55 UTC) #3
djsollen
https://codereview.chromium.org/12604006/diff/1/include/images/SkBitmapRegionDecoder.h File include/images/SkBitmapRegionDecoder.h (right): https://codereview.chromium.org/12604006/diff/1/include/images/SkBitmapRegionDecoder.h#newcode1 include/images/SkBitmapRegionDecoder.h:1: /* On 2013/03/11 18:25:55, robertphillips wrote: > Is this ...
7 years, 9 months ago (2013-03-11 19:43:23 UTC) #4
robertphillips
Here's some more. https://codereview.chromium.org/12604006/diff/13001/src/images/SkImageDecoder_libwebp.cpp File src/images/SkImageDecoder_libwebp.cpp (right): https://codereview.chromium.org/12604006/diff/13001/src/images/SkImageDecoder_libwebp.cpp#newcode61 src/images/SkImageDecoder_libwebp.cpp:61: // Parse headers of RIFF container, ...
7 years, 9 months ago (2013-03-11 20:10:16 UTC) #5
djsollen
https://codereview.chromium.org/12604006/diff/13001/src/images/SkImageDecoder_libwebp.cpp File src/images/SkImageDecoder_libwebp.cpp (right): https://codereview.chromium.org/12604006/diff/13001/src/images/SkImageDecoder_libwebp.cpp#newcode62 src/images/SkImageDecoder_libwebp.cpp:62: static bool webp_parse_header(SkStream* stream, int* width, int* height, On ...
7 years, 9 months ago (2013-03-12 15:52:31 UTC) #6
robertphillips
first batch https://codereview.chromium.org/12604006/diff/25001/include/images/SkBitmapRegionDecoder.h File include/images/SkBitmapRegionDecoder.h (right): https://codereview.chromium.org/12604006/diff/25001/include/images/SkBitmapRegionDecoder.h#newcode40 include/images/SkBitmapRegionDecoder.h:40: bool decodeRegion(SkBitmap* bitmap, const SkIRect& rect, remove ...
7 years, 9 months ago (2013-03-13 13:41:29 UTC) #7
robertphillips
https://codereview.chromium.org/12604006/diff/25001/src/images/SkImageDecoder_libwebp.cpp File src/images/SkImageDecoder_libwebp.cpp (right): https://codereview.chromium.org/12604006/diff/25001/src/images/SkImageDecoder_libwebp.cpp#newcode57 src/images/SkImageDecoder_libwebp.cpp:57: k prefix? g prefix? https://codereview.chromium.org/12604006/diff/25001/src/images/SkImageDecoder_libwebp.cpp#newcode117 src/images/SkImageDecoder_libwebp.cpp:117: private: members first? ...
7 years, 9 months ago (2013-03-13 13:55:14 UTC) #8
robertphillips
l okay tm
7 years, 9 months ago (2013-03-13 13:55:44 UTC) #9
robertphillips
I think we should also create an issue to add more testing for image decoding/encoding ...
7 years, 9 months ago (2013-03-13 15:18:24 UTC) #10
djsollen
https://codereview.chromium.org/12604006/diff/25001/include/images/SkBitmapRegionDecoder.h File include/images/SkBitmapRegionDecoder.h (right): https://codereview.chromium.org/12604006/diff/25001/include/images/SkBitmapRegionDecoder.h#newcode40 include/images/SkBitmapRegionDecoder.h:40: bool decodeRegion(SkBitmap* bitmap, const SkIRect& rect, On 2013/03/13 13:41:29, ...
7 years, 9 months ago (2013-03-13 16:02:48 UTC) #11
scroggo
I think Robert did a more thorough read through, but I agree with his comments ...
7 years, 9 months ago (2013-03-13 16:04:14 UTC) #12
djsollen
https://codereview.chromium.org/12604006/diff/25001/include/images/SkBitmapRegionDecoder.h File include/images/SkBitmapRegionDecoder.h (right): https://codereview.chromium.org/12604006/diff/25001/include/images/SkBitmapRegionDecoder.h#newcode26 include/images/SkBitmapRegionDecoder.h:26: class SkBitmapRegionDecoder { I don't want to change class ...
7 years, 9 months ago (2013-03-13 17:35:09 UTC) #13
reed1
Likely we will want to iterate on the api, which will mean making changes to ...
7 years, 9 months ago (2013-03-13 20:05:19 UTC) #14
reed1
one small example: bitmapREGIONdecoder is a bad re-use of the word region.
7 years, 9 months ago (2013-03-13 20:05:45 UTC) #15
djsollen
On 2013/03/13 20:05:45, reed1 wrote: > one small example: bitmapREGIONdecoder is a bad re-use of ...
7 years, 9 months ago (2013-03-14 14:03:34 UTC) #16
reed1
lgtm
7 years, 9 months ago (2013-03-14 14:33:17 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/djsollen@google.com/12604006/38001
7 years, 9 months ago (2013-03-14 14:42:05 UTC) #18
commit-bot: I haz the power
7 years, 9 months ago (2013-03-14 14:42:23 UTC) #19
Message was sent while issue was closed.
Change committed as 8155

Powered by Google App Engine
This is Rietveld 408576698