OLD | NEW |
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/base/optional.h" | |
15 #include "webrtc/common_types.h" | 14 #include "webrtc/common_types.h" |
16 #include "webrtc/modules/include/module_common_types.h" | 15 #include "webrtc/modules/include/module_common_types.h" |
17 #include "webrtc/modules/video_coding/encoded_frame.h" | 16 #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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 // Equal to times nacked of the packet with the highet times nacked | 94 // Equal to times nacked of the packet with the highet times nacked |
95 // belonging to this frame. | 95 // belonging to this frame. |
96 int times_nacked_; | 96 int times_nacked_; |
97 }; | 97 }; |
98 | 98 |
99 } // namespace video_coding | 99 } // namespace video_coding |
100 } // namespace webrtc | 100 } // namespace webrtc |
101 | 101 |
102 #endif // WEBRTC_MODULES_VIDEO_CODING_FRAME_OBJECT_H_ | 102 #endif // WEBRTC_MODULES_VIDEO_CODING_FRAME_OBJECT_H_ |
OLD | NEW |