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

Issue 603153002: vaapi: detect supported profiles in runtime. (Closed)

Created:
6 years, 2 months ago by wuchengli
Modified:
6 years, 2 months ago
Reviewers:
kcwu, Pawel Osciak
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, wjia+watch_chromium.org, henryhsu
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

vaapi: detect supported profiles in runtime. BUG=350197, 402182 TEST=Run vainfo and VEA unittest on various Intel platforms. Committed: https://crrev.com/e0e2bda200a1474e5d1930659b7066776f84d8ae Cr-Commit-Position: refs/heads/master@{#296925}

Patch Set 1 : #

Total comments: 12

Patch Set 2 : address review comments #

Patch Set 3 : fix a bug in IsProfileSupported #

Patch Set 4 : fix a comment #

Total comments: 1

Patch Set 5 : change IsProfileSupported back to IsEntrypointSupported and IsAttribSupported #

Patch Set 6 : rename to AreAttribsSupported and add va_lock_ to TryToSetVADisplayAttributeToLocalGPU #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -63 lines) Patch
M content/common/gpu/media/vaapi_video_encode_accelerator.cc View 1 1 chunk +9 lines, -11 lines 0 comments Download
M content/common/gpu/media/vaapi_wrapper.h View 1 2 3 4 5 2 chunks +13 lines, -1 line 0 comments Download
M content/common/gpu/media/vaapi_wrapper.cc View 1 2 3 4 5 7 chunks +119 lines, -51 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
wuchengli
PTAL.
6 years, 2 months ago (2014-09-25 13:59:11 UTC) #3
Pawel Osciak
https://chromiumcodereview.appspot.com/603153002/diff/20001/content/common/gpu/media/vaapi_video_encode_accelerator.cc File content/common/gpu/media/vaapi_video_encode_accelerator.cc (right): https://chromiumcodereview.appspot.com/603153002/diff/20001/content/common/gpu/media/vaapi_video_encode_accelerator.cc#newcode113 content/common/gpu/media/vaapi_video_encode_accelerator.cc:113: std::vector<media::VideoCodecProfile> codecs = maybe: s/codecs/hw_profiles/ ? https://chromiumcodereview.appspot.com/603153002/diff/20001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc ...
6 years, 2 months ago (2014-09-26 07:15:12 UTC) #4
kcwu
https://codereview.chromium.org/603153002/diff/20001/content/common/gpu/media/vaapi_video_encode_accelerator.cc File content/common/gpu/media/vaapi_video_encode_accelerator.cc (right): https://codereview.chromium.org/603153002/diff/20001/content/common/gpu/media/vaapi_video_encode_accelerator.cc#newcode119 content/common/gpu/media/vaapi_video_encode_accelerator.cc:119: profile.max_resolution.SetSize(1920, 1088); Is this detectable? https://codereview.chromium.org/603153002/diff/20001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (right): ...
6 years, 2 months ago (2014-09-26 07:50:46 UTC) #5
Pawel Osciak
https://codereview.chromium.org/603153002/diff/20001/content/common/gpu/media/vaapi_video_encode_accelerator.cc File content/common/gpu/media/vaapi_video_encode_accelerator.cc (right): https://codereview.chromium.org/603153002/diff/20001/content/common/gpu/media/vaapi_video_encode_accelerator.cc#newcode119 content/common/gpu/media/vaapi_video_encode_accelerator.cc:119: profile.max_resolution.SetSize(1920, 1088); On 2014/09/26 07:50:45, kcwu wrote: > Is ...
6 years, 2 months ago (2014-09-26 07:52:27 UTC) #6
wuchengli
PTAL. https://codereview.chromium.org/603153002/diff/20001/content/common/gpu/media/vaapi_video_encode_accelerator.cc File content/common/gpu/media/vaapi_video_encode_accelerator.cc (right): https://codereview.chromium.org/603153002/diff/20001/content/common/gpu/media/vaapi_video_encode_accelerator.cc#newcode113 content/common/gpu/media/vaapi_video_encode_accelerator.cc:113: std::vector<media::VideoCodecProfile> codecs = On 2014/09/26 07:15:12, Pawel Osciak ...
6 years, 2 months ago (2014-09-26 09:02:29 UTC) #8
kcwu
https://codereview.chromium.org/603153002/diff/100001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (right): https://codereview.chromium.org/603153002/diff/100001/content/common/gpu/media/vaapi_wrapper.cc#newcode71 content/common/gpu/media/vaapi_wrapper.cc:71: {media::H264PROFILE_HIGH, VAProfileH264High}}; how about }; in next line
6 years, 2 months ago (2014-09-26 10:06:14 UTC) #9
wuchengli
PTAL
6 years, 2 months ago (2014-09-26 10:30:38 UTC) #11
wuchengli
PTAL.
6 years, 2 months ago (2014-09-26 10:57:34 UTC) #12
kcwu
lgtm
6 years, 2 months ago (2014-09-26 10:58:47 UTC) #13
Pawel Osciak
lgtm
6 years, 2 months ago (2014-09-26 11:00:38 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/603153002/150001
6 years, 2 months ago (2014-09-26 11:15:30 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:150001) as d76b62016af4b1d35f1d372154b8a91b00a2751e
6 years, 2 months ago (2014-09-26 12:27:03 UTC) #17
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 12:28:12 UTC) #18
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/e0e2bda200a1474e5d1930659b7066776f84d8ae
Cr-Commit-Position: refs/heads/master@{#296925}

Powered by Google App Engine
This is Rietveld 408576698