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

Issue 2191263002: V4L2VideoDecodeAccelerator: support external buffer import (Closed)

Created:
4 years, 4 months ago by wuchengli
Modified:
4 years, 2 months ago
Reviewers:
kcwu, Pawel Osciak
CC:
chromium-reviews, posciak+watch_chromium.org, piman+watch_chromium.org, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

V4L2VideoDecodeAccelerator: support external buffer import Add support of external buffer import to V4L2VideoDecodeAccelerator when V4L2ImageProcessor is used. Buffer import for V4L2VDA only is not implemented yet. V4L2ImageProcessor adds the support of importing output buffer dmabuf fds. BUG=b/29059119 TEST=Run VDA test and play video on elm. TEST=Run VDA/VEA tests and play video on peach pi. Committed: https://crrev.com/d8b5dcd98ccea5e9e88f6f9a9924406b69ac0945 Cr-Commit-Position: refs/heads/master@{#420873}

Patch Set 1 #

Patch Set 2 #

Patch Set 3 : V4L2VideoDecodeAccelerator: support external buffer import #

Total comments: 3

Patch Set 4 : address kcwu's comments in PS3 #

Patch Set 5 : remove the use of base::WrapUnique #

Patch Set 6 : small refactor #

Total comments: 39

Patch Set 7 : address Pawel's comments in PS6 #

Total comments: 6

Patch Set 8 : address Pawel's comments in PS7 #

Patch Set 9 : rebase #

Patch Set 10 : rebase and simplify some code #

Patch Set 11 : small improvement #

Unified diffs Side-by-side diffs Delta from patch set Stats (+476 lines, -183 lines) Patch
M media/gpu/v4l2_image_processor.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +16 lines, -3 lines 0 comments Download
M media/gpu/v4l2_image_processor.cc View 1 2 3 4 5 6 7 8 9 10 10 chunks +28 lines, -5 lines 0 comments Download
M media/gpu/v4l2_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 7 chunks +45 lines, -14 lines 0 comments Download
M media/gpu/v4l2_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 22 chunks +378 lines, -154 lines 0 comments Download
M media/gpu/v4l2_video_encode_accelerator.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -7 lines 0 comments Download

Messages

Total messages: 30 (16 generated)
wuchengli
PTAL.
4 years, 3 months ago (2016-09-06 07:03:17 UTC) #3
kcwu
Please give me the CL number which you cherry picked from. https://codereview.chromium.org/2191263002/diff/60001/media/gpu/v4l2_video_decode_accelerator.cc File media/gpu/v4l2_video_decode_accelerator.cc (right): ...
4 years, 3 months ago (2016-09-07 03:46:23 UTC) #4
wuchengli
This CL is ported from https://codereview.chromium.org/1822983002.
4 years, 3 months ago (2016-09-07 06:13:34 UTC) #5
Pawel Osciak
https://codereview.chromium.org/2191263002/diff/160001/media/gpu/v4l2_image_processor.cc File media/gpu/v4l2_image_processor.cc (right): https://codereview.chromium.org/2191263002/diff/160001/media/gpu/v4l2_image_processor.cc#newcode233 media/gpu/v4l2_image_processor.cc:233: DCHECK_EQ(expected_num_fds, output_dmabuf_fds.size()); Interesting, I would've expected this to give ...
4 years, 3 months ago (2016-09-12 08:54:27 UTC) #9
wuchengli
I'll address the rest of the comments. https://codereview.chromium.org/2191263002/diff/160001/media/gpu/v4l2_video_decode_accelerator.cc File media/gpu/v4l2_video_decode_accelerator.cc (right): https://codereview.chromium.org/2191263002/diff/160001/media/gpu/v4l2_video_decode_accelerator.cc#newcode2126 media/gpu/v4l2_video_decode_accelerator.cc:2126: LOGF(ERROR) << ...
4 years, 3 months ago (2016-09-12 09:15:57 UTC) #10
wuchengli
All done. PTAL. https://codereview.chromium.org/2191263002/diff/160001/media/gpu/v4l2_image_processor.cc File media/gpu/v4l2_image_processor.cc (right): https://codereview.chromium.org/2191263002/diff/160001/media/gpu/v4l2_image_processor.cc#newcode233 media/gpu/v4l2_image_processor.cc:233: DCHECK_EQ(expected_num_fds, output_dmabuf_fds.size()); On 2016/09/12 08:54:26, Pawel ...
4 years, 3 months ago (2016-09-12 11:56:53 UTC) #12
Pawel Osciak
https://codereview.chromium.org/2191263002/diff/160001/media/gpu/v4l2_video_decode_accelerator.cc File media/gpu/v4l2_video_decode_accelerator.cc (right): https://codereview.chromium.org/2191263002/diff/160001/media/gpu/v4l2_video_decode_accelerator.cc#newcode2126 media/gpu/v4l2_video_decode_accelerator.cc:2126: LOGF(ERROR) << "Import mode is unsupported without image processor."; ...
4 years, 3 months ago (2016-09-14 04:17:29 UTC) #13
wuchengli
All done. PTAL. https://codereview.chromium.org/2191263002/diff/160001/media/gpu/v4l2_video_decode_accelerator.cc File media/gpu/v4l2_video_decode_accelerator.cc (right): https://codereview.chromium.org/2191263002/diff/160001/media/gpu/v4l2_video_decode_accelerator.cc#newcode2126 media/gpu/v4l2_video_decode_accelerator.cc:2126: LOGF(ERROR) << "Import mode is unsupported ...
4 years, 3 months ago (2016-09-14 05:17:27 UTC) #14
kcwu
https://codereview.chromium.org/2191263002/diff/160001/media/gpu/v4l2_image_processor.cc File media/gpu/v4l2_image_processor.cc (right): https://codereview.chromium.org/2191263002/diff/160001/media/gpu/v4l2_image_processor.cc#newcode233 media/gpu/v4l2_image_processor.cc:233: DCHECK_EQ(expected_num_fds, output_dmabuf_fds.size()); On 2016/09/12 11:56:51, wuchengli wrote: > On ...
4 years, 3 months ago (2016-09-14 05:38:44 UTC) #15
Pawel Osciak
lgtm
4 years, 3 months ago (2016-09-14 08:25:12 UTC) #16
kcwu
lgtm
4 years, 3 months ago (2016-09-14 09:20:20 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2191263002/300001
4 years, 2 months ago (2016-09-26 07:31:44 UTC) #26
commit-bot: I haz the power
Committed patchset #11 (id:300001)
4 years, 2 months ago (2016-09-26 10:34:20 UTC) #28
commit-bot: I haz the power
4 years, 2 months ago (2016-09-26 10:36:42 UTC) #30
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/d8b5dcd98ccea5e9e88f6f9a9924406b69ac0945
Cr-Commit-Position: refs/heads/master@{#420873}

Powered by Google App Engine
This is Rietveld 408576698