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

Issue 795633005: Add VDA supported profile to GPUInfo. (Closed)

Created:
6 years ago by henryhsu
Modified:
5 years, 8 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add VDA supported profile to GPUInfo Different CrOS devices have different supported decode profiles. Add VDA supported profile to GPUInfo so this can be detected in runtime. This is also the preparation of removing --ignore-resolution-limits-for-accelerated-video-decode flag. BUG=350197 TEST=Play a video on Exynos and Intel CrOS devices and make sure Media.GpuVideoDecoderInitializeStatus is 0. Committed: https://crrev.com/d118544f749bae18a188141edba216fed9163eba Cr-Commit-Position: refs/heads/master@{#324596}

Patch Set 1 #

Patch Set 2 : Add profile crash #

Patch Set 3 : ready for review #

Patch Set 4 : edit description #

Total comments: 13

Patch Set 5 : Return to resolution only #

Total comments: 24

Patch Set 6 : address review comments #

Total comments: 6

Patch Set 7 : address patch set 6 review comments #

Total comments: 12

Patch Set 8 : address patch set 7 review comments #

Total comments: 15

Patch Set 9 : dispatch GetSupportedResolution to each vda #

Total comments: 16

Patch Set 10 : address patch set 9 review comments #

Total comments: 8

Patch Set 11 : address sandersd review comments #

Patch Set 12 : rebase #

Total comments: 1

Patch Set 13 : Change to GetSupportedProfile #

Total comments: 12

Patch Set 14 : address patch set 13 review comments #

Total comments: 53

Patch Set 15 : add GetSupportedProfile for v4l2_slice_vda #

Patch Set 16 : address patch set 14 review comments #

Patch Set 17 : fix nits #

Total comments: 30

Patch Set 18 : #

Total comments: 8

Patch Set 19 : add GetSupportedProfile to all platforms #

Total comments: 14

Patch Set 20 : rebase #

Patch Set 21 : address patch 19 #

Total comments: 16

Patch Set 22 : fix nits and compile errors #

Patch Set 23 : rebase #

Patch Set 24 : fix nit #

Total comments: 29

Patch Set 25 : address patch set 24 comments #

Patch Set 26 : fix nits #

Total comments: 2

Patch Set 27 : fix nits #

Patch Set 28 : rebase #

Patch Set 29 : add CONTENT_EXPORT for windows #

Patch Set 30 : remove CONTENT_EXPORT for gpu_video_accelerator_util #

Total comments: 1

Patch Set 31 : fix compile error #

Patch Set 32 : fix compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+665 lines, -192 lines) Patch
M content/browser/devtools/protocol/system_info_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/gpu/client/gpu_video_encode_accelerator_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +1 line, -5 lines 0 comments Download
M content/common/gpu/client/gpu_video_encode_accelerator_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +4 lines, -45 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 3 chunks +13 lines, -6 lines 0 comments Download
M content/common/gpu/media/android_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/gpu/media/android_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +16 lines, -0 lines 0 comments Download
M content/common/gpu/media/android_video_encode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/android_video_encode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/dxva_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/gpu/media/dxva_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 3 chunks +35 lines, -5 lines 0 comments Download
A content/common/gpu/media/gpu_video_accelerator_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 29 1 chunk +53 lines, -0 lines 0 comments Download
A content/common/gpu/media/gpu_video_accelerator_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +133 lines, -0 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +6 lines, -0 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 3 chunks +36 lines, -1 line 0 comments Download
M content/common/gpu/media/gpu_video_encode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +3 lines, -6 lines 0 comments Download
M content/common/gpu/media/gpu_video_encode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +8 lines, -24 lines 0 comments Download
M content/common/gpu/media/v4l2_device.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +5 lines, -0 lines 0 comments Download
M content/common/gpu/media/v4l2_device.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +0 lines, -5 lines 0 comments Download
M content/common/gpu/media/v4l2_slice_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +41 lines, -0 lines 0 comments Download
M content/common/gpu/media/v4l2_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/gpu/media/v4l2_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +45 lines, -0 lines 0 comments Download
M content/common/gpu/media/v4l2_video_encode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/v4l2_video_encode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +6 lines, -2 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +6 lines, -0 lines 0 comments Download
M content/common/gpu/media/vaapi_video_encode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/vaapi_video_encode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +1 line, -2 lines 0 comments Download
M content/common/gpu/media/vaapi_wrapper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2 chunks +6 lines, -1 line 0 comments Download
M content/common/gpu/media/vaapi_wrapper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2 chunks +27 lines, -2 lines 0 comments Download
M content/common/gpu/media/vt_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/gpu/media/vt_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 3 chunks +35 lines, -6 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +2 lines, -0 lines 0 comments Download
M content/gpu/gpu_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +3 lines, -0 lines 0 comments Download
M content/public/renderer/video_encode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/renderer/video_encode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/media/renderer_gpu_video_accelerator_factories.h View 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 17 18 1 chunk +4 lines, -1 line 0 comments Download
M content/renderer/media/renderer_gpu_video_accelerator_factories.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +11 lines, -3 lines 0 comments Download
M content/renderer/media/rtc_video_encoder_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_video_encoder_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/pepper/video_encoder_shim.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/pepper/video_encoder_shim.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +7 lines, -7 lines 0 comments Download
M gpu/config/gpu_info.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 4 chunks +19 lines, -1 line 0 comments Download
M gpu/config/gpu_info.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 5 chunks +26 lines, -14 lines 0 comments Download
M gpu/config/gpu_info_collector.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/config/gpu_info_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/gpu_video_decoder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/gpu_video_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 3 chunks +22 lines, -30 lines 0 comments Download
M media/renderers/gpu_video_accelerator_factories.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +6 lines, -1 line 0 comments Download
M media/renderers/mock_gpu_video_accelerator_factories.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +3 lines, -1 line 0 comments Download
M media/video/fake_video_encode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +1 line, -2 lines 0 comments Download
M media/video/fake_video_encode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +2 lines, -2 lines 0 comments Download
M media/video/video_decode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +11 lines, -0 lines 0 comments Download
M media/video/video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +7 lines, -0 lines 0 comments Download
M media/video/video_encode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2 chunks +5 lines, -2 lines 0 comments Download
M media/video/video_encode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 83 (12 generated)
henryhsu
PTAL
6 years ago (2014-12-18 10:49:42 UTC) #2
wuchengli
https://codereview.chromium.org/795633005/diff/60001/content/common/gpu/client/gpu_video_decode_accelerator_host.cc File content/common/gpu/client/gpu_video_decode_accelerator_host.cc (right): https://codereview.chromium.org/795633005/diff/60001/content/common/gpu/client/gpu_video_decode_accelerator_host.cc#newcode98 content/common/gpu/client/gpu_video_decode_accelerator_host.cc:98: STATIC_ASSERT_ENUM_MATCH(VIDEO_CODEC_PROFILE_UNKNOWN); Duplicating all these is bad. How about adding ...
6 years ago (2014-12-19 03:35:18 UTC) #3
wuchengli
https://codereview.chromium.org/795633005/diff/60001/content/common/gpu/media/android_video_decode_accelerator.cc File content/common/gpu/media/android_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/60001/content/common/gpu/media/android_video_decode_accelerator.cc#newcode93 content/common/gpu/media/android_video_decode_accelerator.cc:93: AndroidVideoDecodeAccelerator::GetSupportedProfiles() { As discussed, it becomes a huge change ...
6 years ago (2014-12-19 11:21:57 UTC) #4
wuchengli
https://codereview.chromium.org/795633005/diff/80001/content/common/gpu/client/gpu_video_decode_accelerator_host.cc File content/common/gpu/client/gpu_video_decode_accelerator_host.cc (right): https://codereview.chromium.org/795633005/diff/80001/content/common/gpu/client/gpu_video_decode_accelerator_host.cc#newcode83 content/common/gpu/client/gpu_video_decode_accelerator_host.cc:83: GpuVideoDecodeAcceleratorHost::GetSupportedResolution() { not used. Right? Remove this. Move ConvertGpuToMediaResolution ...
6 years ago (2014-12-22 06:18:42 UTC) #5
henryhsu
all done. PTAL https://codereview.chromium.org/795633005/diff/80001/content/common/gpu/client/gpu_video_decode_accelerator_host.cc File content/common/gpu/client/gpu_video_decode_accelerator_host.cc (right): https://codereview.chromium.org/795633005/diff/80001/content/common/gpu/client/gpu_video_decode_accelerator_host.cc#newcode83 content/common/gpu/client/gpu_video_decode_accelerator_host.cc:83: GpuVideoDecodeAcceleratorHost::GetSupportedResolution() { On 2014/12/22 06:18:41, wuchengli ...
6 years ago (2014-12-22 08:34:14 UTC) #6
wuchengli
https://codereview.chromium.org/795633005/diff/80001/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/80001/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode344 content/common/gpu/media/gpu_video_decode_accelerator.cc:344: resolution.max.SetSize(4096, 2160); On 2014/12/22 08:34:13, henryhsu wrote: > On ...
6 years ago (2014-12-22 09:39:25 UTC) #7
henryhsu
all done https://codereview.chromium.org/795633005/diff/80001/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/80001/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode344 content/common/gpu/media/gpu_video_decode_accelerator.cc:344: resolution.max.SetSize(4096, 2160); On 2014/12/22 09:39:24, wuchengli wrote: ...
6 years ago (2014-12-23 02:52:37 UTC) #8
wuchengli
https://codereview.chromium.org/795633005/diff/120001/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/120001/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode324 content/common/gpu/media/gpu_video_decode_accelerator.cc:324: resolution.min.SetSize(16, 16); Moving this line to non-windows case (line ...
6 years ago (2014-12-23 03:37:20 UTC) #9
henryhsu
all done https://codereview.chromium.org/795633005/diff/120001/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/120001/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode324 content/common/gpu/media/gpu_video_decode_accelerator.cc:324: resolution.min.SetSize(16, 16); On 2014/12/23 03:37:20, wuchengli wrote: ...
6 years ago (2014-12-23 05:52:06 UTC) #10
wuchengli
Looking good except one comment. Please start adding owners for review. Also ask sandersd for ...
6 years ago (2014-12-23 07:52:09 UTC) #11
henryhsu
kenrb@chromium.org: Please review changes in scherkus@chromium.org: Please review changes in piman@chromium.org: Please review changes in ...
6 years ago (2014-12-23 10:23:49 UTC) #13
wuchengli
On 2014/12/23 10:23:49, henryhsu wrote: > mailto:kenrb@chromium.org: Please review changes in > > mailto:scherkus@chromium.org: Please ...
6 years ago (2014-12-23 11:07:26 UTC) #14
piman
https://codereview.chromium.org/795633005/diff/140001/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/140001/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode331 content/common/gpu/media/gpu_video_decode_accelerator.cc:331: #else Does this #else clause also apply to mac? ...
6 years ago (2014-12-23 19:02:14 UTC) #15
Pawel Osciak
On 2014/12/23 19:02:14, piman (Very slow to review) wrote: > https://codereview.chromium.org/795633005/diff/140001/content/common/gpu/media/gpu_video_decode_accelerator.cc > File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): ...
5 years, 12 months ago (2014-12-24 01:07:57 UTC) #16
piman
On Tue, Dec 23, 2014 at 5:07 PM, <posciak@chromium.org> wrote: > On 2014/12/23 19:02:14, piman ...
5 years, 12 months ago (2014-12-24 01:27:18 UTC) #17
Pawel Osciak
https://codereview.chromium.org/795633005/diff/140001/content/common/gpu/gpu_messages.h File content/common/gpu/gpu_messages.h (right): https://codereview.chromium.org/795633005/diff/140001/content/common/gpu/gpu_messages.h#newcode155 content/common/gpu/gpu_messages.h:155: IPC_STRUCT_TRAITS_BEGIN(gpu::VideoDecodeAcceleratorSupportedResolution) Would it make sense to call this Capabilities ...
5 years, 12 months ago (2014-12-24 01:35:12 UTC) #18
Pawel Osciak
On 2014/12/24 01:27:18, piman (Very slow to review) wrote: > On Tue, Dec 23, 2014 ...
5 years, 12 months ago (2014-12-24 02:03:59 UTC) #19
wuchengli
https://codereview.chromium.org/795633005/diff/140001/content/common/gpu/gpu_messages.h File content/common/gpu/gpu_messages.h (right): https://codereview.chromium.org/795633005/diff/140001/content/common/gpu/gpu_messages.h#newcode155 content/common/gpu/gpu_messages.h:155: IPC_STRUCT_TRAITS_BEGIN(gpu::VideoDecodeAcceleratorSupportedResolution) On 2014/12/24 01:35:11, Pawel Osciak wrote: > Would ...
5 years, 12 months ago (2014-12-24 02:53:23 UTC) #20
henryhsu
Hi sandersd, Could you help confirm what the maximum resolution is for mac? We moved ...
5 years, 12 months ago (2014-12-24 10:02:21 UTC) #22
wuchengli
https://codereview.chromium.org/795633005/diff/160001/content/common/gpu/media/android_video_decode_accelerator.cc File content/common/gpu/media/android_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/160001/content/common/gpu/media/android_video_decode_accelerator.cc#newcode90 content/common/gpu/media/android_video_decode_accelerator.cc:90: resolution.max.SetSize(1920, 1088); Better to ask someone from chrome media ...
5 years, 12 months ago (2014-12-26 09:37:07 UTC) #23
henryhsu
Hi qinmin, Could you help review android part? Thank you. https://codereview.chromium.org/795633005/diff/160001/content/common/gpu/media/android_video_decode_accelerator.cc File content/common/gpu/media/android_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/160001/content/common/gpu/media/android_video_decode_accelerator.cc#newcode90 ...
5 years, 12 months ago (2014-12-26 10:25:19 UTC) #25
kenrb
ipc lgtm
5 years, 11 months ago (2015-01-02 14:26:57 UTC) #26
qinmin
lgtm on android_video_decoder_accelerator
5 years, 11 months ago (2015-01-02 22:47:10 UTC) #27
henryhsu
Hi piman and sandersd, Please take a look. Thanks.
5 years, 11 months ago (2015-01-05 10:48:50 UTC) #28
sandersd (OOO until July 31)
https://codereview.chromium.org/795633005/diff/180001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/180001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode926 content/common/gpu/media/vt_video_decode_accelerator.cc:926: resolution.min.SetSize(16, 16); Below 480P, VideoToolbox uses an internal software ...
5 years, 11 months ago (2015-01-05 19:12:04 UTC) #29
piman
On Tue, Dec 23, 2014 at 6:03 PM, <posciak@chromium.org> wrote: > On 2014/12/24 01:27:18, piman ...
5 years, 11 months ago (2015-01-05 21:41:07 UTC) #30
piman
https://codereview.chromium.org/795633005/diff/180001/content/common/gpu/media/vaapi_video_decode_accelerator.cc File content/common/gpu/media/vaapi_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/180001/content/common/gpu/media/vaapi_video_decode_accelerator.cc#newcode934 content/common/gpu/media/vaapi_video_decode_accelerator.cc:934: if ((cpu.vendor_name() == "GenuineIntel") && cpu.model() >= 55) NAK. ...
5 years, 11 months ago (2015-01-05 21:45:22 UTC) #31
henryhsu
https://codereview.chromium.org/795633005/diff/180001/content/common/gpu/media/vaapi_video_decode_accelerator.cc File content/common/gpu/media/vaapi_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/180001/content/common/gpu/media/vaapi_video_decode_accelerator.cc#newcode934 content/common/gpu/media/vaapi_video_decode_accelerator.cc:934: if ((cpu.vendor_name() == "GenuineIntel") && cpu.model() >= 55) On ...
5 years, 11 months ago (2015-01-13 05:40:44 UTC) #32
piman
On Mon, Jan 12, 2015 at 9:40 PM, <henryhsu@chromium.org> wrote: > > https://codereview.chromium.org/795633005/diff/180001/ > content/common/gpu/media/vaapi_video_decode_accelerator.cc ...
5 years, 11 months ago (2015-01-13 07:33:37 UTC) #33
sandersd (OOO until July 31)
https://codereview.chromium.org/795633005/diff/180001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/180001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode926 content/common/gpu/media/vt_video_decode_accelerator.cc:926: resolution.min.SetSize(16, 16); On 2015/01/13 05:40:44, henryhsu wrote: > On ...
5 years, 11 months ago (2015-01-13 18:02:15 UTC) #34
robert.bradford
https://codereview.chromium.org/795633005/diff/220001/content/common/gpu/media/vaapi_video_decode_accelerator.cc File content/common/gpu/media/vaapi_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/220001/content/common/gpu/media/vaapi_video_decode_accelerator.cc#newcode749 content/common/gpu/media/vaapi_video_decode_accelerator.cc:749: if ((cpu.vendor_name() == "GenuineIntel") && cpu.model() >= 55) I ...
5 years, 11 months ago (2015-01-27 12:27:58 UTC) #35
wuchengli
On 2015/01/27 12:27:58, robert.bradford wrote: > https://codereview.chromium.org/795633005/diff/220001/content/common/gpu/media/vaapi_video_decode_accelerator.cc > File content/common/gpu/media/vaapi_video_decode_accelerator.cc (right): > > https://codereview.chromium.org/795633005/diff/220001/content/common/gpu/media/vaapi_video_decode_accelerator.cc#newcode749 > ...
5 years, 11 months ago (2015-01-27 12:55:53 UTC) #36
henryhsu
Since vaapi can query profile and resolution, we decide to change GetSupportedResolution to GetSupportedProfile for ...
5 years, 9 months ago (2015-03-14 09:30:16 UTC) #37
henryhsu
5 years, 9 months ago (2015-03-14 09:30:32 UTC) #38
wuchengli
https://codereview.chromium.org/795633005/diff/240001/content/common/gpu/media/v4l2_video_decode_accelerator.cc File content/common/gpu/media/v4l2_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/240001/content/common/gpu/media/v4l2_video_decode_accelerator.cc#newcode237 content/common/gpu/media/v4l2_video_decode_accelerator.cc:237: case V4L2_PIX_FMT_VP8: Need VP9. https://codereview.chromium.org/795633005/diff/240001/content/renderer/media/renderer_gpu_video_accelerator_factories.h File content/renderer/media/renderer_gpu_video_accelerator_factories.h (right): https://codereview.chromium.org/795633005/diff/240001/content/renderer/media/renderer_gpu_video_accelerator_factories.h#newcode65 ...
5 years, 9 months ago (2015-03-16 02:53:20 UTC) #39
Pawel Osciak
Please also add this to V4L2SliceVDA. Thanks.
5 years, 9 months ago (2015-03-16 03:02:50 UTC) #40
henryhsu
On 2015/03/16 03:02:50, Pawel Osciak wrote: > Please also add this to V4L2SliceVDA. Thanks. V4L2SliceVDA::GetSupportedProfiles ...
5 years, 9 months ago (2015-03-16 03:08:01 UTC) #41
Pawel Osciak
On 2015/03/16 03:08:01, henryhsu wrote: > On 2015/03/16 03:02:50, Pawel Osciak wrote: > > Please ...
5 years, 9 months ago (2015-03-16 03:26:39 UTC) #42
wuchengli
https://codereview.chromium.org/795633005/diff/240001/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/240001/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode395 content/common/gpu/media/gpu_video_decode_accelerator.cc:395: GpuVideoDecodeAccelerator::GetSupportedProfiles() { You need to combine the supported profiles ...
5 years, 9 months ago (2015-03-16 03:30:10 UTC) #43
Pawel Osciak
On 2015/03/16 03:30:10, wuchengli wrote: > https://codereview.chromium.org/795633005/diff/240001/content/common/gpu/media/gpu_video_decode_accelerator.cc > File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): > > https://codereview.chromium.org/795633005/diff/240001/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode395 > ...
5 years, 9 months ago (2015-03-16 03:35:46 UTC) #44
henryhsu
all done. PTAL https://codereview.chromium.org/795633005/diff/240001/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/240001/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode395 content/common/gpu/media/gpu_video_decode_accelerator.cc:395: GpuVideoDecodeAccelerator::GetSupportedProfiles() { On 2015/03/16 03:30:10, wuchengli ...
5 years, 9 months ago (2015-03-16 08:31:18 UTC) #45
wuchengli
https://codereview.chromium.org/795633005/diff/260001/content/common/gpu/client/gpu_video_decode_accelerator_host.cc File content/common/gpu/client/gpu_video_decode_accelerator_host.cc (right): https://codereview.chromium.org/795633005/diff/260001/content/common/gpu/client/gpu_video_decode_accelerator_host.cc#newcode12 content/common/gpu/client/gpu_video_decode_accelerator_host.cc:12: #include "content/common/gpu/media/gpu_video_accelerator_util.h" not needed? https://codereview.chromium.org/795633005/diff/260001/content/common/gpu/client/gpu_video_decode_accelerator_host.h File content/common/gpu/client/gpu_video_decode_accelerator_host.h (right): https://codereview.chromium.org/795633005/diff/260001/content/common/gpu/client/gpu_video_decode_accelerator_host.h#newcode13 ...
5 years, 9 months ago (2015-03-18 08:02:38 UTC) #46
henryhsu
https://codereview.chromium.org/795633005/diff/260001/content/common/gpu/client/gpu_video_decode_accelerator_host.cc File content/common/gpu/client/gpu_video_decode_accelerator_host.cc (right): https://codereview.chromium.org/795633005/diff/260001/content/common/gpu/client/gpu_video_decode_accelerator_host.cc#newcode12 content/common/gpu/client/gpu_video_decode_accelerator_host.cc:12: #include "content/common/gpu/media/gpu_video_accelerator_util.h" On 2015/03/18 08:02:36, wuchengli wrote: > not ...
5 years, 9 months ago (2015-03-18 11:06:10 UTC) #47
wuchengli
Looking good. Only small comments. https://codereview.chromium.org/795633005/diff/320001/content/common/gpu/media/gpu_video_accelerator_util.cc File content/common/gpu/media/gpu_video_accelerator_util.cc (right): https://codereview.chromium.org/795633005/diff/320001/content/common/gpu/media/gpu_video_accelerator_util.cc#newcode61 content/common/gpu/media/gpu_video_accelerator_util.cc:61: duplicate = true; I ...
5 years, 9 months ago (2015-03-19 06:19:25 UTC) #48
henryhsu
https://codereview.chromium.org/795633005/diff/320001/content/common/gpu/media/gpu_video_accelerator_util.cc File content/common/gpu/media/gpu_video_accelerator_util.cc (right): https://codereview.chromium.org/795633005/diff/320001/content/common/gpu/media/gpu_video_accelerator_util.cc#newcode61 content/common/gpu/media/gpu_video_accelerator_util.cc:61: duplicate = true; On 2015/03/19 06:19:24, wuchengli wrote: > ...
5 years, 9 months ago (2015-03-19 10:00:33 UTC) #49
wuchengli
LGTM with three minor comments. Please also rebase because GVDA has been changed. piman: please ...
5 years, 9 months ago (2015-03-19 15:02:57 UTC) #51
piman
https://codereview.chromium.org/795633005/diff/340001/gpu/config/gpu_info.h File gpu/config/gpu_info.h (right): https://codereview.chromium.org/795633005/diff/340001/gpu/config/gpu_info.h#newcode221 gpu/config/gpu_info.h:221: bool support_query_video_decode_profiles; Why do we do this? If this ...
5 years, 9 months ago (2015-03-19 20:46:09 UTC) #52
wuchengli
On 2015/03/19 20:46:09, piman (Very slow to review) wrote: > https://codereview.chromium.org/795633005/diff/340001/gpu/config/gpu_info.h > File gpu/config/gpu_info.h (right): ...
5 years, 9 months ago (2015-03-20 01:26:34 UTC) #53
piman
On Thu, Mar 19, 2015 at 6:26 PM, <wuchengli@chromium.org> wrote: > On 2015/03/19 20:46:09, piman ...
5 years, 9 months ago (2015-03-20 03:06:27 UTC) #54
wuchengli
On 2015/03/20 03:06:27, piman (Very slow to review) wrote: > On Thu, Mar 19, 2015 ...
5 years, 9 months ago (2015-03-20 05:18:04 UTC) #55
henryhsu
PTAL. https://codereview.chromium.org/795633005/diff/340001/content/common/gpu/media/gpu_video_accelerator_util.h File content/common/gpu/media/gpu_video_accelerator_util.h (right): https://codereview.chromium.org/795633005/diff/340001/content/common/gpu/media/gpu_video_accelerator_util.h#newcode39 content/common/gpu/media/gpu_video_accelerator_util.h:39: static void UniqueInsertDecodeProfiles( On 2015/03/19 15:02:57, wuchengli wrote: ...
5 years, 9 months ago (2015-03-23 03:21:08 UTC) #56
wuchengli
Please also rebase. https://codereview.chromium.org/795633005/diff/360001/content/common/gpu/media/android_video_decode_accelerator.cc File content/common/gpu/media/android_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/360001/content/common/gpu/media/android_video_decode_accelerator.cc#newcode561 content/common/gpu/media/android_video_decode_accelerator.cc:561: // Supported media profiles should be ...
5 years, 9 months ago (2015-03-23 08:28:08 UTC) #57
henryhsu
https://codereview.chromium.org/795633005/diff/360001/content/common/gpu/media/android_video_decode_accelerator.cc File content/common/gpu/media/android_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/360001/content/common/gpu/media/android_video_decode_accelerator.cc#newcode561 content/common/gpu/media/android_video_decode_accelerator.cc:561: // Supported media profiles should be synced with Initialize ...
5 years, 9 months ago (2015-03-23 10:06:36 UTC) #58
wuchengli
lgtm with some small comments https://codereview.chromium.org/795633005/diff/400001/content/common/gpu/media/dxva_video_decode_accelerator.cc File content/common/gpu/media/dxva_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/400001/content/common/gpu/media/dxva_video_decode_accelerator.cc#newcode106 content/common/gpu/media/dxva_video_decode_accelerator.cc:106: const media::VideoCodecProfile kSupportedProfiles[] = ...
5 years, 9 months ago (2015-03-23 14:42:06 UTC) #59
piman
LGTM + nits. https://codereview.chromium.org/795633005/diff/400001/content/common/gpu/media/dxva_video_decode_accelerator.cc File content/common/gpu/media/dxva_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/400001/content/common/gpu/media/dxva_video_decode_accelerator.cc#newcode546 content/common/gpu/media/dxva_video_decode_accelerator.cc:546: for (size_t i = 0; i ...
5 years, 9 months ago (2015-03-23 20:29:30 UTC) #60
wuchengli
xhwang: please OWNER review for media/. Thanks.
5 years, 9 months ago (2015-03-24 07:03:36 UTC) #61
henryhsu
https://codereview.chromium.org/795633005/diff/400001/content/common/gpu/media/dxva_video_decode_accelerator.cc File content/common/gpu/media/dxva_video_decode_accelerator.cc (right): https://codereview.chromium.org/795633005/diff/400001/content/common/gpu/media/dxva_video_decode_accelerator.cc#newcode106 content/common/gpu/media/dxva_video_decode_accelerator.cc:106: const media::VideoCodecProfile kSupportedProfiles[] = { On 2015/03/23 14:42:05, wuchengli ...
5 years, 9 months ago (2015-03-24 10:02:44 UTC) #62
xhwang
Sorry for the delay. I just have some minor comments. https://codereview.chromium.org/795633005/diff/460001/media/filters/gpu_video_decoder.cc File media/filters/gpu_video_decoder.cc (right): https://codereview.chromium.org/795633005/diff/460001/media/filters/gpu_video_decoder.cc#newcode103 ...
5 years, 9 months ago (2015-03-26 06:15:32 UTC) #63
wuchengli
ananta@, sandersd@, and qinmin@. It is hard for us to test VDA on all four ...
5 years, 9 months ago (2015-03-26 07:27:24 UTC) #65
Pawel Osciak
https://codereview.chromium.org/795633005/diff/460001/content/common/gpu/media/gpu_video_accelerator_util.h File content/common/gpu/media/gpu_video_accelerator_util.h (right): https://codereview.chromium.org/795633005/diff/460001/content/common/gpu/media/gpu_video_accelerator_util.h#newcode38 content/common/gpu/media/gpu_video_accelerator_util.h:38: // Insert decoder media profiles without duplicate. Convert |new_profiles| ...
5 years, 9 months ago (2015-03-26 08:36:40 UTC) #66
henryhsu_tw
PTAL https://codereview.chromium.org/795633005/diff/460001/content/common/gpu/media/gpu_video_accelerator_util.h File content/common/gpu/media/gpu_video_accelerator_util.h (right): https://codereview.chromium.org/795633005/diff/460001/content/common/gpu/media/gpu_video_accelerator_util.h#newcode38 content/common/gpu/media/gpu_video_accelerator_util.h:38: // Insert decoder media profiles without duplicate. On ...
5 years, 9 months ago (2015-03-26 09:38:35 UTC) #68
xhwang
media/ lgtm % nits https://codereview.chromium.org/795633005/diff/460001/media/renderers/gpu_video_accelerator_factories.h File media/renderers/gpu_video_accelerator_factories.h (right): https://codereview.chromium.org/795633005/diff/460001/media/renderers/gpu_video_accelerator_factories.h#newcode70 media/renderers/gpu_video_accelerator_factories.h:70: GetVideoDecodeAcceleratorSupportedProfiles() = 0; On 2015/03/26 ...
5 years, 9 months ago (2015-03-26 16:21:49 UTC) #69
henryhsu_tw
Tested and passed on Android.
5 years, 8 months ago (2015-03-30 08:29:58 UTC) #70
Justin Chuang
On 2015/03/30 08:29:58, henryhsu_tw wrote: > Tested and passed on Android. Tested and passed on ...
5 years, 8 months ago (2015-03-31 06:26:13 UTC) #71
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/795633005/580001
5 years, 8 months ago (2015-04-09 09:36:26 UTC) #74
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/25821)
5 years, 8 months ago (2015-04-09 10:03:09 UTC) #76
wuchengli
https://codereview.chromium.org/795633005/diff/580001/media/video/video_decode_accelerator.h File media/video/video_decode_accelerator.h (right): https://codereview.chromium.org/795633005/diff/580001/media/video/video_decode_accelerator.h#newcode27 media/video/video_decode_accelerator.h:27: struct SupportedProfile { I think this needs MEDIA_EXPORT. Same ...
5 years, 8 months ago (2015-04-10 02:49:35 UTC) #77
wuchengli
Tested on Windows 7 and hardware decode acceleration worked.
5 years, 8 months ago (2015-04-10 03:02:54 UTC) #78
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/795633005/620001
5 years, 8 months ago (2015-04-10 05:23:09 UTC) #81
commit-bot: I haz the power
Committed patchset #32 (id:620001)
5 years, 8 months ago (2015-04-10 06:39:27 UTC) #82
commit-bot: I haz the power
5 years, 8 months ago (2015-04-10 06:40:17 UTC) #83
Message was sent while issue was closed.
Patchset 32 (id:??) landed as
https://crrev.com/d118544f749bae18a188141edba216fed9163eba
Cr-Commit-Position: refs/heads/master@{#324596}

Powered by Google App Engine
This is Rietveld 408576698