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

Issue 668633002: Duplicate VideoEncodeAccelerator::SupportedProfile in gpu_info.h. (Closed)

Created:
6 years, 2 months ago by wuchengli
Modified:
6 years, 2 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, mikhal+watch_chromium.org, sievers+watch_chromium.org, mkwst+moarreviews-ipc_chromium.org, miu+watch_chromium.org, jam, jbauman+watch_chromium.org, hguihot+watch_chromium.org, darin-cc_chromium.org, kalyank, hubbe+watch_chromium.org, imcheng+watch_chromium.org, jasonroberts+watch_google.com, feature-media-reviews_chromium.org, piman+watch_chromium.org, hclam+watch_chromium.org, avayvod+watch_chromium.org, mcasas+watch_chromium.org, pwestin+watch_google.com, mkwst+moarreviews-renderer_chromium.org, danakj+watch_chromium.org, wjia+watch_chromium.org, jamesr
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Duplicate VideoEncodeAccelerator::SupportedProfile in gpu_info.h. gpu_info.h depended on media/video and media/ depended on gpu/. gpu/ and media/ had a dependency cycle. Duplicate VEA::SupportedProfile to gpu_info.h so gpu does not depend on media. BUG=420801 TEST=Run apprtc loopback and ensure it uses HW encoder. Committed: https://crrev.com/6dd8cbfeb1b6df605d24988264c775af25ac595b Cr-Commit-Position: refs/heads/master@{#301048}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : duplicate SupportedProfiles #

Patch Set 3 : fix typo #

Total comments: 1

Patch Set 4 : add static_assert for enums #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -16 lines) Patch
M content/common/gpu/client/gpu_video_encode_accelerator_host.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M content/common/gpu/client/gpu_video_encode_accelerator_host.cc View 1 2 3 1 chunk +43 lines, -1 line 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M content/common/gpu/media/gpu_video_encode_accelerator.h View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
M content/common/gpu/media/gpu_video_encode_accelerator.cc View 1 2 3 4 1 chunk +20 lines, -3 lines 0 comments Download
M content/renderer/media/renderer_gpu_video_accelerator_factories.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M gpu/config/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M gpu/config/gpu_info.h View 1 4 chunks +31 lines, -3 lines 0 comments Download
M gpu/config/gpu_info.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/base/video_decoder_config.h View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 22 (6 generated)
wuchengli
PTAL.
6 years, 2 months ago (2014-10-20 13:46:13 UTC) #5
piman
https://codereview.chromium.org/668633002/diff/60001/gpu/config/gpu_info.h File gpu/config/gpu_info.h (right): https://codereview.chromium.org/668633002/diff/60001/gpu/config/gpu_info.h#newcode40 gpu/config/gpu_info.h:40: // This is media::VideoCodecProfile. Use int to avoid the ...
6 years, 2 months ago (2014-10-21 19:41:53 UTC) #6
wuchengli
scherkus@ Onwer review for media/. kenrb@ Owner review for gpu_messages.h. Thanks.
6 years, 2 months ago (2014-10-22 00:51:24 UTC) #8
wuchengli
On 2014/10/21 19:41:53, piman (Very slow to review) wrote: > https://codereview.chromium.org/668633002/diff/60001/gpu/config/gpu_info.h > File gpu/config/gpu_info.h (right): ...
6 years, 2 months ago (2014-10-22 00:52:35 UTC) #9
piman
On Tue, Oct 21, 2014 at 5:52 PM, <wuchengli@chromium.org> wrote: > On 2014/10/21 19:41:53, piman ...
6 years, 2 months ago (2014-10-22 00:57:00 UTC) #10
wuchengli
On 2014/10/22 00:57:00, piman (Very slow to review) wrote: > On Tue, Oct 21, 2014 ...
6 years, 2 months ago (2014-10-22 01:16:34 UTC) #11
wuchengli
I found duplicating SupportedProfiles in gpu_info.h was more concise. PTAL.
6 years, 2 months ago (2014-10-22 08:48:31 UTC) #12
piman
LGTM if adding static_asserts https://codereview.chromium.org/668633002/diff/100001/content/common/gpu/client/gpu_video_encode_accelerator_host.cc File content/common/gpu/client/gpu_video_encode_accelerator_host.cc (right): https://codereview.chromium.org/668633002/diff/100001/content/common/gpu/client/gpu_video_encode_accelerator_host.cc#newcode88 content/common/gpu/client/gpu_video_encode_accelerator_host.cc:88: static_cast<media::VideoCodecProfile>(gpu_profiles[i].profile); Can you add a ...
6 years, 2 months ago (2014-10-22 20:46:31 UTC) #13
scherkus (not reviewing)
lgtm
6 years, 2 months ago (2014-10-22 22:46:23 UTC) #14
wuchengli
kenrb@ Owner review for gpu_messages.h. Thanks.
6 years, 2 months ago (2014-10-23 02:16:45 UTC) #15
wuchengli
On 2014/10/22 20:46:31, piman (Very slow to review) wrote: > LGTM if adding static_asserts > ...
6 years, 2 months ago (2014-10-23 03:48:13 UTC) #16
piman
lgtm
6 years, 2 months ago (2014-10-23 03:58:02 UTC) #17
kenrb
ipc lgtm
6 years, 2 months ago (2014-10-23 16:09:36 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/668633002/140001
6 years, 2 months ago (2014-10-24 03:27:35 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:140001)
6 years, 2 months ago (2014-10-24 04:54:24 UTC) #21
commit-bot: I haz the power
6 years, 2 months ago (2014-10-24 04:55:10 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/6dd8cbfeb1b6df605d24988264c775af25ac595b
Cr-Commit-Position: refs/heads/master@{#301048}

Powered by Google App Engine
This is Rietveld 408576698