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

Issue 1520403003: Prototype of RAW decoding in Skia. (Closed)

Created:
5 years ago by yujieqin
Modified:
4 years, 11 months ago
Reviewers:
msarett, scroggo, adaubert
CC:
ebrauer, kinan, jaesung
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 : Initial upload of the Prototype. #

Total comments: 36

Patch Set 2 : Addrees comments from current & old CLs #

Total comments: 48

Patch Set 3 : Address new comments #

Patch Set 4 : Merge the change for DEPS #

Total comments: 8

Patch Set 5 : Implement SkRawStream. Fixed new comments #

Total comments: 38

Patch Set 6 : * Add DNG scaling. * Adress all comments. #

Total comments: 57

Patch Set 7 : Address comments #

Total comments: 13

Patch Set 8 : Address comments #

Patch Set 9 : Revert unnecessary changes #

Patch Set 10 : Address Comments #

Total comments: 31

Patch Set 11 : Change the scaling logic for DNG. Address comments. #

Total comments: 30

Patch Set 12 : Improve render(). Address comments. #

Patch Set 13 : Change the DEPS for PIEX to use AOSP #

Patch Set 14 : Small fix on render() #

Total comments: 45

Patch Set 15 : Add test, address comments #

Total comments: 4

Patch Set 16 : More comments. #

Patch Set 17 : Fix .gyp(s) #

Patch Set 18 : Fix the TODO for XTrans images at scale > 0.5. #

Patch Set 19 : Small fix on code #

Patch Set 20 : Small fix #

Total comments: 21

Patch Set 21 : Address comments #

Patch Set 22 : Fix bug in transferBuffer. #

Total comments: 58

Patch Set 23 : Address comments #

Total comments: 4

Patch Set 24 : Rebase the code #

Patch Set 25 : Address comments solved by rebase #

Total comments: 2

Patch Set 26 : Address comments #

Total comments: 4

Patch Set 27 : Address comments #

Patch Set 28 : Rebase #

Total comments: 4

Patch Set 29 : Fix DM #

Patch Set 30 : Fix test #

Patch Set 31 : Fix test and fix the multiple calls for onGetPixels #

Patch Set 32 : Fix compile issues #

Patch Set 33 : Fix compiler issues #

Patch Set 34 : Disable ::posix_memalign() in DNG SDK #

Patch Set 35 : Disable ::posix_memalign() in gyp/dng_sdk.gyp #

Patch Set 36 : Set big endian explicitly for arm #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1124 lines, -2 lines) Patch
M DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +3 lines, -0 lines 0 comments Download
M dm/DM.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 4 chunks +22 lines, -2 lines 0 comments Download
M gyp/android_deps.gyp View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
M gyp/codec.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +57 lines, -0 lines 0 comments Download
M gyp/common_variables.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +5 lines, -0 lines 0 comments Download
A gyp/dng_sdk.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +282 lines, -0 lines 0 comments Download
A gyp/piex.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +103 lines, -0 lines 0 comments Download
M include/codec/SkEncodedFormat.h View 1 chunk +1 line, -0 lines 0 comments Download
A resources/sample_1mp.dng View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Binary file 0 comments Download
M src/codec/SkAndroidCodec.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +7 lines, -0 lines 0 comments Download
M src/codec/SkCodec.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +8 lines, -0 lines 0 comments Download
A src/codec/SkRawAdapterCodec.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +42 lines, -0 lines 0 comments Download
A src/codec/SkRawAdapterCodec.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +30 lines, -0 lines 0 comments Download
A src/codec/SkRawCodec.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +60 lines, -0 lines 0 comments Download
A src/codec/SkRawCodec.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +475 lines, -0 lines 0 comments Download
M tests/CodexTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 129 (35 generated)
djsollen
https://codereview.chromium.org/1520403003/diff/1/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1520403003/diff/1/dm/DM.cpp#newcode491 dm/DM.cpp:491: "JPG", "JPEG", "PNG", "WEBP", "ARW", "CR2", "DNG", "NEF", "NRW", ...
5 years ago (2015-12-16 20:35:34 UTC) #4
scroggo
I haven't looked over this whole CL in depth. It looks to be very similar ...
5 years ago (2015-12-18 15:56:27 UTC) #6
msarett
Haven't looked over SkRawCodec.cpp in depth yet. https://codereview.chromium.org/1520403003/diff/1/src/codec/SkCodec.cpp File src/codec/SkCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/1/src/codec/SkCodec.cpp#newcode91 src/codec/SkCodec.cpp:91: // Try ...
5 years ago (2015-12-18 16:26:13 UTC) #8
scroggo
https://codereview.chromium.org/1520403003/diff/1/src/codec/SkCodec.cpp File src/codec/SkCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/1/src/codec/SkCodec.cpp#newcode91 src/codec/SkCodec.cpp:91: // Try read more for RAW cases. On 2015/12/18 ...
5 years ago (2015-12-18 16:47:06 UTC) #9
yujieqin
We got a new patch set 2, which hopefully addressed all comments from current & ...
4 years, 11 months ago (2016-01-06 18:45:44 UTC) #10
yujieqin
We got a new patch set 2, which hopefully addressed all comments from current & ...
4 years, 11 months ago (2016-01-06 18:47:19 UTC) #11
scroggo
https://codereview.chromium.org/1520403003/diff/20001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1520403003/diff/20001/dm/DM.cpp#newcode518 dm/DM.cpp:518: "bmp", "gif", "jpg", "jpeg", "png", "webp", "ktx", "astc", "wbmp", ...
4 years, 11 months ago (2016-01-06 22:30:21 UTC) #12
msarett
https://codereview.chromium.org/1520403003/diff/20001/gyp/codec.gyp File gyp/codec.gyp (right): https://codereview.chromium.org/1520403003/diff/20001/gyp/codec.gyp#newcode74 gyp/codec.gyp:74: 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', We ought to start building libjpeg-turbo as a ...
4 years, 11 months ago (2016-01-06 22:50:25 UTC) #13
adaubert
https://codereview.chromium.org/1520403003/diff/20001/gyp/codec.gyp File gyp/codec.gyp (right): https://codereview.chromium.org/1520403003/diff/20001/gyp/codec.gyp#newcode74 gyp/codec.gyp:74: 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', On 2016/01/06 22:50:24, msarett wrote: > We ought ...
4 years, 11 months ago (2016-01-07 08:28:41 UTC) #14
ebrauer
https://codereview.chromium.org/1520403003/diff/20001/gyp/piex.gyp File gyp/piex.gyp (right): https://codereview.chromium.org/1520403003/diff/20001/gyp/piex.gyp#newcode35 gyp/piex.gyp:35: '../third_party/externals/piex/src/tiff_parser.cc', On 2016/01/06 22:30:20, scroggo wrote: > This supports ...
4 years, 11 months ago (2016-01-07 09:05:17 UTC) #16
yujieqin
https://codereview.chromium.org/1520403003/diff/20001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1520403003/diff/20001/dm/DM.cpp#newcode518 dm/DM.cpp:518: "bmp", "gif", "jpg", "jpeg", "png", "webp", "ktx", "astc", "wbmp", ...
4 years, 11 months ago (2016-01-07 09:22:26 UTC) #17
yujieqin
https://codereview.chromium.org/1520403003/diff/20001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1520403003/diff/20001/dm/DM.cpp#newcode518 dm/DM.cpp:518: "bmp", "gif", "jpg", "jpeg", "png", "webp", "ktx", "astc", "wbmp", ...
4 years, 11 months ago (2016-01-07 09:22:27 UTC) #18
scroggo
https://codereview.chromium.org/1520403003/diff/20001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/20001/src/codec/SkRawCodec.cpp#newcode177 src/codec/SkRawCodec.cpp:177: SkDngStream dngStream(fDngLength, fDngStorage); On 2016/01/07 at 09:22:26, yujieqin wrote: ...
4 years, 11 months ago (2016-01-07 13:53:20 UTC) #19
yujieqin
PTAL https://codereview.chromium.org/1520403003/diff/20001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/20001/src/codec/SkRawCodec.cpp#newcode177 src/codec/SkRawCodec.cpp:177: SkDngStream dngStream(fDngLength, fDngStorage); On 2016/01/07 13:53:20, scroggo wrote: ...
4 years, 11 months ago (2016-01-07 15:52:02 UTC) #20
msarett
https://codereview.chromium.org/1520403003/diff/20001/gyp/codec.gyp File gyp/codec.gyp (right): https://codereview.chromium.org/1520403003/diff/20001/gyp/codec.gyp#newcode74 gyp/codec.gyp:74: 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', On 2016/01/07 08:28:41, adaubert wrote: > On 2016/01/06 ...
4 years, 11 months ago (2016-01-07 16:39:11 UTC) #21
scroggo
(Sorry, I thought I sent this earlier...) https://codereview.chromium.org/1520403003/diff/60002/gyp/codec.gyp File gyp/codec.gyp (right): https://codereview.chromium.org/1520403003/diff/60002/gyp/codec.gyp#newcode79 gyp/codec.gyp:79: '-DSK_CODEC_DECODES_RAW', This ...
4 years, 11 months ago (2016-01-07 20:57:43 UTC) #22
yujieqin
* Add DNG scaling: now the DNG image could be rendered earlier when the onGetScaledDimensions() ...
4 years, 11 months ago (2016-01-08 14:00:12 UTC) #23
msarett
https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp#newcode232 src/codec/SkRawCodec.cpp:232: return new SkRawCodec(imageInfo, rawStream.detach(), host.release(), info.release(), negative.release()); nit: Line ...
4 years, 11 months ago (2016-01-08 14:38:34 UTC) #24
scroggo
https://codereview.chromium.org/1520403003/diff/60002/gyp/codec.gyp File gyp/codec.gyp (right): https://codereview.chromium.org/1520403003/diff/60002/gyp/codec.gyp#newcode79 gyp/codec.gyp:79: '-DSK_CODEC_DECODES_RAW', On 2016/01/08 14:00:12, yujieqin wrote: > So we ...
4 years, 11 months ago (2016-01-08 17:12:26 UTC) #25
scroggo
https://codereview.chromium.org/1520403003/diff/90001/src/core/SkStream.cpp File src/core/SkStream.cpp (right): https://codereview.chromium.org/1520403003/diff/90001/src/core/SkStream.cpp#newcode968 src/core/SkStream.cpp:968: // TODO: optimize for the special case when the ...
4 years, 11 months ago (2016-01-08 19:11:49 UTC) #26
yujieqin
https://codereview.chromium.org/1520403003/diff/60002/gyp/codec.gyp File gyp/codec.gyp (right): https://codereview.chromium.org/1520403003/diff/60002/gyp/codec.gyp#newcode79 gyp/codec.gyp:79: '-DSK_CODEC_DECODES_RAW', On 2016/01/08 17:12:25, scroggo wrote: > On 2016/01/08 ...
4 years, 11 months ago (2016-01-11 14:03:08 UTC) #27
scroggo
https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp#newcode74 src/codec/SkRawCodec.cpp:74: dng_image* render_dng_for_prefered_size(const int prefered_size, dng_stream* stream, Can you add ...
4 years, 11 months ago (2016-01-11 17:44:03 UTC) #28
adaubert
https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp#newcode241 src/codec/SkRawCodec.cpp:241: if (!fDngImage) { On 2016/01/11 17:44:02, scroggo wrote: > ...
4 years, 11 months ago (2016-01-11 17:57:05 UTC) #29
msarett
https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp#newcode241 src/codec/SkRawCodec.cpp:241: if (!fDngImage) { On 2016/01/11 17:57:05, adaubert wrote: > ...
4 years, 11 months ago (2016-01-11 19:12:45 UTC) #30
yujieqin
https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp#newcode74 src/codec/SkRawCodec.cpp:74: dng_image* render_dng_for_prefered_size(const int prefered_size, dng_stream* stream, On 2016/01/11 17:44:02, ...
4 years, 11 months ago (2016-01-12 10:47:41 UTC) #31
msarett
https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp#newcode241 src/codec/SkRawCodec.cpp:241: if (!fDngImage) { On 2016/01/12 10:47:40, yujieqin wrote: > ...
4 years, 11 months ago (2016-01-12 14:01:29 UTC) #32
yujieqin
https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp#newcode241 src/codec/SkRawCodec.cpp:241: if (!fDngImage) { On 2016/01/12 14:01:29, msarett wrote: > ...
4 years, 11 months ago (2016-01-12 15:11:09 UTC) #34
yujieqin
4 years, 11 months ago (2016-01-12 15:11:12 UTC) #35
scroggo
https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp#newcode241 src/codec/SkRawCodec.cpp:241: if (!fDngImage) { On 2016/01/12 10:47:40, yujieqin wrote: > ...
4 years, 11 months ago (2016-01-12 21:54:39 UTC) #36
yujieqin
We change the logic for scaling DNG image. So it should fit better to skia ...
4 years, 11 months ago (2016-01-13 15:29:42 UTC) #37
msarett
I think the new implementations of onGetScaledDimensions() and onDimensionsSupported() are a great step! https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp File ...
4 years, 11 months ago (2016-01-13 17:15:14 UTC) #38
scroggo
https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp#newcode241 src/codec/SkRawCodec.cpp:241: if (!fDngImage) { On 2016/01/13 15:29:41, yujieqin wrote: > ...
4 years, 11 months ago (2016-01-13 18:24:45 UTC) #39
yujieqin
https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/90001/src/codec/SkRawCodec.cpp#newcode241 src/codec/SkRawCodec.cpp:241: if (!fDngImage) { On 2016/01/13 18:24:44, scroggo wrote: > ...
4 years, 11 months ago (2016-01-14 09:33:12 UTC) #40
yujieqin
https://codereview.chromium.org/1520403003/diff/170001/DEPS File DEPS (right): https://codereview.chromium.org/1520403003/diff/170001/DEPS#newcode26 DEPS:26: "third_party/externals/piex" : "https://skia.googlesource.com/third_party/piex/", On 2016/01/13 18:24:45, scroggo wrote: > ...
4 years, 11 months ago (2016-01-14 10:21:50 UTC) #41
yujieqin
Hi Leon, hi Matt, as we already got both DNG SDK and PIEX into the ...
4 years, 11 months ago (2016-01-14 12:25:24 UTC) #43
scroggo
I see you added an image to resources/. Please add a test to test/CodexTest.cpp. We ...
4 years, 11 months ago (2016-01-14 15:26:38 UTC) #44
msarett
https://codereview.chromium.org/1520403003/diff/250001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/250001/src/codec/SkRawCodec.cpp#newcode336 src/codec/SkRawCodec.cpp:336: if (SkTMax(width, imageSize.h) / SkTMin(width, imageSize.h) > maxDiffRatio || ...
4 years, 11 months ago (2016-01-14 19:02:14 UTC) #45
yujieqin
* Add the two tests as you mentioned. It builds, but I was not able ...
4 years, 11 months ago (2016-01-15 14:49:31 UTC) #46
yujieqin
FYI, we are planning to stay longer on Monday, so that we may quickly reply ...
4 years, 11 months ago (2016-01-15 15:01:53 UTC) #47
msarett
This looks good to me minus my latest comments. I believe that Leon is out ...
4 years, 11 months ago (2016-01-15 15:15:32 UTC) #48
yujieqin
Thanks for the info. :) https://codereview.chromium.org/1520403003/diff/270001/gyp/codec.gyp File gyp/codec.gyp (right): https://codereview.chromium.org/1520403003/diff/270001/gyp/codec.gyp#newcode74 gyp/codec.gyp:74: # RAW codec needs ...
4 years, 11 months ago (2016-01-15 15:47:17 UTC) #49
scroggo
https://codereview.chromium.org/1520403003/diff/250001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/250001/src/codec/SkRawCodec.cpp#newcode321 src/codec/SkRawCodec.cpp:321: SkCodec::Result SkRawCodec::onGetPixels(const SkImageInfo& requestedInfo, void* dst, On 2016/01/15 14:49:30, ...
4 years, 11 months ago (2016-01-19 21:05:45 UTC) #50
scroggo
Are you running dm --src image --images Skia_RAW_image_set ? This will be a good way ...
4 years, 11 months ago (2016-01-19 21:13:20 UTC) #51
yujieqin
https://codereview.chromium.org/1520403003/diff/250001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/250001/src/codec/SkRawCodec.cpp#newcode321 src/codec/SkRawCodec.cpp:321: SkCodec::Result SkRawCodec::onGetPixels(const SkImageInfo& requestedInfo, void* dst, I see your ...
4 years, 11 months ago (2016-01-20 12:53:04 UTC) #52
yujieqin
Oh, actually it was a bug in transferBuffer(). I fixed it in Patch Set 22. ...
4 years, 11 months ago (2016-01-20 12:56:18 UTC) #53
scroggo
https://codereview.chromium.org/1520403003/diff/250001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/250001/src/codec/SkRawCodec.cpp#newcode321 src/codec/SkRawCodec.cpp:321: SkCodec::Result SkRawCodec::onGetPixels(const SkImageInfo& requestedInfo, void* dst, On 2016/01/20 12:53:03, ...
4 years, 11 months ago (2016-01-20 18:13:36 UTC) #54
scroggo
Why is this issue private? We've already checked in the libraries to AOSP, so it ...
4 years, 11 months ago (2016-01-20 19:21:38 UTC) #55
scroggo
https://codereview.chromium.org/1520403003/diff/410001/src/codec/SkCodec.cpp File src/codec/SkCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/410001/src/codec/SkCodec.cpp#newcode94 src/codec/SkCodec.cpp:94: if (streamDeleter) { When you rebase, we have removed ...
4 years, 11 months ago (2016-01-20 19:47:16 UTC) #56
msarett
I ran some tests locally on the RAW images from Drive. This has raised some ...
4 years, 11 months ago (2016-01-20 20:23:17 UTC) #57
scroggo
https://codereview.chromium.org/1520403003/diff/410001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/410001/src/codec/SkRawCodec.cpp#newcode335 src/codec/SkRawCodec.cpp:335: rawStream->transferBuffer(imageData.preview_offset, imageData.preview_length); On 2016/01/20 20:23:17, msarett wrote: > This ...
4 years, 11 months ago (2016-01-20 20:36:24 UTC) #58
msarett
https://codereview.chromium.org/1520403003/diff/410001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/410001/src/codec/SkRawCodec.cpp#newcode335 src/codec/SkRawCodec.cpp:335: rawStream->transferBuffer(imageData.preview_offset, imageData.preview_length); On 2016/01/20 20:36:24, scroggo wrote: > On ...
4 years, 11 months ago (2016-01-20 20:43:52 UTC) #59
yujieqin
* We actually don't know which type of the issue we should set "private" or ...
4 years, 11 months ago (2016-01-20 21:24:20 UTC) #60
yujieqin
https://codereview.chromium.org/1520403003/diff/250001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/250001/src/codec/SkRawCodec.cpp#newcode321 src/codec/SkRawCodec.cpp:321: SkCodec::Result SkRawCodec::onGetPixels(const SkImageInfo& requestedInfo, void* dst, From my test ...
4 years, 11 months ago (2016-01-20 21:42:20 UTC) #61
yujieqin
https://codereview.chromium.org/1520403003/diff/410001/src/codec/SkCodec.cpp File src/codec/SkCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/410001/src/codec/SkCodec.cpp#newcode94 src/codec/SkCodec.cpp:94: if (streamDeleter) { Sorry, as I am not really ...
4 years, 11 months ago (2016-01-20 21:46:45 UTC) #62
msarett
"Sorry, as I am not really using git before, I have a dummy question: how ...
4 years, 11 months ago (2016-01-20 21:54:37 UTC) #63
adaubert
Regarding compiler issues of DNG SDK and no_sanitize: a fix was submitted to AOSP in ...
4 years, 11 months ago (2016-01-21 10:43:30 UTC) #64
msarett
https://codereview.chromium.org/1520403003/diff/410001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/410001/src/codec/SkRawCodec.cpp#newcode330 src/codec/SkRawCodec.cpp:330: if (error == ::piex::Error::kOk && imageData.preview_length > 0) { ...
4 years, 11 months ago (2016-01-21 15:46:16 UTC) #65
scroggo
On Wed, Jan 20, 2016 at 4:24 PM, <yujieqin@google.com> wrote: > * We actually don't ...
4 years, 11 months ago (2016-01-21 16:36:10 UTC) #67
yujieqin
https://codereview.chromium.org/1520403003/diff/410001/src/codec/SkCodec.cpp File src/codec/SkCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/410001/src/codec/SkCodec.cpp#newcode94 src/codec/SkCodec.cpp:94: if (streamDeleter) { Thanks for the tips. I got ...
4 years, 11 months ago (2016-01-21 16:40:01 UTC) #68
msarett
https://codereview.chromium.org/1520403003/diff/410001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/410001/src/codec/SkRawCodec.cpp#newcode330 src/codec/SkRawCodec.cpp:330: if (error == ::piex::Error::kOk && imageData.preview_length > 0) { ...
4 years, 11 months ago (2016-01-21 16:48:49 UTC) #69
scroggo
https://codereview.chromium.org/1520403003/diff/470001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/470001/src/codec/SkRawCodec.cpp#newcode365 src/codec/SkRawCodec.cpp:365: SkSwizzler::kRGB, nullptr, requestedInfo, options)); SkASSERT(swizzler)?
4 years, 11 months ago (2016-01-21 17:36:08 UTC) #70
yujieqin
https://codereview.chromium.org/1520403003/diff/370001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/370001/src/codec/SkRawCodec.cpp#newcode107 src/codec/SkRawCodec.cpp:107: if (safe_add_to_size_t(alreadyBuffered, bytesRead, &newSize)) { En... good to know. ...
4 years, 11 months ago (2016-01-21 17:44:26 UTC) #71
scroggo
Some small nits, but otherwise LGTM. In order to submit, there should be a checkbox ...
4 years, 11 months ago (2016-01-21 17:57:43 UTC) #72
yujieqin
https://codereview.chromium.org/1520403003/diff/490001/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1520403003/diff/490001/src/codec/SkRawCodec.cpp#newcode326 src/codec/SkRawCodec.cpp:326: // FIXME: ::piex::GetPreviewImageData() calls read (or whatever function it ...
4 years, 11 months ago (2016-01-21 18:06:12 UTC) #73
msarett
lgtm
4 years, 11 months ago (2016-01-21 18:07:47 UTC) #74
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1520403003/510001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1520403003/510001
4 years, 11 months ago (2016-01-21 18:12:33 UTC) #78
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/5410) Build-Ubuntu-Clang-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, ...
4 years, 11 months ago (2016-01-21 18:13:18 UTC) #80
scroggo
When I run DM on my mac laptop using the images you provided, I get ...
4 years, 11 months ago (2016-01-21 23:31:35 UTC) #81
adaubert
On 2016/01/21 23:31:35, scroggo wrote: > When I run DM on my mac laptop using ...
4 years, 11 months ago (2016-01-22 12:33:24 UTC) #82
msarett
Yes, SkImageDecoder support is completely irrelevant! We are replacing SkImageDecoder with SkCodec and intend to ...
4 years, 11 months ago (2016-01-22 14:20:50 UTC) #83
scroggo
On 2016/01/22 12:33:24, adaubert wrote: > On 2016/01/21 23:31:35, scroggo wrote: > > When I ...
4 years, 11 months ago (2016-01-22 14:23:00 UTC) #84
scroggo
On 2016/01/22 14:20:50, msarett wrote: > Yes, SkImageDecoder support is completely irrelevant! We are replacing ...
4 years, 11 months ago (2016-01-22 14:28:59 UTC) #85
yujieqin
https://codereview.chromium.org/1520403003/diff/530001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1520403003/diff/530001/dm/DM.cpp#newcode534 dm/DM.cpp:534: push_src("image", "decode", new ImageSrc(path)); // Decode entire image On ...
4 years, 11 months ago (2016-01-22 20:18:08 UTC) #86
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1520403003/550001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1520403003/550001
4 years, 11 months ago (2016-01-22 20:19:03 UTC) #89
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/5619)
4 years, 11 months ago (2016-01-22 20:20:17 UTC) #91
yujieqin
Hi Leon & Matt, could you give me lgtm again for the new patch set? ...
4 years, 11 months ago (2016-01-22 20:23:22 UTC) #92
msarett
I've added TBR=reed@google.com, which should help on the skia_presubmit_bot. There are others errors as well. ...
4 years, 11 months ago (2016-01-22 20:31:42 UTC) #96
yujieqin
Thanks, I also just added reed@google.com to reviewer as mentioend in the error log. :) ...
4 years, 11 months ago (2016-01-22 20:37:41 UTC) #97
msarett
Every time you click commit, all of the trybots will run. It looks like there ...
4 years, 11 months ago (2016-01-22 20:40:55 UTC) #98
msarett
Feel free to click commit to see the bots run!
4 years, 11 months ago (2016-01-22 20:41:45 UTC) #99
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1520403003/570001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1520403003/570001
4 years, 11 months ago (2016-01-22 20:42:49 UTC) #102
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac10.9-Clang-Arm7-Debug-iOS-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac10.9-Clang-Arm7-Debug-iOS-Trybot/builds/942)
4 years, 11 months ago (2016-01-22 20:43:55 UTC) #104
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1520403003/570001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1520403003/570001
4 years, 11 months ago (2016-01-25 08:16:41 UTC) #106
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-Clang-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-Clang-x86_64-Debug-Trybot/builds/5566) Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on ...
4 years, 11 months ago (2016-01-25 08:17:59 UTC) #108
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1520403003/590001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1520403003/590001
4 years, 11 months ago (2016-01-25 12:46:38 UTC) #110
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-Clang-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-Clang-x86_64-Debug-Trybot/builds/5576)
4 years, 11 months ago (2016-01-25 12:49:04 UTC) #112
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1520403003/610001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1520403003/610001
4 years, 11 months ago (2016-01-25 13:07:06 UTC) #114
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-25 13:25:03 UTC) #116
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1520403003/610001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1520403003/610001
4 years, 11 months ago (2016-01-25 13:28:10 UTC) #119
commit-bot: I haz the power
Committed patchset #32 (id:610001) as https://skia.googlesource.com/skia/+/6bd8639f8c142eedf543f4e5f3b02d2bf11df308
4 years, 11 months ago (2016-01-25 13:29:08 UTC) #121
msarett
A revert of this CL (patchset #32 id:610001) has been created in https://codereview.chromium.org/1635443002/ by msarett@google.com. ...
4 years, 11 months ago (2016-01-25 14:04:59 UTC) #122
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1520403003/690001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1520403003/690001
4 years, 11 months ago (2016-01-25 16:14:22 UTC) #126
dogben
On 2016/01/25 at 14:04:59, msarett wrote: > A revert of this CL (patchset #32 id:610001) ...
4 years, 11 months ago (2016-01-25 16:16:00 UTC) #127
commit-bot: I haz the power
4 years, 11 months ago (2016-01-25 16:26:21 UTC) #129
Message was sent while issue was closed.
Committed patchset #36 (id:690001) as
https://skia.googlesource.com/skia/+/916de9ff18cf3caa29c0821b55244060b6f84f9d

Powered by Google App Engine
This is Rietveld 408576698