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

Issue 825163004: Add Vaapi support on Ozone/Freon (Closed)

Created:
5 years, 12 months ago by llandwerlin-old
Modified:
5 years, 11 months ago
CC:
chromium-reviews, ozone-reviews_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, wjia+watch_chromium.org, jln+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Vaapi support on Ozone/Freon BUG=403058 TEST=video_decode_accelerator_unittest and video_encode_accelerator_unittest TBR=jln,scherkus Committed: https://crrev.com/b056abc3ccfaaa7da280084ce55724a0f07d85a0 Cr-Commit-Position: refs/heads/master@{#309863}

Patch Set 1 #

Total comments: 76

Patch Set 2 : Pawel's review #

Patch Set 3 : Fix const issue #

Total comments: 23

Patch Set 4 : More nits #

Patch Set 5 : Copy attributes argument #

Patch Set 6 : Fix build issue #

Total comments: 1

Patch Set 7 : Fix comment in VaapiWrapper #

Unified diffs Side-by-side diffs Delta from patch set Stats (+568 lines, -11 lines) Patch
M content/common/BUILD.gn View 2 chunks +9 lines, -0 lines 0 comments Download
M content/common/gpu/media/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/gpu/media/rendering_helper.h View 2 chunks +13 lines, -0 lines 0 comments Download
M content/common/gpu/media/rendering_helper.cc View 1 2 3 7 chunks +89 lines, -0 lines 0 comments Download
A content/common/gpu/media/va_drm.sigs View 1 chunk +8 lines, -0 lines 0 comments Download
M content/common/gpu/media/va_stub_header.fragment View 1 1 chunk +1 line, -0 lines 0 comments Download
A content/common/gpu/media/vaapi_drm_picture.h View 1 2 3 1 chunk +62 lines, -0 lines 0 comments Download
A content/common/gpu/media/vaapi_drm_picture.cc View 1 2 1 chunk +129 lines, -0 lines 0 comments Download
M content/common/gpu/media/vaapi_picture.cc View 3 chunks +9 lines, -0 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M content/common/gpu/media/vaapi_wrapper.h View 1 2 3 4 5 6 5 chunks +35 lines, -0 lines 0 comments Download
M content/common/gpu/media/vaapi_wrapper.cc View 1 2 3 4 5 6 chunks +143 lines, -1 line 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M content/common/gpu/media/video_encode_accelerator_unittest.cc View 3 chunks +11 lines, -0 lines 0 comments Download
M content/common/sandbox_linux/bpf_gpu_policy_linux.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 chunk +5 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 5 chunks +25 lines, -4 lines 0 comments Download
M media/test/data/test-25fps.h264.md5 View 1 chunk +9 lines, -3 lines 0 comments Download
M ui/ozone/platform/dri/ozone_platform_gbm.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 42 (12 generated)
llandwerlin-old
alexst@ posciak@ scherkus@ piman@, this is a follow up on https://codereview.chromium.org/817023005/ to enable vaapi on ...
5 years, 12 months ago (2014-12-25 20:26:28 UTC) #2
llandwerlin-old
5 years, 12 months ago (2014-12-25 20:31:36 UTC) #5
llandwerlin-old
Just realized alexst@ is ooo.
5 years, 12 months ago (2014-12-25 20:32:21 UTC) #6
Pawel Osciak
https://codereview.chromium.org/825163004/diff/1/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/825163004/diff/1/content/common/gpu/media/rendering_helper.cc#newcode382 content/common/gpu/media/rendering_helper.cc:382: // On Ozone the VSyncProvider can't provide a vsync_internal ...
5 years, 12 months ago (2014-12-26 00:38:57 UTC) #7
Pawel Osciak
+spang@ PTAL, since alexst@ is ooo
5 years, 12 months ago (2014-12-26 00:40:03 UTC) #9
Pawel Osciak
+owenlin@ for VDA tests and rendering helper please.
5 years, 12 months ago (2014-12-26 01:12:35 UTC) #11
llandwerlin-old
https://codereview.chromium.org/825163004/diff/1/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/825163004/diff/1/content/common/gpu/media/rendering_helper.cc#newcode382 content/common/gpu/media/rendering_helper.cc:382: // On Ozone the VSyncProvider can't provide a vsync_internal ...
5 years, 12 months ago (2014-12-26 02:50:03 UTC) #12
Pawel Osciak
https://chromiumcodereview.appspot.com/825163004/diff/1/content/common/gpu/media/vaapi_drm_picture.cc File content/common/gpu/media/vaapi_drm_picture.cc (right): https://chromiumcodereview.appspot.com/825163004/diff/1/content/common/gpu/media/vaapi_drm_picture.cc#newcode11 content/common/gpu/media/vaapi_drm_picture.cc:11: #include "third_party/libva/va/va_drmcommon.h" On 2014/12/26 02:50:01, llandwerlin wrote: > On ...
5 years, 12 months ago (2014-12-29 00:08:01 UTC) #13
llandwerlin-old
https://codereview.chromium.org/825163004/diff/40001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/825163004/diff/40001/content/common/gpu/media/rendering_helper.cc#newcode382 content/common/gpu/media/rendering_helper.cc:382: // On Ozone the VSyncProvider can't provide a vsync ...
5 years, 12 months ago (2014-12-29 02:30:35 UTC) #14
Pawel Osciak
https://codereview.chromium.org/825163004/diff/40001/content/common/gpu/media/vaapi_drm_picture.cc File content/common/gpu/media/vaapi_drm_picture.cc (right): https://codereview.chromium.org/825163004/diff/40001/content/common/gpu/media/vaapi_drm_picture.cc#newcode44 content/common/gpu/media/vaapi_drm_picture.cc:44: // memory buffer, so we can output decoded pictures ...
5 years, 11 months ago (2014-12-29 10:41:51 UTC) #15
Pawel Osciak
https://chromiumcodereview.appspot.com/825163004/diff/40001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (right): https://chromiumcodereview.appspot.com/825163004/diff/40001/content/common/gpu/media/vaapi_wrapper.cc#newcode474 content/common/gpu/media/vaapi_wrapper.cc:474: scoped_refptr<VASurface> va_surface; On 2014/12/29 10:41:51, Pawel Osciak wrote: > ...
5 years, 11 months ago (2014-12-29 10:53:30 UTC) #17
llandwerlin-old
On 2014/12/29 10:53:30, Pawel Osciak wrote: > https://chromiumcodereview.appspot.com/825163004/diff/40001/content/common/gpu/media/vaapi_wrapper.cc > File content/common/gpu/media/vaapi_wrapper.cc (right): > > https://chromiumcodereview.appspot.com/825163004/diff/40001/content/common/gpu/media/vaapi_wrapper.cc#newcode474 ...
5 years, 11 months ago (2014-12-29 12:05:05 UTC) #18
alexst (slow to review)
ui/ozone/ lgtm
5 years, 11 months ago (2014-12-29 15:12:33 UTC) #19
alexst (slow to review)
But looks like linux_chromium_chromeos_ozone_dbg is unhappy, I think there is a missing dep there somewhere.
5 years, 11 months ago (2014-12-29 15:18:48 UTC) #20
Pawel Osciak
On 2014/12/29 12:05:05, llandwerlin wrote: > On 2014/12/29 10:53:30, Pawel Osciak wrote: > > > ...
5 years, 11 months ago (2014-12-30 05:12:59 UTC) #21
Pawel Osciak
On 2014/12/30 05:12:59, Pawel Osciak wrote: > On 2014/12/29 12:05:05, llandwerlin wrote: > > On ...
5 years, 11 months ago (2014-12-30 05:14:08 UTC) #22
llandwerlin-old
On 2014/12/30 05:14:08, Pawel Osciak wrote: > On 2014/12/30 05:12:59, Pawel Osciak wrote: > > ...
5 years, 11 months ago (2014-12-30 12:37:42 UTC) #23
Pawel Osciak
lgtm % nit https://codereview.chromium.org/825163004/diff/100001/content/common/gpu/media/vaapi_wrapper.h File content/common/gpu/media/vaapi_wrapper.h (right): https://codereview.chromium.org/825163004/diff/100001/content/common/gpu/media/vaapi_wrapper.h#newcode76 content/common/gpu/media/vaapi_wrapper.h:76: // |num_va_attribs| attributes from |va_attribs|. The ...
5 years, 11 months ago (2014-12-30 13:04:06 UTC) #24
llandwerlin-old
On 2014/12/30 13:04:06, Pawel Osciak wrote: > lgtm % nit > > https://codereview.chromium.org/825163004/diff/100001/content/common/gpu/media/vaapi_wrapper.h > File ...
5 years, 11 months ago (2014-12-30 14:32:59 UTC) #25
llandwerlin-old
Not sure why the dbg build didn't work this time. I recompiled gfx_unittests without this ...
5 years, 11 months ago (2014-12-30 18:11:52 UTC) #26
alexst (slow to review)
On 2014/12/30 18:11:52, llandwerlin wrote: > Not sure why the dbg build didn't work this ...
5 years, 11 months ago (2014-12-30 19:52:04 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/825163004/120001
5 years, 11 months ago (2014-12-31 10:24:11 UTC) #29
alexst (slow to review)
+sadrul for Missing LGTM from OWNERS of dependencies added to DEPS: '+ui/display/chromeos', '+ui/platform_window',
5 years, 11 months ago (2015-01-02 14:33:05 UTC) #32
sadrul
On 2015/01/02 14:33:05, alexst(OOTO until 2015) wrote: > +sadrul for > > Missing LGTM from ...
5 years, 11 months ago (2015-01-02 16:43:31 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/825163004/120001
5 years, 11 months ago (2015-01-02 16:44:55 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/32957)
5 years, 11 months ago (2015-01-02 16:49:57 UTC) #37
alexst (slow to review)
On 2015/01/02 16:49:57, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 11 months ago (2015-01-02 23:45:48 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/825163004/120001
5 years, 11 months ago (2015-01-02 23:47:03 UTC) #40
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 11 months ago (2015-01-02 23:51:23 UTC) #41
commit-bot: I haz the power
5 years, 11 months ago (2015-01-02 23:52:19 UTC) #42
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b056abc3ccfaaa7da280084ce55724a0f07d85a0
Cr-Commit-Position: refs/heads/master@{#309863}

Powered by Google App Engine
This is Rietveld 408576698