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

Issue 2369093002: Fixing repeated pixels when drawing HTML5 video to canvas. (Closed)

Created:
4 years, 2 months ago by zakerinasab1
Modified:
4 years, 2 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixing repeated pixels when drawing HTML5 video to canvas. When the coded size of the video frame is different from the visible rect, SkCanvasVideoRenderer::Paint tries to scale the video while it must ignore the pixels outside visible rect. This is addressed by clipping the SkImage object created from VideoFrame prior to painting the frame on the canvas. BUG=611330 Committed: https://crrev.com/feb2e37e78f375218f842448db94eae13254b536 Cr-Commit-Position: refs/heads/master@{#423688}

Patch Set 1 #

Patch Set 2 #

Patch Set 3 #

Patch Set 4 : Minor corrections in unit test. #

Patch Set 5 : Addressing comments. #

Patch Set 6 : Minor corrections in unit test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -0 lines) Patch
M media/renderers/skcanvas_video_renderer.h View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M media/renderers/skcanvas_video_renderer.cc View 1 2 3 4 2 chunks +16 lines, -0 lines 0 comments Download
M media/renderers/skcanvas_video_renderer_unittest.cc View 1 2 3 4 5 2 chunks +44 lines, -0 lines 0 comments Download

Messages

Total messages: 53 (26 generated)
zakerinasab1
Patch submitted.
4 years, 2 months ago (2016-09-27 14:02:37 UTC) #7
zakerinasab
@hubbe How we should write a layout test for this CL? The error happens when ...
4 years, 2 months ago (2016-09-27 14:55:12 UTC) #10
hubbe
On 2016/09/27 14:55:12, zakerinasab wrote: > @hubbe > > How we should write a layout ...
4 years, 2 months ago (2016-09-27 15:43:55 UTC) #11
zakerinasab
On 2016/09/27 15:43:55, hubbe wrote: > On 2016/09/27 14:55:12, zakerinasab wrote: > > @hubbe > ...
4 years, 2 months ago (2016-09-27 15:51:29 UTC) #12
zakerinasab1
I tried to add a unit test to create a fake hardware backed video frame ...
4 years, 2 months ago (2016-09-29 17:56:53 UTC) #13
Justin Novosad
You need to line-wrap the description. The first line of the description should be the ...
4 years, 2 months ago (2016-10-03 15:33:30 UTC) #14
zakerinasab1
New patch submitted.
4 years, 2 months ago (2016-10-03 17:52:28 UTC) #16
Justin Novosad
Not an owner, but this looks reasonable to me.
4 years, 2 months ago (2016-10-03 18:04:17 UTC) #17
Justin Novosad
You still need to limit line length to 72 characters in the description.
4 years, 2 months ago (2016-10-03 18:05:11 UTC) #18
zakerinasab1
On 2016/10/03 18:05:11, Justin Novosad wrote: > You still need to limit line length to ...
4 years, 2 months ago (2016-10-03 18:07:50 UTC) #20
Justin Novosad
non-owner lgtm
4 years, 2 months ago (2016-10-03 21:06:28 UTC) #21
zakerinasab
@hubbe @sandersd Can you look at this CL? Thanks.
4 years, 2 months ago (2016-10-05 18:35:38 UTC) #24
sandersd (OOO until July 31)
On 2016/10/05 18:35:38, zakerinasab wrote: > @hubbe > @sandersd > > Can you look at ...
4 years, 2 months ago (2016-10-05 19:12:26 UTC) #25
zakerinasab1
On 2016/10/05 19:12:26, sandersd wrote: > On 2016/10/05 18:35:38, zakerinasab wrote: > > @hubbe > ...
4 years, 2 months ago (2016-10-05 19:47:11 UTC) #26
sandersd (OOO until July 31)
On 2016/10/05 19:47:11, zakerinasab1 wrote: > On 2016/10/05 19:12:26, sandersd wrote: > > On 2016/10/05 ...
4 years, 2 months ago (2016-10-05 20:29:07 UTC) #27
zakerinasab1
On 2016/10/05 20:29:07, sandersd wrote: > On 2016/10/05 19:47:11, zakerinasab1 wrote: > > On 2016/10/05 ...
4 years, 2 months ago (2016-10-05 20:33:23 UTC) #28
zakerinasab1
4 years, 2 months ago (2016-10-05 20:34:52 UTC) #29
sandersd (OOO until July 31)
> Interesting. Can you give me access to the test files for frame cropping? I'll ...
4 years, 2 months ago (2016-10-05 21:04:55 UTC) #30
zakerinasab1
On 2016/10/05 21:04:55, sandersd wrote: > > Interesting. Can you give me access to the ...
4 years, 2 months ago (2016-10-06 14:20:38 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2369093002/80001
4 years, 2 months ago (2016-10-06 14:21:37 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/311344)
4 years, 2 months ago (2016-10-06 14:40:28 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2369093002/100001
4 years, 2 months ago (2016-10-06 15:32:19 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/248483)
4 years, 2 months ago (2016-10-06 15:58:16 UTC) #41
sandersd (OOO until July 31)
> Chromium: Chromium 55.0.2880.0 + patch + hw acceleration > Player 1: ffplay version N-81696-gd38dff8e ...
4 years, 2 months ago (2016-10-06 16:56:54 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2369093002/180001
4 years, 2 months ago (2016-10-06 19:30:40 UTC) #49
commit-bot: I haz the power
Committed patchset #6 (id:180001)
4 years, 2 months ago (2016-10-06 21:29:10 UTC) #51
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 21:32:30 UTC) #53
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/feb2e37e78f375218f842448db94eae13254b536
Cr-Commit-Position: refs/heads/master@{#423688}

Powered by Google App Engine
This is Rietveld 408576698