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

Side by Side Diff: content/common/media/video_capture.h

Issue 287313002: Pass a TimeTicks along video capture pipeline to represent capture time (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 6 years, 6 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 // This file contains commonly used definitions of video capture. 5 // This file contains commonly used definitions of video capture.
6 6
7 #ifndef CONTENT_COMMON_MEDIA_VIDEO_CAPTURE_H_ 7 #ifndef CONTENT_COMMON_MEDIA_VIDEO_CAPTURE_H_
8 #define CONTENT_COMMON_MEDIA_VIDEO_CAPTURE_H_ 8 #define CONTENT_COMMON_MEDIA_VIDEO_CAPTURE_H_
9 9
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 14 matching lines...) Expand all
25 VIDEO_CAPTURE_STATE_STOPPED, 25 VIDEO_CAPTURE_STATE_STOPPED,
26 VIDEO_CAPTURE_STATE_ERROR, 26 VIDEO_CAPTURE_STATE_ERROR,
27 VIDEO_CAPTURE_STATE_ENDED, 27 VIDEO_CAPTURE_STATE_ENDED,
28 VIDEO_CAPTURE_STATE_LAST = VIDEO_CAPTURE_STATE_ENDED 28 VIDEO_CAPTURE_STATE_LAST = VIDEO_CAPTURE_STATE_ENDED
29 }; 29 };
30 30
31 typedef base::Callback<void(VideoCaptureState)> 31 typedef base::Callback<void(VideoCaptureState)>
32 VideoCaptureStateUpdateCB; 32 VideoCaptureStateUpdateCB;
33 typedef base::Callback<void(const media::VideoCaptureFormats&)> 33 typedef base::Callback<void(const media::VideoCaptureFormats&)>
34 VideoCaptureDeviceFormatsCB; 34 VideoCaptureDeviceFormatsCB;
35 typedef base::Callback<
36 void(const scoped_refptr<media::VideoFrame>&,
37 const media::VideoCaptureFormat&)>
38 VideoCaptureDeliverFrameCB;
39 35
40 } // namespace content 36 } // namespace content
41 37
42 #endif // CONTENT_COMMON_MEDIA_VIDEO_CAPTURE_H_ 38 #endif // CONTENT_COMMON_MEDIA_VIDEO_CAPTURE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698