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

Side by Side Diff: media/video/capture/linux/video_capture_device_linux.h

Issue 9034032: And now NewRunnableMethod(), you die. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chrome_frame_automation Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Linux specific implementation of VideoCaptureDevice. 5 // Linux specific implementation of VideoCaptureDevice.
6 // V4L2 is used for capturing. V4L2 does not provide it's own thread for 6 // V4L2 is used for capturing. V4L2 does not provide it's own thread for
7 // capturing so this implementation uses a Chromium thread for fetching frames 7 // capturing so this implementation uses a Chromium thread for fetching frames
8 // from V4L2. 8 // from V4L2.
9 9
10 #ifndef MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_LINUX_H_ 10 #ifndef MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_LINUX_H_
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 int device_fd_; // File descriptor for the opened camera device. 68 int device_fd_; // File descriptor for the opened camera device.
69 base::Thread v4l2_thread_; // Thread used for reading data from the device. 69 base::Thread v4l2_thread_; // Thread used for reading data from the device.
70 Buffer* buffer_pool_; 70 Buffer* buffer_pool_;
71 int buffer_pool_size_; // Number of allocated buffers. 71 int buffer_pool_size_; // Number of allocated buffers.
72 72
73 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceLinux); 73 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceLinux);
74 }; 74 };
75 75
76 } // namespace media 76 } // namespace media
77 77
78 DISABLE_RUNNABLE_METHOD_REFCOUNT(media::VideoCaptureDeviceLinux);
79
80 #endif // MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_LINUX_H_ 78 #endif // MEDIA_VIDEO_CAPTURE_LINUX_VIDEO_CAPTURE_DEVICE_LINUX_H_
OLDNEW
« no previous file with comments | « media/video/capture/fake_video_capture_device.h ('k') | media/video/capture/video_capture_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698