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

Issue 1212373006: Swizzling, except for premultiplying, done using libpng transforms (Closed)

Created:
5 years, 5 months ago by emmaleer
Modified:
5 years, 3 months ago
Reviewers:
msarett, scroggo, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Swizzling, except for premultiplying, done using libpng transforms As libpng transforms allow you to choose the format of the data, these transforms are replacing the swizzling, except for premultiplying The swizzler is still needed to premultiply as libpng does not have that ability BUG=skia:

Patch Set 1 #

Total comments: 54

Patch Set 2 : fixing size of row allocation, member variable initialization, and synax issues #

Total comments: 8

Patch Set 3 : Removing changes from SkMallocPixelRef #

Patch Set 4 : Removing changes from SkMallocPixelRef #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -96 lines) Patch
M src/codec/SkCodec_libpng.h View 1 chunk +9 lines, -3 lines 0 comments Download
M src/codec/SkCodec_libpng.cpp View 1 2 13 chunks +135 lines, -93 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
emmaleer
5 years, 5 months ago (2015-06-30 13:29:01 UTC) #2
reed1
https://codereview.chromium.org/1212373006/diff/1/src/codec/SkCodec_libpng.cpp File src/codec/SkCodec_libpng.cpp (right): https://codereview.chromium.org/1212373006/diff/1/src/codec/SkCodec_libpng.cpp#newcode410 src/codec/SkCodec_libpng.cpp:410: // Allow output to RGBA from any type of ...
5 years, 5 months ago (2015-06-30 13:51:01 UTC) #4
reed1
What is the effect of this? - faster, slower? - different quality?
5 years, 5 months ago (2015-06-30 13:53:17 UTC) #5
scroggo
Please add BUG=skia:3954 to the description. > The swizzler is still needed to premultiply as ...
5 years, 5 months ago (2015-06-30 15:38:38 UTC) #6
emmaleer
Mike, the idea is to utilize libpng's transforms to do the swizzling, rather than swizzling ...
5 years, 5 months ago (2015-06-30 20:00:11 UTC) #7
emmaleer
https://codereview.chromium.org/1212373006/diff/1/src/codec/SkCodec_libpng.cpp File src/codec/SkCodec_libpng.cpp (right): https://codereview.chromium.org/1212373006/diff/1/src/codec/SkCodec_libpng.cpp#newcode217 src/codec/SkCodec_libpng.cpp:217: png_infop* info_ptrp, SkImageInfo* imageInfo, int bitDepth) { On 2015/06/30 ...
5 years, 5 months ago (2015-06-30 20:13:42 UTC) #8
scroggo
https://codereview.chromium.org/1212373006/diff/1/src/codec/SkCodec_libpng.cpp File src/codec/SkCodec_libpng.cpp (right): https://codereview.chromium.org/1212373006/diff/1/src/codec/SkCodec_libpng.cpp#newcode410 src/codec/SkCodec_libpng.cpp:410: // Allow output to RGBA from any type of ...
5 years, 5 months ago (2015-06-30 20:50:04 UTC) #9
scroggo
5 years, 3 months ago (2015-08-28 13:33:47 UTC) #10
Closing this issue for now. The idea is still tracked in skbug.com/3954, which
has a link to this CL for reference.

Powered by Google App Engine
This is Rietveld 408576698