OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 int LowSequenceNumber() const; | 81 int LowSequenceNumber() const; |
82 | 82 |
83 // Returns highest sequence number, media or empty. | 83 // Returns highest sequence number, media or empty. |
84 int HighSequenceNumber() const; | 84 int HighSequenceNumber() const; |
85 int PictureId() const; | 85 int PictureId() const; |
86 int TemporalId() const; | 86 int TemporalId() const; |
87 bool LayerSync() const; | 87 bool LayerSync() const; |
88 int Tl0PicId() const; | 88 int Tl0PicId() const; |
89 bool NonReference() const; | 89 bool NonReference() const; |
90 | 90 |
| 91 void SetGofInfo(const GofInfoVP9& gof_info, size_t idx); |
| 92 |
91 // The number of packets discarded because the decoder can't make use of | 93 // The number of packets discarded because the decoder can't make use of |
92 // them. | 94 // them. |
93 int packets_not_decodable() const; | 95 int packets_not_decodable() const; |
94 | 96 |
95 private: | 97 private: |
96 enum { kMaxVP8Partitions = 9 }; | 98 enum { kMaxVP8Partitions = 9 }; |
97 | 99 |
98 typedef std::list<VCMPacket> PacketList; | 100 typedef std::list<VCMPacket> PacketList; |
99 typedef PacketList::iterator PacketIterator; | 101 typedef PacketList::iterator PacketIterator; |
100 typedef PacketList::const_iterator PacketIteratorConst; | 102 typedef PacketList::const_iterator PacketIteratorConst; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 // They are not necessarily equal to the front and back packets, as packets | 163 // They are not necessarily equal to the front and back packets, as packets |
162 // may enter out of order. | 164 // may enter out of order. |
163 // TODO(mikhal): Refactor the list to use a map. | 165 // TODO(mikhal): Refactor the list to use a map. |
164 int first_packet_seq_num_; | 166 int first_packet_seq_num_; |
165 int last_packet_seq_num_; | 167 int last_packet_seq_num_; |
166 }; | 168 }; |
167 | 169 |
168 } // namespace webrtc | 170 } // namespace webrtc |
169 | 171 |
170 #endif // WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_SESSION_INFO_H_ | 172 #endif // WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_SESSION_INFO_H_ |
OLD | NEW |