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

Issue 817023005: Reland: Refactor Vaapi video decoder/encoder in preparation of Freon support (Closed)

Created:
6 years ago by llandwerlin-old
Modified:
5 years, 12 months ago
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
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: Refactor Vaapi video decoder/encoder in preparation of Freon support Previous CL : https://codereview.chromium.org/807853005 This introduces VaapiPicture which abstracts the output picture for the VaapiVideoDecodeAccelerator. This also splits out the x11 specific functions of LibVA into their own signature file. And finally this adds back GLImageGLX to match the code path that will be used on Freon, using GLImageLinuxDMABuffer. BUG=403058 TEST=video_decode_accelerator_unittest and video_encode_accelerator_unittest TBR=scherkus@chromium.org Committed: https://crrev.com/2c653de36889e6ccfe8b9c7258a614d6a808f328 Cr-Commit-Position: refs/heads/master@{#309648}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Pawel's nits #

Total comments: 2

Patch Set 3 : Remove refcounting on VaapiWrapper #

Unified diffs Side-by-side diffs Delta from patch set Stats (+465 lines, -393 lines) Patch
M content/common/BUILD.gn View 5 chunks +16 lines, -4 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 2 chunks +4 lines, -13 lines 0 comments Download
M content/common/gpu/media/gpu_video_encode_accelerator.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M content/common/gpu/media/rendering_helper.h View 1 chunk +4 lines, -1 line 0 comments Download
M content/common/gpu/media/rendering_helper.cc View 10 chunks +22 lines, -17 lines 0 comments Download
M content/common/gpu/media/va.sigs View 1 chunk +0 lines, -7 lines 0 comments Download
M content/common/gpu/media/va_surface.h View 4 chunks +13 lines, -4 lines 0 comments Download
A content/common/gpu/media/va_x11.sigs View 1 chunk +9 lines, -0 lines 0 comments Download
M content/common/gpu/media/vaapi_h264_decoder_unittest.cc View 1 2 3 chunks +6 lines, -22 lines 0 comments Download
A content/common/gpu/media/vaapi_picture.h View 1 2 1 chunk +73 lines, -0 lines 0 comments Download
A content/common/gpu/media/vaapi_picture.cc View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
A content/common/gpu/media/vaapi_tfp_picture.h View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
A content/common/gpu/media/vaapi_tfp_picture.cc View 1 2 1 chunk +77 lines, -0 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.h View 1 2 8 chunks +20 lines, -24 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.cc View 1 2 14 chunks +37 lines, -228 lines 0 comments Download
M content/common/gpu/media/vaapi_video_encode_accelerator.h View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M content/common/gpu/media/vaapi_video_encode_accelerator.cc View 4 chunks +7 lines, -10 lines 0 comments Download
M content/common/gpu/media/vaapi_wrapper.h View 1 2 6 chunks +12 lines, -12 lines 0 comments Download
M content/common/gpu/media/vaapi_wrapper.cc View 1 2 10 chunks +29 lines, -19 lines 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 2 chunks +4 lines, -12 lines 0 comments Download
M content/common/gpu/media/video_encode_accelerator_unittest.cc View 1 2 2 chunks +3 lines, -7 lines 0 comments Download
M content/content_common.gypi View 3 chunks +23 lines, -2 lines 0 comments Download
M media/BUILD.gn View 1 2 1 chunk +1 line, -1 line 0 comments Download
M media/media.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_image_glx.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (16 generated)
llandwerlin-old
posciak@ scherkus@ piman@ : Sorry for the noise, the GN build fail because of a ...
6 years ago (2014-12-20 20:17:18 UTC) #2
llandwerlin-old
If there a try bot for GN, please feel free to launch it. Thanks.
6 years ago (2014-12-20 20:19:33 UTC) #3
Pawel Osciak
lgtm % nits https://codereview.chromium.org/817023005/diff/1/content/common/gpu/media/vaapi_video_decode_accelerator.cc File content/common/gpu/media/vaapi_video_decode_accelerator.cc (right): https://codereview.chromium.org/817023005/diff/1/content/common/gpu/media/vaapi_video_decode_accelerator.cc#newcode316 content/common/gpu/media/vaapi_video_decode_accelerator.cc:316: new VASurface(available_va_surfaces_.front(), requested_pic_size_, requested_pic_size_ won't be ...
6 years ago (2014-12-20 20:46:52 UTC) #4
llandwerlin-old
https://codereview.chromium.org/817023005/diff/1/content/common/gpu/media/vaapi_video_decode_accelerator.cc File content/common/gpu/media/vaapi_video_decode_accelerator.cc (right): https://codereview.chromium.org/817023005/diff/1/content/common/gpu/media/vaapi_video_decode_accelerator.cc#newcode316 content/common/gpu/media/vaapi_video_decode_accelerator.cc:316: new VASurface(available_va_surfaces_.front(), requested_pic_size_, On 2014/12/20 20:46:51, Pawel Osciak wrote: ...
6 years ago (2014-12-20 21:11:43 UTC) #5
llandwerlin-old
On 2014/12/20 21:11:43, llandwerlin wrote: > > > https://codereview.chromium.org/817023005/diff/1/content/content_common.gypi#newcode806 > content/content_common.gypi:806: 'common/gpu/media/va.sigs', > On 2014/12/20 ...
6 years ago (2014-12-21 18:14:56 UTC) #6
Pawel Osciak
On 2014/12/21 18:14:56, llandwerlin wrote: > On 2014/12/20 21:11:43, llandwerlin wrote: > > > > ...
6 years ago (2014-12-22 00:44:03 UTC) #7
piman
On 2014/12/22 00:44:03, Pawel Osciak wrote: > On 2014/12/21 18:14:56, llandwerlin wrote: > > On ...
6 years ago (2014-12-22 19:15:59 UTC) #8
piman
https://codereview.chromium.org/817023005/diff/20001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (right): https://codereview.chromium.org/817023005/diff/20001/content/common/gpu/media/vaapi_wrapper.cc#newcode148 content/common/gpu/media/vaapi_wrapper.cc:148: VaapiWrapper::~VaapiWrapper() { Can you add a DCHECK that this ...
6 years ago (2014-12-22 19:21:52 UTC) #9
llandwerlin-old
https://codereview.chromium.org/817023005/diff/20001/content/common/gpu/media/vaapi_wrapper.cc File content/common/gpu/media/vaapi_wrapper.cc (right): https://codereview.chromium.org/817023005/diff/20001/content/common/gpu/media/vaapi_wrapper.cc#newcode148 content/common/gpu/media/vaapi_wrapper.cc:148: VaapiWrapper::~VaapiWrapper() { On 2014/12/22 19:21:52, piman (Very slow to ...
6 years ago (2014-12-22 23:36:42 UTC) #10
piman
On Mon, Dec 22, 2014 at 3:36 PM, <lionel.g.landwerlin@intel.com> wrote: > > https://codereview.chromium.org/817023005/diff/20001/ > content/common/gpu/media/vaapi_wrapper.cc ...
6 years ago (2014-12-23 00:39:40 UTC) #11
Pawel Osciak
On 2014/12/23 00:39:40, piman (Very slow to review) wrote: > On Mon, Dec 22, 2014 ...
6 years ago (2014-12-23 00:45:22 UTC) #12
llandwerlin-old
PTAL, please if you could run the try bots (at least the chromiumos ones), Thanks.
6 years ago (2014-12-23 14:19:04 UTC) #13
piman
Thanks! LGTM.
6 years ago (2014-12-23 20:12:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/817023005/40001
6 years ago (2014-12-23 20:13:28 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/28595) android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/45328) chromium_presubmit ...
6 years ago (2014-12-23 20:19:34 UTC) #18
llandwerlin-old
Looks like the failures came from something outside this CL. Missing scherkus@'s lgtm too.
5 years, 12 months ago (2014-12-24 15:09:09 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/817023005/40001
5 years, 12 months ago (2014-12-24 15:09:36 UTC) #21
llandwerlin-old
Checking whether tests are less flaky.
5 years, 12 months ago (2014-12-24 15:11:25 UTC) #22
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/32302)
5 years, 12 months ago (2014-12-24 15:14:56 UTC) #24
Pawel Osciak
scherkus@: I'm going to TBR you since this is a reland of CL you previously ...
5 years, 12 months ago (2014-12-24 23:54:54 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/817023005/40001
5 years, 12 months ago (2014-12-24 23:55:49 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/11621)
5 years, 12 months ago (2014-12-25 00:02:50 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/817023005/40001
5 years, 12 months ago (2014-12-25 00:03:33 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/11636)
5 years, 12 months ago (2014-12-25 00:11:09 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/817023005/40001
5 years, 12 months ago (2014-12-25 00:14:03 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/11649)
5 years, 12 months ago (2014-12-25 00:21:04 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/817023005/40001
5 years, 12 months ago (2014-12-25 00:46:29 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/11674)
5 years, 12 months ago (2014-12-25 00:54:17 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/817023005/40001
5 years, 12 months ago (2014-12-25 08:44:33 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/12039)
5 years, 12 months ago (2014-12-25 08:52:35 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/817023005/40001
5 years, 12 months ago (2014-12-25 17:56:28 UTC) #47
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 12 months ago (2014-12-25 19:05:31 UTC) #48
commit-bot: I haz the power
5 years, 12 months ago (2014-12-25 19:06:26 UTC) #49
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2c653de36889e6ccfe8b9c7258a614d6a808f328
Cr-Commit-Position: refs/heads/master@{#309648}

Powered by Google App Engine
This is Rietveld 408576698