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

Issue 292663011: Simple PKM image decoder. (Closed)

Created:
6 years, 7 months ago by krajcevski
Modified:
6 years, 6 months ago
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Simple PKM image decoder. This decoder takes a PKM file as produced by the android SDK tool 'etc1tool'. It then decodes the file using the same software used to create the ETC1 encoding from the AOSP. Hal: Image Decoder Eric: gyp includes

Patch Set 1 #

Total comments: 38

Patch Set 2 : Code review changes #

Patch Set 3 : Comment cleanup. #

Total comments: 2

Patch Set 4 : Move etc1 code to third_party #

Total comments: 2

Patch Set 5 : Add gyp target name #

Total comments: 2

Patch Set 6 : Coalesce function definition with brace #

Patch Set 7 : Resync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+961 lines, -17 lines) Patch
A + gm/etc1bitmap.cpp View 1 3 chunks +17 lines, -17 lines 0 comments Download
A gyp/etc1.gyp View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M gyp/gmslides.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M gyp/images.gyp View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M include/core/SkImageDecoder.h View 2 chunks +2 lines, -0 lines 0 comments Download
A resources/mandrill_512.pkm View Binary file 0 comments Download
M src/images/SkForceLinking.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/images/SkImageDecoder.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
A src/images/SkImageDecoder_pkm.cpp View 1 2 3 4 5 1 chunk +122 lines, -0 lines 0 comments Download
M tests/ImageDecodingTest.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
A third_party/etc1/etc1.h View 1 2 3 1 chunk +114 lines, -0 lines 0 comments Download
A third_party/etc1/etc1.cpp View 1 2 3 1 chunk +678 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
krajcevski
6 years, 7 months ago (2014-05-22 14:27:15 UTC) #1
robertphillips
https://codereview.chromium.org/292663011/diff/1/gm/etc1bitmap.cpp File gm/etc1bitmap.cpp (right): https://codereview.chromium.org/292663011/diff/1/gm/etc1bitmap.cpp#newcode1 gm/etc1bitmap.cpp:1: /* 2014 https://codereview.chromium.org/292663011/diff/1/gm/etc1bitmap.cpp#newcode15 gm/etc1bitmap.cpp:15: /** Update comment. https://codereview.chromium.org/292663011/diff/1/gm/etc1bitmap.cpp#newcode22 gm/etc1bitmap.cpp:22: ...
6 years, 7 months ago (2014-05-22 14:41:34 UTC) #2
krajcevski
https://codereview.chromium.org/292663011/diff/1/gm/etc1bitmap.cpp File gm/etc1bitmap.cpp (right): https://codereview.chromium.org/292663011/diff/1/gm/etc1bitmap.cpp#newcode1 gm/etc1bitmap.cpp:1: /* On 2014/05/22 14:41:35, robertphillips wrote: > 2014 Done. ...
6 years, 7 months ago (2014-05-22 15:32:17 UTC) #3
hal.canary
https://codereview.chromium.org/292663011/diff/30001/third_party/externals/etc1/etc1.h File third_party/externals/etc1/etc1.h (right): https://codereview.chromium.org/292663011/diff/30001/third_party/externals/etc1/etc1.h#newcode1 third_party/externals/etc1/etc1.h:1: // Copyright 2009 Google Inc. Should be third_party/etc1 if ...
6 years, 7 months ago (2014-05-22 15:44:37 UTC) #4
krajcevski
https://codereview.chromium.org/292663011/diff/30001/third_party/externals/etc1/etc1.h File third_party/externals/etc1/etc1.h (right): https://codereview.chromium.org/292663011/diff/30001/third_party/externals/etc1/etc1.h#newcode1 third_party/externals/etc1/etc1.h:1: // Copyright 2009 Google Inc. On 2014/05/22 15:44:37, Hal ...
6 years, 7 months ago (2014-05-22 16:14:35 UTC) #5
hal.canary
Image Decoder LGTM.
6 years, 7 months ago (2014-05-22 16:23:23 UTC) #6
robertphillips
General stuff - lgtm.
6 years, 7 months ago (2014-05-22 17:25:12 UTC) #7
borenet
GYP LGTM https://codereview.chromium.org/292663011/diff/50001/gyp/images.gyp File gyp/images.gyp (right): https://codereview.chromium.org/292663011/diff/50001/gyp/images.gyp#newcode12 gyp/images.gyp:12: 'etc1.gyp:*', Not a big deal, but you ...
6 years, 7 months ago (2014-05-22 17:26:19 UTC) #8
reed1
lgtm https://codereview.chromium.org/292663011/diff/70001/src/images/SkImageDecoder_pkm.cpp File src/images/SkImageDecoder_pkm.cpp (right): https://codereview.chromium.org/292663011/diff/70001/src/images/SkImageDecoder_pkm.cpp#newcode34 src/images/SkImageDecoder_pkm.cpp:34: { nit: function(params) {
6 years, 7 months ago (2014-05-22 17:46:23 UTC) #9
krajcevski
https://codereview.chromium.org/292663011/diff/50001/gyp/images.gyp File gyp/images.gyp (right): https://codereview.chromium.org/292663011/diff/50001/gyp/images.gyp#newcode12 gyp/images.gyp:12: 'etc1.gyp:*', On 2014/05/22 17:26:19, borenet wrote: > Not a ...
6 years, 7 months ago (2014-05-22 17:52:56 UTC) #10
krajcevski
The CQ bit was checked by krajcevski@google.com
6 years, 7 months ago (2014-05-22 17:53:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/krajcevski@google.com/292663011/80001
6 years, 7 months ago (2014-05-22 17:53:32 UTC) #12
krajcevski
The CQ bit was checked by krajcevski@google.com
6 years, 7 months ago (2014-05-22 18:08:59 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/krajcevski@google.com/292663011/100001
6 years, 7 months ago (2014-05-22 18:09:38 UTC) #14
robertphillips
committed manually as r14852 since code review seemed to be having trouble with the addition ...
6 years, 7 months ago (2014-05-22 18:41:12 UTC) #15
robertphillips
The pkm finally made it in in r14858.
6 years, 7 months ago (2014-05-22 21:29:43 UTC) #16
robertphillips
6 years, 6 months ago (2014-06-03 19:21:32 UTC) #17
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698