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

Side by Side Diff: webrtc/common_video/include/frame_callback.h

Issue 1902543002: Move frame_callback.h to common_video/include. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 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 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_FRAME_CALLBACK_H_ 11 #ifndef WEBRTC_COMMON_VIDEO_INCLUDE_FRAME_CALLBACK_H_
12 #define WEBRTC_FRAME_CALLBACK_H_ 12 #define WEBRTC_COMMON_VIDEO_INCLUDE_FRAME_CALLBACK_H_
13 13
14 #include <stddef.h> 14 #include <stddef.h>
15 #include <stdint.h> 15 #include <stdint.h>
16 16
17 #include "webrtc/common_types.h" 17 #include "webrtc/common_types.h"
18 18
19 namespace webrtc { 19 namespace webrtc {
20 20
21 class VideoFrame; 21 class VideoFrame;
22 22
(...skipping 22 matching lines...) Expand all
45 public: 45 public:
46 virtual void EncodedFrameCallback(const EncodedFrame& encoded_frame) = 0; 46 virtual void EncodedFrameCallback(const EncodedFrame& encoded_frame) = 0;
47 virtual void OnEncodeTiming(int64_t capture_ntp_ms, int encode_duration_ms) {} 47 virtual void OnEncodeTiming(int64_t capture_ntp_ms, int encode_duration_ms) {}
48 48
49 protected: 49 protected:
50 virtual ~EncodedFrameObserver() {} 50 virtual ~EncodedFrameObserver() {}
51 }; 51 };
52 52
53 } // namespace webrtc 53 } // namespace webrtc
54 54
55 #endif // WEBRTC_FRAME_CALLBACK_H_ 55 #endif // WEBRTC_COMMON_VIDEO_INCLUDE_FRAME_CALLBACK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698