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

Issue 385793002: content: Add support for Video Decode Acceleration on GBM (Closed)

Created:
6 years, 5 months ago by vignatti (out of this project)
Modified:
5 years, 10 months ago
CC:
chromium-reviews, rjkroege, 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
Base URL:
038ca4ab40c387bf3bc1541d56578bc522df9f41
Project:
chromium
Visibility:
Public.

Description

content: Add support for Video Decode Acceleration on GBM This CL adds Video Decode Acceleration support via VAAPI to Ozone GBM. It uses MediaOzonePlatform abstraction for such. VAAPI wrapper and implementation needed to be changed, adding some kind of fallback for libva-drm and GBM instead. BUG=380884 TEST=./chrome --no-sandbox --ozone-platform=gbm --ignore-gpu-blacklist ../../third_party/WebKit/PerformanceTests/resources/bear-1280x720.mp4

Patch Set 1 #

Patch Set 2 : remove dri buffer changes #

Patch Set 3 : #

Patch Set 4 : remove OZONE_PLATFORM_GBM #

Total comments: 20

Patch Set 5 : fix scherkus nits #

Patch Set 6 : merge changes into one single vaapi_video_decode_accelerator #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+362 lines, -38 lines) Patch
A content/common/gpu/media/media_ozone_platform_gbm.h View 1 chunk +16 lines, -0 lines 0 comments Download
A content/common/gpu/media/media_ozone_platform_gbm.cc View 1 2 3 4 5 1 chunk +37 lines, -0 lines 0 comments Download
A + content/common/gpu/media/va_drm.sigs View 3 chunks +4 lines, -3 lines 0 comments Download
A + content/common/gpu/media/va_drm_stub_header.fragment View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.h View 1 2 3 4 5 3 chunks +8 lines, -1 line 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.cc View 1 2 3 4 5 16 chunks +157 lines, -20 lines 2 comments Download
M content/common/gpu/media/vaapi_wrapper.h View 1 2 3 4 chunks +32 lines, -1 line 0 comments Download
M content/common/gpu/media/vaapi_wrapper.cc View 1 2 3 4 7 chunks +84 lines, -3 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 2 chunks +23 lines, -5 lines 0 comments Download
M media/ozone/media_ozone_platform.cc View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
vignatti (out of this project)
I'd like to send this out for the blessing of you guys before I start ...
6 years, 5 months ago (2014-07-23 23:45:13 UTC) #1
spang
On 2014/07/23 23:45:13, vignatti wrote: > I'd like to send this out for the blessing ...
6 years, 5 months ago (2014-07-24 19:31:24 UTC) #2
vignatti (out of this project)
On 2014/07/24 19:31:24, spang wrote: > On 2014/07/23 23:45:13, vignatti wrote: > > I'd like ...
6 years, 4 months ago (2014-07-28 17:48:07 UTC) #3
vignatti (out of this project)
scherkus@ PTAL.
6 years, 4 months ago (2014-07-29 14:31:01 UTC) #4
scherkus (not reviewing)
+posciak apologies I left a bunch of nits before seeing your bigger-picture questions with respect ...
6 years, 4 months ago (2014-07-29 17:48:55 UTC) #5
vignatti (out of this project)
https://codereview.chromium.org/385793002/diff/60001/content/common/gpu/media/media_ozone_platform_gbm.cc File content/common/gpu/media/media_ozone_platform_gbm.cc (right): https://codereview.chromium.org/385793002/diff/60001/content/common/gpu/media/media_ozone_platform_gbm.cc#newcode21 content/common/gpu/media/media_ozone_platform_gbm.cc:21: // MediaOzonePlatform: On 2014/07/29 17:48:54, scherkus wrote: > nit: ...
6 years, 4 months ago (2014-07-30 21:51:30 UTC) #6
vignatti (out of this project)
On 2014/07/29 17:48:55, scherkus wrote: > > with respect to the location of the code, ...
6 years, 4 months ago (2014-07-30 22:00:10 UTC) #7
vignatti (out of this project)
On 2014/07/30 22:00:10, vignatti wrote: > On 2014/07/29 17:48:55, scherkus wrote: > > > > ...
6 years, 4 months ago (2014-07-30 23:04:40 UTC) #8
scherkus (not reviewing)
On 2014/07/30 23:04:40, vignatti wrote: > On 2014/07/30 22:00:10, vignatti wrote: > > On 2014/07/29 ...
6 years, 4 months ago (2014-07-31 01:19:33 UTC) #9
vignatti (out of this project)
On 2014/07/31 01:19:33, scherkus wrote: > Anything other than duplicating the code would be preferable. ...
6 years, 4 months ago (2014-07-31 19:54:57 UTC) #10
Pawel Osciak
I'm sorry, but this is too many #ifdefs. High level comments, I'd suggest: - abstracting ...
6 years, 4 months ago (2014-08-01 11:17:44 UTC) #11
marcheu
https://chromiumcodereview.appspot.com/385793002/diff/100001/content/common/gpu/media/vaapi_video_decode_accelerator.cc File content/common/gpu/media/vaapi_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/385793002/diff/100001/content/common/gpu/media/vaapi_video_decode_accelerator.cc#newcode311 content/common/gpu/media/vaapi_video_decode_accelerator.cc:311: 0, GL_RGBA, GL_UNSIGNED_BYTE, buffer); This is a synchronous, CPU-side ...
6 years, 4 months ago (2014-08-07 01:26:26 UTC) #12
vignatti (out of this project)
https://chromiumcodereview.appspot.com/385793002/diff/100001/content/common/gpu/media/vaapi_video_decode_accelerator.cc File content/common/gpu/media/vaapi_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/385793002/diff/100001/content/common/gpu/media/vaapi_video_decode_accelerator.cc#newcode311 content/common/gpu/media/vaapi_video_decode_accelerator.cc:311: 0, GL_RGBA, GL_UNSIGNED_BYTE, buffer); On 2014/08/07 01:26:25, marcheu wrote: ...
6 years, 4 months ago (2014-08-12 08:19:02 UTC) #13
seanvk
On 2014/08/12 08:19:02, vignatti wrote: > https://chromiumcodereview.appspot.com/385793002/diff/100001/content/common/gpu/media/vaapi_video_decode_accelerator.cc > File content/common/gpu/media/vaapi_video_decode_accelerator.cc (right): > > https://chromiumcodereview.appspot.com/385793002/diff/100001/content/common/gpu/media/vaapi_video_decode_accelerator.cc#newcode311 > ...
6 years, 4 months ago (2014-08-21 18:40:46 UTC) #14
vignatti (out of this project)
5 years, 10 months ago (2015-02-09 20:58:29 UTC) #15
CLs 817023005 and 825163004 have done this job. So I'm closing this one. Thanks
everyone involved!

Powered by Google App Engine
This is Rietveld 408576698