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

Issue 1420943002: media: Compute proper VideoFrame::coded_rect for copies to GMBs. (Closed)

Created:
5 years, 2 months ago by Daniele Castagna
Modified:
5 years, 1 month ago
CC:
cc-bugs_chromium.org, chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Compute compatible VideoFrame::coded_rect for copies to GMBs. Before this patch, GMBVFP would copy only visible_rect to GpuMemoryBuffers. Unfortunately GMBs can't always be created with visible_rect size since visible_rect might have dimensions not compatible with the output format. With this patch we compute a format compatible coded_rect and we use that as the new coded rect for copies and the new output VideoFrame. BUG=544554 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/adb69b1408b5bb2f643c5b629e01a78068f7af5c Cr-Commit-Position: refs/heads/master@{#356090}

Patch Set 1 #

Patch Set 2 : Rebase on master. #

Patch Set 3 : Copy only visible_rect but size it properly for the output format. #

Patch Set 4 : Rebase on master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -32 lines) Patch
M cc/layers/video_layer_impl.cc View 1 chunk +2 lines, -7 lines 0 comments Download
M media/video/gpu_memory_buffer_video_frame_pool.cc View 1 2 3 9 chunks +52 lines, -25 lines 0 comments Download

Messages

Total messages: 27 (14 generated)
Daniele Castagna
5 years, 2 months ago (2015-10-22 18:41:46 UTC) #6
ccameron
lgtm
5 years, 2 months ago (2015-10-22 19:03:17 UTC) #8
Daniele Castagna
Adding owners: +reveman for cc/layers/* +sandersd for media/video/*
5 years, 2 months ago (2015-10-22 19:13:55 UTC) #10
reveman
lgtm
5 years, 2 months ago (2015-10-22 19:22:15 UTC) #11
sandersd (OOO until July 31)
lgtm
5 years, 2 months ago (2015-10-22 19:33:14 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420943002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420943002/40001
5 years, 2 months ago (2015-10-22 19:35:16 UTC) #14
emircan
lgtm
5 years, 2 months ago (2015-10-22 19:39:21 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/130055)
5 years, 2 months ago (2015-10-22 21:07:27 UTC) #17
Daniele Castagna
I had to change the logic a little to fix the bug. The previous patch ...
5 years, 2 months ago (2015-10-23 22:13:29 UTC) #21
emircan
still lgtm
5 years, 1 month ago (2015-10-26 18:02:59 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420943002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420943002/80001
5 years, 1 month ago (2015-10-26 18:04:49 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 1 month ago (2015-10-26 19:07:35 UTC) #26
commit-bot: I haz the power
5 years, 1 month ago (2015-10-26 19:08:25 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/adb69b1408b5bb2f643c5b629e01a78068f7af5c
Cr-Commit-Position: refs/heads/master@{#356090}

Powered by Google App Engine
This is Rietveld 408576698