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

Side by Side Diff: webrtc/modules/video_coding/frame_object.h

Issue 3011943002: Move optional.h to webrtc/api/ (Closed)
Patch Set: Created 3 years, 3 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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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_MODULES_VIDEO_CODING_FRAME_OBJECT_H_ 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_FRAME_OBJECT_H_
12 #define WEBRTC_MODULES_VIDEO_CODING_FRAME_OBJECT_H_ 12 #define WEBRTC_MODULES_VIDEO_CODING_FRAME_OBJECT_H_
13 13
14 #include "webrtc/api/optional.h"
14 #include "webrtc/common_types.h" 15 #include "webrtc/common_types.h"
15 #include "webrtc/modules/include/module_common_types.h" 16 #include "webrtc/modules/include/module_common_types.h"
16 #include "webrtc/modules/video_coding/encoded_frame.h" 17 #include "webrtc/modules/video_coding/encoded_frame.h"
17 #include "webrtc/rtc_base/optional.h"
18 18
19 namespace webrtc { 19 namespace webrtc {
20 namespace video_coding { 20 namespace video_coding {
21 21
22 class FrameObject : public webrtc::VCMEncodedFrame { 22 class FrameObject : public webrtc::VCMEncodedFrame {
23 public: 23 public:
24 static const uint8_t kMaxFrameReferences = 5; 24 static const uint8_t kMaxFrameReferences = 5;
25 25
26 FrameObject(); 26 FrameObject();
27 virtual ~FrameObject() {} 27 virtual ~FrameObject() {}
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 // Equal to times nacked of the packet with the highet times nacked 96 // Equal to times nacked of the packet with the highet times nacked
97 // belonging to this frame. 97 // belonging to this frame.
98 int times_nacked_; 98 int times_nacked_;
99 }; 99 };
100 100
101 } // namespace video_coding 101 } // namespace video_coding
102 } // namespace webrtc 102 } // namespace webrtc
103 103
104 #endif // WEBRTC_MODULES_VIDEO_CODING_FRAME_OBJECT_H_ 104 #endif // WEBRTC_MODULES_VIDEO_CODING_FRAME_OBJECT_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc ('k') | webrtc/modules/video_coding/generic_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698