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

Side by Side Diff: media/capture/video/win/sink_filter_observer_win.h

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years 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) 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 // Observer class of Sinkfilter. The implementor of this class receive video 5 // Observer class of Sinkfilter. The implementor of this class receive video
6 // frames from the SinkFilter DirectShow filter. 6 // frames from the SinkFilter DirectShow filter.
7 7
8 #ifndef MEDIA_VIDEO_CAPTURE_WIN_SINK_FILTER_OBSERVER_WIN_H_ 8 #ifndef MEDIA_VIDEO_CAPTURE_WIN_SINK_FILTER_OBSERVER_WIN_H_
9 #define MEDIA_VIDEO_CAPTURE_WIN_SINK_FILTER_OBSERVER_WIN_H_ 9 #define MEDIA_VIDEO_CAPTURE_WIN_SINK_FILTER_OBSERVER_WIN_H_
10 10
11 namespace media { 11 namespace media {
12 12
13 class SinkFilterObserver { 13 class SinkFilterObserver {
14 public: 14 public:
15 // SinkFilter will call this function with all frames delivered to it. 15 // SinkFilter will call this function with all frames delivered to it.
16 // buffer in only valid during this function call. 16 // buffer in only valid during this function call.
17 virtual void FrameReceived(const uint8* buffer, int length, 17 virtual void FrameReceived(const uint8_t* buffer,
18 int length,
18 base::TimeTicks timestamp) = 0; 19 base::TimeTicks timestamp) = 0;
19 20
20 protected: 21 protected:
21 virtual ~SinkFilterObserver(); 22 virtual ~SinkFilterObserver();
22 }; 23 };
23 24
24 } // namespace media 25 } // namespace media
25 26
26 #endif // MEDIA_VIDEO_CAPTURE_WIN_SINK_FILTER_OBSERVER_WIN_H_ 27 #endif // MEDIA_VIDEO_CAPTURE_WIN_SINK_FILTER_OBSERVER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698