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

Issue 2470363003: preserve color space when copy_nv12_textures_ is true (Closed)

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

Description

preserve color space when copy_nv12_textures_ is true This should make color management work on most nvidia cards (With Win8 and later.) BUG=576411, 655417 Committed: https://crrev.com/4c2b05e8f0675b31ec399fca5726bd3d4c29a577 Cr-Commit-Position: refs/heads/master@{#429806}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M media/gpu/dxva_video_decode_accelerator_win.cc View 2 chunks +6 lines, -2 lines 3 comments Download

Messages

Total messages: 14 (7 generated)
hubbe
4 years, 1 month ago (2016-11-03 23:25:23 UTC) #3
sandersd (OOO until July 31)
lgtm https://codereview.chromium.org/2470363003/diff/1/media/gpu/dxva_video_decode_accelerator_win.cc File media/gpu/dxva_video_decode_accelerator_win.cc (right): https://codereview.chromium.org/2470363003/diff/1/media/gpu/dxva_video_decode_accelerator_win.cc#newcode1756 media/gpu/dxva_video_decode_accelerator_win.cc:1756: if (share_nv12_textures_ || copy_nv12_textures_) { Would it be ...
4 years, 1 month ago (2016-11-03 23:31:58 UTC) #5
hubbe
https://codereview.chromium.org/2470363003/diff/1/media/gpu/dxva_video_decode_accelerator_win.cc File media/gpu/dxva_video_decode_accelerator_win.cc (right): https://codereview.chromium.org/2470363003/diff/1/media/gpu/dxva_video_decode_accelerator_win.cc#newcode1756 media/gpu/dxva_video_decode_accelerator_win.cc:1756: if (share_nv12_textures_ || copy_nv12_textures_) { On 2016/11/03 23:31:58, sandersd ...
4 years, 1 month ago (2016-11-04 03:49:31 UTC) #8
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/2470363003/1
4 years, 1 month ago (2016-11-04 03:51:33 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-04 06:01:29 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/4c2b05e8f0675b31ec399fca5726bd3d4c29a577 Cr-Commit-Position: refs/heads/master@{#429806}
4 years, 1 month ago (2016-11-04 06:04:58 UTC) #13
sandersd (OOO until July 31)
4 years, 1 month ago (2016-11-04 17:51:34 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/2470363003/diff/1/media/gpu/dxva_video_decode...
File media/gpu/dxva_video_decode_accelerator_win.cc (right):

https://codereview.chromium.org/2470363003/diff/1/media/gpu/dxva_video_decode...
media/gpu/dxva_video_decode_accelerator_win.cc:1756: if (share_nv12_textures_ ||
copy_nv12_textures_) {
On 2016/11/04 03:49:31, hubbe wrote:
> On 2016/11/03 23:31:58, sandersd wrote:
> > Would it be possible to have the color conversion step clear the color
space,
> > instead of not setting it here?
> 
> Possible: Yes, Pretty: No
> 
> The copy happens on another thread, so modifications wouldn't be thread-safe.
In
> addition, the dx11 path doesn't have a natural place
> to put the clear because the copy_nv12_texures_ test only happens in the setup
> code, so we might as well do it here.

This really needs a comment if it's not changing.

Powered by Google App Engine
This is Rietveld 408576698