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

Issue 2534313004: Add prototype D3D11VideoDecodeAccelerator. (Closed)

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

Description

Add prototype D3D11VideoDecodeAccelerator. This uses the D3D11 video decoder API, which is lower level and may improve power consumption and make it easier to debug issues without a Media Foundation transform in the way. This is missing a ton of features, all error checking, and decodes many videos incorrectly, but could be useful for getting performance data. It's disabled by default and behind the D3D11VideoDecoding feature flag. BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/11c7629beff558f7f5822067dcfeb6d6a729d13b Cr-Commit-Position: refs/heads/master@{#436011}

Patch Set 1 #

Patch Set 2 : build changes #

Patch Set 3 : fix signedness #

Patch Set 4 : remove VP9 support for now #

Patch Set 5 : clean up code #

Total comments: 3

Patch Set 6 : rename d3d11_video_decoder.cc and other changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1020 lines, -2 lines) Patch
M media/base/media_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M media/base/media_switches.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M media/gpu/BUILD.gn View 1 2 3 4 5 2 chunks +9 lines, -1 line 0 comments Download
A media/gpu/d3d11_h264_accelerator.h View 1 2 3 4 5 1 chunk +123 lines, -0 lines 0 comments Download
A media/gpu/d3d11_h264_accelerator.cc View 1 2 3 4 5 1 chunk +455 lines, -0 lines 0 comments Download
A media/gpu/d3d11_video_decode_accelerator_win.h View 1 2 3 4 5 1 chunk +78 lines, -0 lines 0 comments Download
A media/gpu/d3d11_video_decode_accelerator_win.cc View 1 2 3 4 5 1 chunk +327 lines, -0 lines 0 comments Download
M media/gpu/gpu_video_decode_accelerator_factory.h View 1 chunk +3 lines, -0 lines 0 comments Download
M media/gpu/gpu_video_decode_accelerator_factory.cc View 3 chunks +18 lines, -0 lines 0 comments Download
M media/gpu/h264_dpb.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 34 (27 generated)
jbauman
This code is really messy, but I think it's still good to have it in ...
4 years ago (2016-12-02 00:31:01 UTC) #21
sandersd (OOO until July 31)
How do you want to schedule this review? There is enough code here that properly ...
4 years ago (2016-12-02 00:52:57 UTC) #22
jbauman
On 2016/12/02 00:52:57, sandersd wrote: > How do you want to schedule this review? There ...
4 years ago (2016-12-02 02:02:05 UTC) #25
sandersd (OOO until July 31)
> Yeah, I think it would make sense for us to have a better idea ...
4 years ago (2016-12-02 19:26:14 UTC) #28
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/2534313004/100001
4 years ago (2016-12-02 19:57:42 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-02 21:06:48 UTC) #32
commit-bot: I haz the power
4 years ago (2016-12-02 21:08:45 UTC) #34
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/11c7629beff558f7f5822067dcfeb6d6a729d13b
Cr-Commit-Position: refs/heads/master@{#436011}

Powered by Google App Engine
This is Rietveld 408576698