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

Issue 1822173002: Mac: Decode hardware to 420 instead of 422 (Closed)

Created:
4 years, 9 months ago by ccameron
Modified:
4 years, 9 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac: Decode hardware to 420 instead of 422 If the decoded frame is going to be used as a CALayer overlay, then it will never be converted to RGBA. If it is used by OpenGL, then the same infrastructure for software frames will be employed to make an expensive RGBA copy of the frame. BUG=594452 Committed: https://crrev.com/24da601d444c8822c5ff0a10751b9384f25dd1b4 Cr-Commit-Position: refs/heads/master@{#382797}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Incorporate review feedback #

Total comments: 1

Patch Set 3 : Fix name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -68 lines) Patch
M content/common/gpu/media/gpu_video_decode_accelerator.h View 1 1 chunk +5 lines, -2 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.h View 3 chunks +4 lines, -6 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M content/common/gpu/media/vt_video_decode_accelerator_mac.h View 2 chunks +4 lines, -6 lines 0 comments Download
M content/common/gpu/media/vt_video_decode_accelerator_mac.cc View 1 6 chunks +19 lines, -46 lines 0 comments Download
M media/video/video_decode_accelerator.h View 1 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
ccameron
This is possibly the greatest change ever. With this in place, we'll be able to ...
4 years, 9 months ago (2016-03-22 21:21:36 UTC) #2
sandersd (OOO until July 31)
lgtm https://codereview.chromium.org/1822173002/diff/1/content/common/gpu/media/gpu_video_decode_accelerator.h File content/common/gpu/media/gpu_video_decode_accelerator.h (right): https://codereview.chromium.org/1822173002/diff/1/content/common/gpu/media/gpu_video_decode_accelerator.h#newcode129 content/common/gpu/media/gpu_video_decode_accelerator.h:129: bool image_is_bound); This is going to need a ...
4 years, 9 months ago (2016-03-22 21:32:29 UTC) #3
ccameron
Thanks -- updated https://codereview.chromium.org/1822173002/diff/1/content/common/gpu/media/gpu_video_decode_accelerator.h File content/common/gpu/media/gpu_video_decode_accelerator.h (right): https://codereview.chromium.org/1822173002/diff/1/content/common/gpu/media/gpu_video_decode_accelerator.h#newcode129 content/common/gpu/media/gpu_video_decode_accelerator.h:129: bool image_is_bound); On 2016/03/22 21:32:28, sandersd ...
4 years, 9 months ago (2016-03-22 22:00:04 UTC) #4
sandersd (OOO until July 31)
Thanks! (still lgtm) https://codereview.chromium.org/1822173002/diff/20001/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (right): https://codereview.chromium.org/1822173002/diff/20001/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode582 content/common/gpu/media/video_decode_accelerator_unittest.cc:582: bool image_is_bound) {} Missed this one.
4 years, 9 months ago (2016-03-22 22:44:02 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1822173002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1822173002/40001
4 years, 9 months ago (2016-03-22 23:30:32 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/193088)
4 years, 9 months ago (2016-03-23 03:11:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1822173002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1822173002/40001
4 years, 9 months ago (2016-03-23 05:04:13 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-23 06:12:01 UTC) #13
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/24da601d444c8822c5ff0a10751b9384f25dd1b4 Cr-Commit-Position: refs/heads/master@{#382797}
4 years, 9 months ago (2016-03-23 06:13:51 UTC) #15
ccameron
4 years, 8 months ago (2016-03-29 19:45:28 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1842673003/ by ccameron@chromium.org.

The reason for reverting is: This likely spiked the crash rates.
BUG=598388.

Powered by Google App Engine
This is Rietveld 408576698