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 1719533002: Modify YUV codecs to match Skia's API change (Closed)

Created:
4 years, 10 months ago by msarett
Modified:
4 years, 8 months ago
CC:
blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, Daniele Castagna, dshwang, drott+blinkwatch_chromium.org, krit, feature-media-reviews_chromium.org, jbroman, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, vmpstr+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Modify YUV codecs to match Skia's API change This includes a manual roll to: 4984c3c95f18eda44492a2126c9958e447f2cca8 The Skia change is here: https://codereview.chromium.org/1716523002/ This should also save a few rows of memory per image. BUG= Committed: https://crrev.com/2782f0dd0af04e1bdc226938298d8a6957523f3a Cr-Commit-Position: refs/heads/master@{#380432}

Patch Set 1 : #

Total comments: 11

Patch Set 2 : Assert YUV format in onGetYUV8Planes(), use public test image #

Total comments: 6

Patch Set 3 : ASSERT in base class YUV implementations, Use ArrayBuffer #

Total comments: 14

Patch Set 4 : Response to Patch Set 3 #

Total comments: 18

Patch Set 5 : Response to comments from Patch Set 4 #

Patch Set 6 : Rebase #

Patch Set 7 : Upload cropped_mandrill.jpg #

Patch Set 8 : Add DEPS change #

Patch Set 9 : Fix media formatting #

Patch Set 10 : Fix blimp #

Patch Set 11 : Update DEPS again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -126 lines) Patch
M DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/feature/compositor/decoding_image_generator.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -4 lines 0 comments Download
M blimp/client/feature/compositor/decoding_image_generator.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -4 lines 0 comments Download
M media/renderers/skcanvas_video_renderer.cc View 1 2 3 4 5 6 7 8 2 chunks +55 lines, -42 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/images/resources/cropped_mandrill.jpg View 1 6 Binary file 0 comments Download
M third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp View 1 2 3 1 chunk +12 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h View 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.cpp View 1 2 3 4 5 5 chunks +11 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h View 1 2 3 3 chunks +16 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp View 1 2 3 4 5 7 chunks +33 lines, -41 lines 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp View 1 2 3 4 4 chunks +31 lines, -5 lines 0 comments Download

Messages

Total messages: 71 (30 generated)
msarett
https://codereview.chromium.org/1719533002/diff/20001/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp File third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp (left): https://codereview.chromium.org/1719533002/diff/20001/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp#oldcode931 third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp:931: JSAMPROW yLastRow = *samples; No need to track the ...
4 years, 10 months ago (2016-02-22 20:56:31 UTC) #6
scroggo_chromium
https://codereview.chromium.org/1719533002/diff/20001/media/renderers/skcanvas_video_renderer.cc File media/renderers/skcanvas_video_renderer.cc (right): https://codereview.chromium.org/1719533002/diff/20001/media/renderers/skcanvas_video_renderer.cc#newcode251 media/renderers/skcanvas_video_renderer.cc:251: sizeInfo->fSizes[plane].set(size.width(), size.height()); I think the indentation is wrong here? ...
4 years, 10 months ago (2016-02-22 21:10:32 UTC) #7
msarett
https://codereview.chromium.org/1719533002/diff/20001/media/renderers/skcanvas_video_renderer.cc File media/renderers/skcanvas_video_renderer.cc (right): https://codereview.chromium.org/1719533002/diff/20001/media/renderers/skcanvas_video_renderer.cc#newcode251 media/renderers/skcanvas_video_renderer.cc:251: sizeInfo->fSizes[plane].set(size.width(), size.height()); On 2016/02/22 21:10:31, scroggo_chromium wrote: > I ...
4 years, 10 months ago (2016-02-22 21:42:44 UTC) #8
f(malita)
How do you plan to land these two CLs? IIUC the Skia change cannot roll ...
4 years, 10 months ago (2016-02-22 22:39:19 UTC) #9
msarett
Hmmm cowboy version sounds more fun if that's an acceptable approach :). I'll just want ...
4 years, 10 months ago (2016-02-22 22:53:11 UTC) #10
f(malita)
platform/graphics LGTM, but I don't understand the decoder bits - deferring to scroggo/dalecurtis. On 2016/02/22 ...
4 years, 10 months ago (2016-02-22 23:48:00 UTC) #11
msarett
On 2016/02/22 23:48:00, f(malita) wrote: > platform/graphics LGTM, but I don't understand the decoder bits ...
4 years, 10 months ago (2016-02-22 23:52:59 UTC) #12
msarett
Noel, Can you please take a look at the JpegDecoder changes? Dale, Are you the ...
4 years, 10 months ago (2016-02-24 01:03:57 UTC) #14
DaleCurtis
No, reed@ is a better reviewer for that.
4 years, 10 months ago (2016-02-24 01:04:55 UTC) #15
scroggo_chromium
https://codereview.chromium.org/1719533002/diff/20001/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp File third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp (right): https://codereview.chromium.org/1719533002/diff/20001/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp#newcode686 third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp:686: bpp = 4; On 2016/02/22 20:56:31, msarett wrote: > ...
4 years, 10 months ago (2016-02-24 13:09:44 UTC) #16
msarett
David, Are you the right person to take a look at the changes to media/renderers/skcanvas_video_renderer.cc? ...
4 years, 10 months ago (2016-02-24 16:36:11 UTC) #18
davidben
On 2016/02/24 16:36:11, msarett wrote: > David, > > Are you the right person to ...
4 years, 10 months ago (2016-02-24 18:19:45 UTC) #19
msarett
Ahh ok thanks! Riley, Are you the right person to take a look at the ...
4 years, 10 months ago (2016-02-24 18:22:27 UTC) #21
scroggo_chromium
lgtm
4 years, 10 months ago (2016-02-24 18:33:35 UTC) #22
DaleCurtis
rileya@ doesn't work on chromium anymore. I can stamp the skcanvas changes if a SKIA ...
4 years, 10 months ago (2016-02-24 20:18:18 UTC) #23
msarett
"rileya@ doesn't work on chromium anymore. I can stamp the skcanvas changes if a SKIA ...
4 years, 10 months ago (2016-02-25 14:03:40 UTC) #25
msarett
Dale, Would you mind rubber stamping the skcanvas code? scroggo@ is the best skia reviewer. ...
4 years, 9 months ago (2016-02-29 19:14:50 UTC) #26
bsalomon
On 2016/02/25 14:03:40, msarett wrote: > "rileya@ doesn't work on chromium anymore. I can stamp ...
4 years, 9 months ago (2016-02-29 19:24:41 UTC) #27
Noel Gordon
On 2016/02/24 01:03:57, msarett wrote: > Noel, > > Can you please take a look ...
4 years, 9 months ago (2016-03-01 02:27:34 UTC) #28
Noel Gordon
https://codereview.chromium.org/1719533002/diff/60001/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp File third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp (right): https://codereview.chromium.org/1719533002/diff/60001/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp#newcode83 third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp:83: TRACE_EVENT1("blink", "DecodingImageGenerator::getYUV8Planes", "sizes", static_cast<int>(m_frameIndex)); DecodingImageGenerator::getYUV8Planes -> DecodingImageGenerator::queryYUV8 here? https://codereview.chromium.org/1719533002/diff/60001/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h ...
4 years, 9 months ago (2016-03-01 02:27:49 UTC) #30
msarett
> Sure, I was OOO last week btw ... Thanks for your review! I've responded ...
4 years, 9 months ago (2016-03-01 18:00:38 UTC) #31
Noel Gordon
On 2016/03/01 18:00:38, msarett wrote: > https://codereview.chromium.org/1719533002/diff/60001/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp#newcode683 > third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp:683: > bpp = 1; > On ...
4 years, 9 months ago (2016-03-03 01:24:27 UTC) #32
Noel Gordon
Patch is looking good, some minor nits. https://codereview.chromium.org/1719533002/diff/80001/media/renderers/skcanvas_video_renderer.cc File media/renderers/skcanvas_video_renderer.cc (right): https://codereview.chromium.org/1719533002/diff/80001/media/renderers/skcanvas_video_renderer.cc#newcode227 media/renderers/skcanvas_video_renderer.cc:227: override { ...
4 years, 9 months ago (2016-03-03 01:25:28 UTC) #33
msarett
> I think YUV JPEG decoding is enabled by: > > * setting the --force-gpu-rasterization ...
4 years, 9 months ago (2016-03-04 19:49:09 UTC) #35
Noel Gordon
LGTM On 2016/03/04 19:49:09, msarett wrote: > > I think YUV JPEG decoding is enabled ...
4 years, 9 months ago (2016-03-04 21:27:05 UTC) #36
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1719533002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1719533002/120001
4 years, 9 months ago (2016-03-04 21:33:22 UTC) #38
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/31567)
4 years, 9 months ago (2016-03-04 21:43:24 UTC) #40
msarett
Dale, would you mind rubber stamping media/renderers/skcanvas_video_renderer.cc? > > Thanks for this explanation. You're right, ...
4 years, 9 months ago (2016-03-04 22:01:07 UTC) #41
DaleCurtis
media/ rs lgtm based on skia@ approval.
4 years, 9 months ago (2016-03-04 22:12:51 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1719533002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1719533002/180001
4 years, 9 months ago (2016-03-07 16:44:01 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1719533002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1719533002/200001
4 years, 9 months ago (2016-03-07 16:56:08 UTC) #49
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/32402)
4 years, 9 months ago (2016-03-07 17:15:42 UTC) #51
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1719533002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1719533002/240001
4 years, 9 months ago (2016-03-08 01:07:43 UTC) #54
msarett
nyquist@ Could you please take a look at the blimp changes?
4 years, 9 months ago (2016-03-08 01:09:06 UTC) #56
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/169351) ios_dbg_simulator_ninja on ...
4 years, 9 months ago (2016-03-08 01:10:27 UTC) #58
nyquist
blimp lgtm
4 years, 9 months ago (2016-03-08 09:06:36 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1719533002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1719533002/260001
4 years, 9 months ago (2016-03-10 14:21:05 UTC) #62
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/194598)
4 years, 9 months ago (2016-03-10 16:19:10 UTC) #65
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1719533002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1719533002/260001
4 years, 9 months ago (2016-03-10 16:21:34 UTC) #67
commit-bot: I haz the power
Committed patchset #11 (id:260001)
4 years, 9 months ago (2016-03-10 18:17:52 UTC) #69
commit-bot: I haz the power
4 years, 9 months ago (2016-03-10 18:19:19 UTC) #71
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/2782f0dd0af04e1bdc226938298d8a6957523f3a
Cr-Commit-Position: refs/heads/master@{#380432}

Powered by Google App Engine
This is Rietveld 408576698