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

Side by Side Diff: content/common/gpu/media/generic_v4l2_video_device.h

Issue 700383004: Add use_v4lplugin flag to enable v4l2 library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/gpu/media/DEPS ('k') | content/common/gpu/media/generic_v4l2_video_device.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file contains the implementation of GenericV4L2Device used on 5 // This file contains the implementation of GenericV4L2Device used on
6 // platforms, which provide generic V4L2 video codec devices. 6 // platforms, which provide generic V4L2 video codec devices.
7 7
8 #ifndef CONTENT_COMMON_GPU_MEDIA_GENERIC_V4L2_VIDEO_DEVICE_H_ 8 #ifndef CONTENT_COMMON_GPU_MEDIA_GENERIC_V4L2_VIDEO_DEVICE_H_
9 #define CONTENT_COMMON_GPU_MEDIA_GENERIC_V4L2_VIDEO_DEVICE_H_ 9 #define CONTENT_COMMON_GPU_MEDIA_GENERIC_V4L2_VIDEO_DEVICE_H_
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 const Type type_; 45 const Type type_;
46 46
47 // The actual device fd. 47 // The actual device fd.
48 int device_fd_; 48 int device_fd_;
49 49
50 // eventfd fd to signal device poll thread when its poll() should be 50 // eventfd fd to signal device poll thread when its poll() should be
51 // interrupted. 51 // interrupted.
52 int device_poll_interrupt_fd_; 52 int device_poll_interrupt_fd_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(GenericV4L2Device); 54 DISALLOW_COPY_AND_ASSIGN(GenericV4L2Device);
55
56 // Lazily initialize static data after sandbox is enabled. Return false on
57 // init failure.
58 static bool PostSandboxInitialization();
55 }; 59 };
56 } // namespace content 60 } // namespace content
57 61
58 #endif // CONTENT_COMMON_GPU_MEDIA_GENERIC_V4L2_VIDEO_DEVICE_H_ 62 #endif // CONTENT_COMMON_GPU_MEDIA_GENERIC_V4L2_VIDEO_DEVICE_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/DEPS ('k') | content/common/gpu/media/generic_v4l2_video_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698