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

Issue 399683007: JPEG YUV Decoding (Closed)

Created:
6 years, 5 months ago by sugoi1
Modified:
6 years, 2 months ago
Reviewers:
scroggo, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update from blink's version of YUV decoding #

Total comments: 10

Patch Set 3 : Removed SkImagePlanes #

Patch Set 4 : API changes #

Total comments: 20

Patch Set 5 : Moved functions/enums into a single block #

Patch Set 6 : Trying to get more info on the test issue #

Patch Set 7 : Initialized fShouldCancelDecode properly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+341 lines, -4 lines) Patch
M include/core/SkImageDecoder.h View 1 2 3 2 chunks +20 lines, -0 lines 0 comments Download
M src/images/SkDecodingImageGenerator.cpp View 1 2 3 2 chunks +16 lines, -0 lines 0 comments Download
M src/images/SkImageDecoder.cpp View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M src/images/SkImageDecoder_libjpeg.cpp View 1 2 3 4 5 3 chunks +250 lines, -2 lines 0 comments Download
M tests/JpegTest.cpp View 1 2 chunks +47 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (2 generated)
sugoi1
Here's the 2nd part of the YUV decoding in Skia. I fixed most comments, except ...
6 years, 5 months ago (2014-07-21 20:24:24 UTC) #1
scroggo
https://codereview.chromium.org/399683007/diff/1/include/core/SkImageDecoder.h File include/core/SkImageDecoder.h (right): https://codereview.chromium.org/399683007/diff/1/include/core/SkImageDecoder.h#newcode402 include/core/SkImageDecoder.h:402: virtual void onSetYUVBuffers(void* yuv[3], size_t rowBytes[3]) {} Why not ...
6 years, 4 months ago (2014-07-25 20:48:34 UTC) #2
sugoi1
I did a port of my Blink side changes into Skia. The Blink JPEG decoder ...
6 years, 2 months ago (2014-10-10 20:32:00 UTC) #3
reed1
https://codereview.chromium.org/399683007/diff/20001/include/core/SkImageDecoder.h File include/core/SkImageDecoder.h (right): https://codereview.chromium.org/399683007/diff/20001/include/core/SkImageDecoder.h#newcode378 include/core/SkImageDecoder.h:378: SkImagePlanes* imagePlanes) { I thnk passing the planes and ...
6 years, 2 months ago (2014-10-13 13:15:36 UTC) #4
sugoi1
https://codereview.chromium.org/399683007/diff/20001/include/core/SkImageDecoder.h File include/core/SkImageDecoder.h (right): https://codereview.chromium.org/399683007/diff/20001/include/core/SkImageDecoder.h#newcode378 include/core/SkImageDecoder.h:378: SkImagePlanes* imagePlanes) { On 2014/10/13 13:15:35, reed1 wrote: > ...
6 years, 2 months ago (2014-10-14 15:07:37 UTC) #5
reed1
This sort of interface already exists in SkImageGenerator and SkPixelRef. bool getYUV8Planes(SkISize sizes[3], void* planes[3], ...
6 years, 2 months ago (2014-10-14 15:30:53 UTC) #6
reed1
if we need to hard-code the particular SkYUVColorSpace, seems like the best place is in ...
6 years, 2 months ago (2014-10-14 15:34:28 UTC) #7
sugoi1
https://codereview.chromium.org/399683007/diff/20001/src/images/SkDecodingImageGenerator.cpp File src/images/SkDecodingImageGenerator.cpp (right): https://codereview.chromium.org/399683007/diff/20001/src/images/SkDecodingImageGenerator.cpp#newcode210 src/images/SkDecodingImageGenerator.cpp:210: size_t rowBytes[3], SkYUVColorSpace* colorSpace) { On 2014/10/14 15:34:28, reed1 ...
6 years, 2 months ago (2014-10-14 15:46:37 UTC) #8
sugoi1
On 2014/10/14 15:30:53, reed1 wrote: > This sort of interface already exists in SkImageGenerator and ...
6 years, 2 months ago (2014-10-14 15:50:02 UTC) #9
reed1
I guess I'm shooting for as close a match in API as is possible/reasonable. e.g. ...
6 years, 2 months ago (2014-10-14 16:01:49 UTC) #10
reed1
On 2014/10/14 16:01:49, reed1 wrote: > I guess I'm shooting for as close a match ...
6 years, 2 months ago (2014-10-14 16:04:21 UTC) #11
sugoi1
On 2014/10/14 16:04:21, reed1 wrote: > On 2014/10/14 16:01:49, reed1 wrote: > > I guess ...
6 years, 2 months ago (2014-10-14 17:20:19 UTC) #12
reed1
lgtm w/ question/suggestion about libjpeg's colorspace support. https://codereview.chromium.org/399683007/diff/160001/src/images/SkImageDecoder_libjpeg.cpp File src/images/SkImageDecoder_libjpeg.cpp (right): https://codereview.chromium.org/399683007/diff/160001/src/images/SkImageDecoder_libjpeg.cpp#newcode971 src/images/SkImageDecoder_libjpeg.cpp:971: if (NULL ...
6 years, 2 months ago (2014-10-15 15:08:09 UTC) #13
scroggo
High level suggestion: SkImageDecoder_libjpeg.cpp is already over 1200 lines, and the new functions you've added ...
6 years, 2 months ago (2014-10-15 15:16:06 UTC) #14
reed1
On 2014/10/15 15:16:06, scroggo wrote: > High level suggestion: > > SkImageDecoder_libjpeg.cpp is already over ...
6 years, 2 months ago (2014-10-15 15:26:45 UTC) #15
sugoi1
https://codereview.chromium.org/399683007/diff/160001/src/images/SkImageDecoder_libjpeg.cpp File src/images/SkImageDecoder_libjpeg.cpp (right): https://codereview.chromium.org/399683007/diff/160001/src/images/SkImageDecoder_libjpeg.cpp#newcode57 src/images/SkImageDecoder_libjpeg.cpp:57: // Enum for YUV decoding On 2014/10/15 15:16:06, scroggo ...
6 years, 2 months ago (2014-10-15 17:47:44 UTC) #16
scroggo
lgtm
6 years, 2 months ago (2014-10-15 17:50:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/399683007/180001
6 years, 2 months ago (2014-10-15 17:54:09 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:180001) as 8e6c3b93a39e19111662a760ede97df55e51d39f
6 years, 2 months ago (2014-10-15 18:04:23 UTC) #20
bsalomon
On 2014/10/15 18:04:23, I haz the power (commit-bot) wrote: > Committed patchset #5 (id:180001) as ...
6 years, 2 months ago (2014-10-15 18:40:15 UTC) #21
sugoi1
On 2014/10/15 18:40:15, bsalomon wrote: > On 2014/10/15 18:04:23, I haz the power (commit-bot) wrote: ...
6 years, 2 months ago (2014-10-15 18:42:32 UTC) #22
rmistry
On 2014/10/15 18:42:32, sugoi1 wrote: > On 2014/10/15 18:40:15, bsalomon wrote: > > On 2014/10/15 ...
6 years, 2 months ago (2014-10-15 20:12:17 UTC) #23
rmistry
A revert of this CL (patchset #5 id:180001) has been created in https://codereview.chromium.org/656163002/ by rmistry@google.com. ...
6 years, 2 months ago (2014-10-15 20:15:03 UTC) #24
sugoi1
PTAL! I found the error. fShouldCancelDecode was uninitialized, so if it turned out to be ...
6 years, 2 months ago (2014-10-16 19:28:02 UTC) #25
scroggo
On 2014/10/16 19:28:02, sugoi1 wrote: > PTAL! > > I found the error. fShouldCancelDecode was ...
6 years, 2 months ago (2014-10-16 19:44:19 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/399683007/220001
6 years, 2 months ago (2014-10-16 20:04:43 UTC) #28
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 20:11:02 UTC) #29
Message was sent while issue was closed.
Committed patchset #7 (id:220001) as b227e37eae36ccf630c4baef00b1354d42b40fd1

Powered by Google App Engine
This is Rietveld 408576698