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

Side by Side Diff: content/renderer/media/video_capture_impl.h

Issue 10035054: Merge VideoCaptureDevice::Capability with media::VideoCaptureCapability (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix a namespace issue Created 8 years, 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // VideoCaptureImpl represents a capture device in renderer process. It provides 5 // VideoCaptureImpl represents a capture device in renderer process. It provides
6 // interfaces for clients to Start/Stop capture. It also communicates to clients 6 // interfaces for clients to Start/Stop capture. It also communicates to clients
7 // when buffer is ready, state of capture device is changed. 7 // when buffer is ready, state of capture device is changed.
8 8
9 #ifndef CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_ 9 #ifndef CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_
10 #define CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_ 10 #define CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 typedef std::map<int /* buffer_id */, DIBBuffer*> CachedDIB; 91 typedef std::map<int /* buffer_id */, DIBBuffer*> CachedDIB;
92 CachedDIB cached_dibs_; 92 CachedDIB cached_dibs_;
93 93
94 typedef std::map<media::VideoCapture::EventHandler*, 94 typedef std::map<media::VideoCapture::EventHandler*,
95 media::VideoCaptureCapability> ClientInfo; 95 media::VideoCaptureCapability> ClientInfo;
96 ClientInfo clients_; 96 ClientInfo clients_;
97 97
98 ClientInfo clients_pending_on_filter_; 98 ClientInfo clients_pending_on_filter_;
99 ClientInfo clients_pending_on_restart_; 99 ClientInfo clients_pending_on_restart_;
100 100
101 media::VideoFrame::Format video_type_; 101 media::VideoCaptureCapability::Format video_type_;
102 102
103 // The parameter is being used in current capture session. A capture session 103 // The parameter is being used in current capture session. A capture session
104 // starts with StartCapture and ends with StopCapture. 104 // starts with StartCapture and ends with StopCapture.
105 media::VideoCaptureParams current_params_; 105 media::VideoCaptureParams current_params_;
106 106
107 // The information about the device sent from browser process side. 107 // The information about the device sent from browser process side.
108 media::VideoCaptureParams device_info_; 108 media::VideoCaptureParams device_info_;
109 bool device_info_available_; 109 bool device_info_available_;
110 110
111 video_capture::State state_; 111 video_capture::State state_;
112 112
113 DISALLOW_COPY_AND_ASSIGN(VideoCaptureImpl); 113 DISALLOW_COPY_AND_ASSIGN(VideoCaptureImpl);
114 }; 114 };
115 115
116 #endif // CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_ 116 #endif // CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_impl.cc ('k') | content/renderer/media/video_capture_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698