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

Issue 179543002: Use generate_stubs.py for VAAPI symbols. (Closed)

Created:
6 years, 10 months ago by haltonhuo
Modified:
6 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, piman+watch_chromium.org, darin-cc_chromium.org, jam, feature-media-reviews_chromium.org, Jorge Lucangeli Obes
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Use generate_stubs.py for VAAPI symbols and remove VAAPI < 0.34 TODO. VAAPI on ChromeOS is updated to 0.34, so remove the vaCreateSurfaces() TODO. And use generate_stubs.py for simplify. BUG=None TEST=content_shell and chrome to view H264 oneline videos. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256781

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove VAAPI < 0.34 TODO #

Total comments: 1

Patch Set 3 : Fix presubmit warning #

Total comments: 2

Patch Set 4 : Change based on r253651, added vaMaxNumProfiles and vaQueryConfigProfiles #

Total comments: 1

Patch Set 5 : remove va include in vaapi_wrapper.h #

Patch Set 6 : Add va_x11.h back to vaapi_wrapper.h to resolve compiler error #

Total comments: 2

Patch Set 7 : Fixes for Pawel's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -240 lines) Patch
A content/common/gpu/media/va.sigs View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
A content/common/gpu/media/va_stub_header.fragment View 1 chunk +9 lines, -0 lines 0 comments Download
M content/common/gpu/media/vaapi_wrapper.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M content/common/gpu/media/vaapi_wrapper.cc View 1 2 3 4 5 6 16 chunks +74 lines, -239 lines 0 comments Download
M content/content_common.gypi View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (0 generated)
haltonhuo
Here is presubmit errors, since common/gpu/media/va_stubs.h is generated code, I think it is safe to ...
6 years, 10 months ago (2014-02-25 09:17:45 UTC) #1
Ami GONE FROM CHROMIUM
On 2014/02/25 09:17:45, haltonhuo wrote: > Here is presubmit errors, since common/gpu/media/va_stubs.h is generated code, ...
6 years, 10 months ago (2014-02-25 09:24:33 UTC) #2
haltonhuo
On 2014/02/25 09:24:33, Ami Fischman wrote: > I don't think you should ignore this. I ...
6 years, 10 months ago (2014-02-25 09:33:05 UTC) #3
Pawel Osciak
https://codereview.chromium.org/179543002/diff/1/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (left): https://codereview.chromium.org/179543002/diff/1/content/common/gpu/media/vaapi_wrapper.cc#oldcode63 content/common/gpu/media/vaapi_wrapper.cc:63: // TODO(chihchung): Remove the old path once ChromeOS updates ...
6 years, 10 months ago (2014-02-25 10:34:01 UTC) #4
haltonhuo
On 2014/02/25 10:34:01, Pawel Osciak wrote: > https://codereview.chromium.org/179543002/diff/1/content/common/gpu/media/vaapi_wrapper.cc > File content/common/gpu/media/vaapi_wrapper.cc (left): > > https://codereview.chromium.org/179543002/diff/1/content/common/gpu/media/vaapi_wrapper.cc#oldcode63 ...
6 years, 10 months ago (2014-02-25 10:56:14 UTC) #5
haltonhuo
Pawel and Ami, patch set2 remove the <0.34 TODO, please review.
6 years, 10 months ago (2014-02-25 11:33:41 UTC) #6
Ami GONE FROM CHROMIUM
Can you paste the generated files to gist.github.com or similar and point to them from ...
6 years, 10 months ago (2014-02-25 19:04:26 UTC) #7
haltonhuo
On 2014/02/25 19:04:26, Ami Fischman wrote: > Can you paste the generated files to http://gist.github.com ...
6 years, 10 months ago (2014-02-26 02:33:25 UTC) #8
Ami GONE FROM CHROMIUM
LGTM but I'd like to have posciak@ bless this as well. https://codereview.chromium.org/179543002/diff/40001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (right): ...
6 years, 10 months ago (2014-02-26 19:30:48 UTC) #9
Pawel Osciak
On 2014/02/26 19:30:48, Ami Fischman wrote: > LGTM but I'd like to have posciak@ bless ...
6 years, 10 months ago (2014-02-27 01:04:08 UTC) #10
haltonhuo
On 2014/02/27 01:04:08, Pawel Osciak wrote: > On 2014/02/26 19:30:48, Ami Fischman wrote: > > ...
6 years, 10 months ago (2014-02-27 01:07:26 UTC) #11
dshwang
https://codereview.chromium.org/179543002/diff/40001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (left): https://codereview.chromium.org/179543002/diff/40001/content/common/gpu/media/vaapi_wrapper.cc#oldcode310 content/common/gpu/media/vaapi_wrapper.cc:310: if (VAAPIVersionLessThan(0, 34)) { Hi, could you postpone dropping ...
6 years, 9 months ago (2014-02-28 10:48:12 UTC) #12
dshwang
6 years, 9 months ago (2014-02-28 10:48:50 UTC) #13
haltonhuo
On 2014/02/28 10:48:12, dshwang wrote: > Hi, could you postpone dropping <0.34 support? > After ...
6 years, 9 months ago (2014-03-03 02:53:26 UTC) #14
dshwang
On 2014/03/03 02:53:26, haltonhuo wrote: > dshwang, VAAPI won't be enabled on linux unless apply ...
6 years, 9 months ago (2014-03-03 16:07:50 UTC) #15
Ami GONE FROM CHROMIUM
https://codereview.chromium.org/179543002/diff/60001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (right): https://codereview.chromium.org/179543002/diff/60001/content/common/gpu/media/vaapi_wrapper.cc#newcode5 content/common/gpu/media/vaapi_wrapper.cc:5: #include "content/common/gpu/media/vaapi_wrapper.h" This CL doesn't remove the third_party/libva/va #include's ...
6 years, 9 months ago (2014-03-03 17:26:34 UTC) #16
haltonhuo
On 2014/03/03 17:26:34, Ami Fischman wrote: > https://codereview.chromium.org/179543002/diff/60001/content/common/gpu/media/vaapi_wrapper.cc > File content/common/gpu/media/vaapi_wrapper.cc (right): > > https://codereview.chromium.org/179543002/diff/60001/content/common/gpu/media/vaapi_wrapper.cc#newcode5 ...
6 years, 9 months ago (2014-03-04 01:41:57 UTC) #17
Ami GONE FROM CHROMIUM
WHat about content/common/gpu/media/va_surface.h? On Mon, Mar 3, 2014 at 5:41 PM, <halton.huo@intel.com> wrote: > On ...
6 years, 9 months ago (2014-03-04 02:51:34 UTC) #18
haltonhuo
On 2014/03/04 02:51:34, Ami Fischman wrote: > WHat about content/common/gpu/media/va_surface.h? No va.h can not removed ...
6 years, 9 months ago (2014-03-04 03:06:34 UTC) #19
Ami GONE FROM CHROMIUM
If libva can't be removed as a build time dependency then what exactly does this ...
6 years, 9 months ago (2014-03-04 03:22:42 UTC) #20
Pawel Osciak
Please let me know when the change is ready and I will test it before ...
6 years, 9 months ago (2014-03-04 03:26:13 UTC) #21
haltonhuo
On 2014/03/04 03:26:13, Pawel Osciak wrote: > Please let me know when the change is ...
6 years, 9 months ago (2014-03-04 04:59:49 UTC) #22
Pawel Osciak
lgtm after testing and as long as Ami still approves +Jorge as fyi
6 years, 9 months ago (2014-03-12 07:35:29 UTC) #23
haltonhuo
The CQ bit was checked by halton.huo@intel.com
6 years, 9 months ago (2014-03-12 07:48:00 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/halton.huo@intel.com/179543002/120001
6 years, 9 months ago (2014-03-12 08:05:51 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-12 09:12:59 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_clang_dbg
6 years, 9 months ago (2014-03-12 09:12:59 UTC) #27
haltonhuo
The CQ bit was checked by halton.huo@intel.com
6 years, 9 months ago (2014-03-13 01:34:39 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/halton.huo@intel.com/179543002/120001
6 years, 9 months ago (2014-03-13 01:35:59 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-13 04:08:25 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_clang_dbg
6 years, 9 months ago (2014-03-13 04:08:26 UTC) #31
haltonhuo
On 2014/03/13 04:08:26, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 9 months ago (2014-03-13 04:58:28 UTC) #32
haltonhuo
The CQ bit was checked by halton.huo@intel.com
6 years, 9 months ago (2014-03-13 05:04:47 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/halton.huo@intel.com/179543002/120001
6 years, 9 months ago (2014-03-13 05:12:49 UTC) #34
commit-bot: I haz the power
6 years, 9 months ago (2014-03-13 10:05:43 UTC) #35
Message was sent while issue was closed.
Change committed as 256781

Powered by Google App Engine
This is Rietveld 408576698