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

Issue 2958213002: V4L2 VDA/VEA: Use VIDIOC_G/S_SELECTION for accelerators (Closed)

Created:
3 years, 5 months ago by mojahsu1
Modified:
3 years, 5 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, piman+watch_chromium.org, feature-media-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

V4L2 VDA/VEA: Use VIDIOC_G/S_SELECTION for codec drivers Applications have to use the selection API to work with codec drivers. The old crop ioctls are not suitable for such hardware. For backward compatibility, we may fallback to use old crop APIs if the codec driver doesn't support selection interfaces. BUG=615857 TEST==Run VDA/VEA tests on elm. on Rowan for selection path on peach_pi for fallback crop path. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2958213002 Cr-Commit-Position: refs/heads/master@{#489265} Committed: https://chromium.googlesource.com/chromium/src/+/92c29f34ff9ad157f94b6f1a8f67a795c9deb439

Patch Set 1 #

Total comments: 6

Patch Set 2 : V4L2 VDA/VEA: Use VIDIOC_G/S_SELECTION for accelerators #

Patch Set 3 : V4L2 VDA/VEA: Use VIDIOC_G/S_SELECTION for codec drivers #

Total comments: 2

Patch Set 4 : V4L2 VDA/VEA: Use VIDIOC_G/S_SELECTION for codec drivers #

Total comments: 1

Patch Set 5 : V4L2 VDA/VEA: Use VIDIOC_G/S_SELECTION for codec drivers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -19 lines) Patch
M media/gpu/v4l2_video_decode_accelerator.cc View 1 2 3 1 chunk +22 lines, -9 lines 0 comments Download
M media/gpu/v4l2_video_encode_accelerator.cc View 1 2 3 4 1 chunk +26 lines, -10 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
mojahsu1
3 years, 5 months ago (2017-06-28 07:43:00 UTC) #4
wuchengli
Pawel. PTAL.
3 years, 5 months ago (2017-06-28 08:10:14 UTC) #6
wuchengli
https://codereview.chromium.org/2958213002/diff/1/media/gpu/v4l2_video_decode_accelerator.cc File media/gpu/v4l2_video_decode_accelerator.cc (right): https://codereview.chromium.org/2958213002/diff/1/media/gpu/v4l2_video_decode_accelerator.cc#newcode2113 media/gpu/v4l2_video_decode_accelerator.cc:2113: struct v4l2_rect* ioctl_rect = NULL; s/ioctl_rect/visible_rect/. It's more readable. ...
3 years, 5 months ago (2017-06-29 07:55:23 UTC) #7
wuchengli
V4L2IP also needs to change to SELECTION. https://cs.chromium.org/chromium/src/media/gpu/v4l2_image_processor.cc?q=v4l2_image+package:%5Echromium$&l=375
3 years, 5 months ago (2017-06-29 08:04:11 UTC) #8
mojahsu1
On 2017/06/29 08:04:11, wuchengli wrote: > V4L2IP also needs to change to SELECTION. > https://cs.chromium.org/chromium/src/media/gpu/v4l2_image_processor.cc?q=v4l2_image+package:%5Echromium$&l=375 ...
3 years, 5 months ago (2017-07-03 07:50:26 UTC) #9
wuchengli
On 2017/07/03 07:50:26, mojahsu1 wrote: > On 2017/06/29 08:04:11, wuchengli wrote: > > V4L2IP also ...
3 years, 5 months ago (2017-07-03 13:04:14 UTC) #10
mojahsu1
On 2017/07/03 13:04:14, wuchengli wrote: > On 2017/07/03 07:50:26, mojahsu1 wrote: > > On 2017/06/29 ...
3 years, 5 months ago (2017-07-04 01:39:24 UTC) #11
mojahsu1
3 years, 5 months ago (2017-07-05 03:08:32 UTC) #12
wuchengli
https://codereview.chromium.org/2958213002/diff/40001/media/gpu/v4l2_video_decode_accelerator.cc File media/gpu/v4l2_video_decode_accelerator.cc (right): https://codereview.chromium.org/2958213002/diff/40001/media/gpu/v4l2_video_decode_accelerator.cc#newcode2122 media/gpu/v4l2_video_decode_accelerator.cc:2122: } run git cl format https://codereview.chromium.org/2958213002/diff/40001/media/gpu/v4l2_video_encode_accelerator.cc File media/gpu/v4l2_video_encode_accelerator.cc (right): ...
3 years, 5 months ago (2017-07-18 05:46:22 UTC) #13
mojahsu1
3 years, 5 months ago (2017-07-18 07:24:23 UTC) #15
wuchengli
https://codereview.chromium.org/2958213002/diff/60001/media/gpu/v4l2_video_encode_accelerator.cc File media/gpu/v4l2_video_encode_accelerator.cc (right): https://codereview.chromium.org/2958213002/diff/60001/media/gpu/v4l2_video_encode_accelerator.cc#newcode1095 media/gpu/v4l2_video_encode_accelerator.cc:1095: Actually the original comment is valid for both SELECTION ...
3 years, 5 months ago (2017-07-18 10:12:27 UTC) #16
wuchengli
lgtm
3 years, 5 months ago (2017-07-25 08:17:34 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/2958213002/80001
3 years, 5 months ago (2017-07-25 08:28:45 UTC) #20
commit-bot: I haz the power
3 years, 5 months ago (2017-07-25 09:46:39 UTC) #23
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/92c29f34ff9ad157f94b6f1a8f67...

Powered by Google App Engine
This is Rietveld 408576698