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

Issue 1554543002: v4l2 accelerators: use V4L2_CAP_VIDEO_M2M_MPLANE capability. (Closed)

Created:
4 years, 11 months ago by wuchengli
Modified:
4 years, 11 months ago
Reviewers:
kcwu, Pawel Osciak
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

v4l2 accelerators: use V4L2_CAP_VIDEO_M2M_MPLANE capability. The correct capability for v4l2 devices should be V4L2_CAP_VIDEO_M2M_MPLANE. V4L2_CAP_VIDEO_CAPTURE_MPLANE and V4L2_CAP_VIDEO_OUTPUT_MPLANE will be deprecated. Nyan doesn't report V4L2_CAP_VIDEO_M2M_MPLANE yet. So check both capabilities in V4L2VDA and V4L2VEA. BUG=chromium:572132 TEST=Run tests on nyan, peach, and veyron. Committed: https://crrev.com/287a3f60e9502553489dc1b983c90e040c7dc445 Cr-Commit-Position: refs/heads/master@{#367061}

Patch Set 1 #

Patch Set 2 : Remove fallback in slice VDA and image processor #

Total comments: 3

Patch Set 3 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -20 lines) Patch
M content/common/gpu/media/v4l2_image_processor.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc View 1 1 chunk +3 lines, -6 lines 0 comments Download
M content/common/gpu/media/v4l2_video_decode_accelerator.cc View 1 2 1 chunk +11 lines, -7 lines 0 comments Download
M content/common/gpu/media/v4l2_video_encode_accelerator.cc View 1 2 1 chunk +11 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
wuchengli
PTAL. https://codereview.chromium.org/1554543002/diff/20001/content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc File content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc (right): https://codereview.chromium.org/1554543002/diff/20001/content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc#newcode491 content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc:491: LOG(ERROR) << "Initialize(): ioctl() failed: VIDIOC_QUERYCAP" I don't ...
4 years, 11 months ago (2015-12-29 09:43:32 UTC) #3
Pawel Osciak
lgtm % nit https://codereview.chromium.org/1554543002/diff/20001/content/common/gpu/media/v4l2_video_decode_accelerator.cc File content/common/gpu/media/v4l2_video_decode_accelerator.cc (right): https://codereview.chromium.org/1554543002/diff/20001/content/common/gpu/media/v4l2_video_decode_accelerator.cc#newcode262 content/common/gpu/media/v4l2_video_decode_accelerator.cc:262: const __u32 kCapsRequiredCompat = V4L2_CAP_VIDEO_CAPTURE_MPLANE | ...
4 years, 11 months ago (2015-12-29 10:07:47 UTC) #4
wuchengli
https://codereview.chromium.org/1554543002/diff/20001/content/common/gpu/media/v4l2_video_decode_accelerator.cc File content/common/gpu/media/v4l2_video_decode_accelerator.cc (right): https://codereview.chromium.org/1554543002/diff/20001/content/common/gpu/media/v4l2_video_decode_accelerator.cc#newcode262 content/common/gpu/media/v4l2_video_decode_accelerator.cc:262: const __u32 kCapsRequiredCompat = V4L2_CAP_VIDEO_CAPTURE_MPLANE | On 2015/12/29 10:07:47, ...
4 years, 11 months ago (2015-12-29 11:28:08 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1554543002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1554543002/40001
4 years, 11 months ago (2015-12-29 11:28:27 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2015-12-29 11:43:08 UTC) #10
commit-bot: I haz the power
4 years, 11 months ago (2015-12-29 11:43:56 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/287a3f60e9502553489dc1b983c90e040c7dc445
Cr-Commit-Position: refs/heads/master@{#367061}

Powered by Google App Engine
This is Rietveld 408576698