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

Issue 700383004: Add use_v4lplugin flag to enable v4l2 library (Closed)

Created:
6 years, 1 month ago by henryhsu
Modified:
5 years, 11 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.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add use_v4lplugin flag to enable v4l2 library Dynamic load v4l-utils related libraries in unittest. BUG=405861 TEST=use video_encode_accelerator_unittest to make sure v4l2_open and plugin_init is called. Related shared libraries are from chromeos. When use_v4lplugin=0, unittest doesn't open v4l2 libraries. Committed: https://crrev.com/d909464cbdcf7d4f80aff4009d9796632657dfb8 Cr-Commit-Position: refs/heads/master@{#310701}

Patch Set 1 #

Patch Set 2 : Add error handleing when initialization failed #

Patch Set 3 : restore video capture #

Patch Set 4 : use v4l2_fd_open #

Total comments: 20

Patch Set 5 : split v4l-utils code and address review comments #

Patch Set 6 : Add CQ-DEPEND and chromeos==1 condition in gyp #

Total comments: 2

Patch Set 7 : address review comment and add DEPS #

Patch Set 8 : Add use_v4lplugin default value #

Patch Set 9 : rebase #

Patch Set 10 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -5 lines) Patch
M content/common/gpu/media/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/common/gpu/media/generic_v4l2_video_device.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/gpu/media/generic_v4l2_video_device.cc View 1 2 3 4 5 6 7 8 5 chunks +42 lines, -2 lines 0 comments Download
A + content/common/gpu/media/v4l2.sig View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -2 lines 0 comments Download
A + content/common/gpu/media/v4l2_stub_header.fragment View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +45 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (5 generated)
henryhsu
6 years, 1 month ago (2014-11-06 11:29:00 UTC) #2
henryhsu
Ready for review, PTAL.
6 years, 1 month ago (2014-11-18 03:58:54 UTC) #4
Pawel Osciak
On 2014/11/18 03:58:54, henryhsu wrote: > Ready for review, PTAL. Please also TEST=/verify on existing ...
6 years, 1 month ago (2014-11-18 04:55:39 UTC) #5
henryhsu
On 2014/11/18 04:55:39, Pawel Osciak wrote: > On 2014/11/18 03:58:54, henryhsu wrote: > > Ready ...
6 years, 1 month ago (2014-11-18 06:01:50 UTC) #6
Pawel Osciak
https://codereview.chromium.org/700383004/diff/60001/content/common/gpu/media/exynos_v4l2_video_device.cc File content/common/gpu/media/exynos_v4l2_video_device.cc (right): https://codereview.chromium.org/700383004/diff/60001/content/common/gpu/media/exynos_v4l2_video_device.cc#newcode21 content/common/gpu/media/exynos_v4l2_video_device.cc:21: # include<libv4l2.h> No indent please. And space before '<'. ...
6 years, 1 month ago (2014-11-18 08:36:30 UTC) #7
Pawel Osciak
6 years, 1 month ago (2014-11-18 08:36:53 UTC) #9
Pawel Osciak
By the way, I think it would be best if you separated the third_party/ submission ...
6 years, 1 month ago (2014-11-18 08:37:57 UTC) #10
henryhsu
all done. PTAL https://codereview.chromium.org/700383004/diff/60001/content/common/gpu/media/exynos_v4l2_video_device.cc File content/common/gpu/media/exynos_v4l2_video_device.cc (right): https://codereview.chromium.org/700383004/diff/60001/content/common/gpu/media/exynos_v4l2_video_device.cc#newcode21 content/common/gpu/media/exynos_v4l2_video_device.cc:21: # include<libv4l2.h> On 2014/11/18 08:36:30, Pawel ...
6 years, 1 month ago (2014-11-19 03:49:47 UTC) #11
Pawel Osciak
Please update the CL message.
6 years, 1 month ago (2014-11-19 10:57:05 UTC) #12
Pawel Osciak
I don't think CQ-DEPEND works for Chrome? You'll have to wait for the other CL ...
6 years, 1 month ago (2014-11-19 10:59:54 UTC) #13
Pawel Osciak
+Jorge FYI (new library in GPU process) And one last nit. https://chromiumcodereview.appspot.com/700383004/diff/100001/content/common/gpu/media/exynos_v4l2_video_device.cc File content/common/gpu/media/exynos_v4l2_video_device.cc (right): ...
6 years, 1 month ago (2014-11-19 11:05:22 UTC) #15
henryhsu
PTAL https://codereview.chromium.org/700383004/diff/100001/content/common/gpu/media/exynos_v4l2_video_device.cc File content/common/gpu/media/exynos_v4l2_video_device.cc (right): https://codereview.chromium.org/700383004/diff/100001/content/common/gpu/media/exynos_v4l2_video_device.cc#newcode21 content/common/gpu/media/exynos_v4l2_video_device.cc:21: #include <libv4l2.h> On 2014/11/19 11:05:22, Pawel Osciak wrote: ...
6 years, 1 month ago (2014-11-20 05:11:58 UTC) #16
Pawel Osciak
lgtm
6 years, 1 month ago (2014-11-23 14:32:35 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/700383004/180001
5 years, 11 months ago (2015-01-09 02:27:44 UTC) #19
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 11 months ago (2015-01-09 03:28:18 UTC) #20
commit-bot: I haz the power
5 years, 11 months ago (2015-01-09 03:30:00 UTC) #21
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/d909464cbdcf7d4f80aff4009d9796632657dfb8
Cr-Commit-Position: refs/heads/master@{#310701}

Powered by Google App Engine
This is Rietveld 408576698