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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 bool ContinuousPictureId(int picture_id) const; | 57 bool ContinuousPictureId(int picture_id) const; |
58 bool ContinuousSeqNum(uint16_t seq_num) const; | 58 bool ContinuousSeqNum(uint16_t seq_num) const; |
59 bool ContinuousLayer(int temporal_id, int tl0_pic_id) const; | 59 bool ContinuousLayer(int temporal_id, int tl0_pic_id) const; |
60 bool ContinuousFrameRefs(const VCMFrameBuffer* frame) const; | 60 bool ContinuousFrameRefs(const VCMFrameBuffer* frame) const; |
61 bool UsingPictureId(const VCMFrameBuffer* frame) const; | 61 bool UsingPictureId(const VCMFrameBuffer* frame) const; |
62 bool UsingFlexibleMode(const VCMFrameBuffer* frame) const; | 62 bool UsingFlexibleMode(const VCMFrameBuffer* frame) const; |
63 bool AheadOfFramesDecodedClearedTo(uint16_t index) const; | 63 bool AheadOfFramesDecodedClearedTo(uint16_t index) const; |
64 | 64 |
65 // Keep state of last decoded frame. | 65 // Keep state of last decoded frame. |
66 // TODO(mikhal/stefan): create designated classes to handle these types. | 66 // TODO(mikhal/stefan): create designated classes to handle these types. |
67 uint16_t sequence_num_; | 67 uint16_t sequence_num_; |
68 uint32_t time_stamp_; | 68 uint32_t time_stamp_; |
69 int picture_id_; | 69 int picture_id_; |
70 int temporal_id_; | 70 int temporal_id_; |
71 int tl0_pic_id_; | 71 int tl0_pic_id_; |
72 bool full_sync_; // Sync flag when temporal layers are used. | 72 bool full_sync_; // Sync flag when temporal layers are used. |
73 bool in_initial_state_; | 73 bool in_initial_state_; |
74 | 74 |
75 // Used to check references in flexible mode. | 75 // Used to check references in flexible mode. |
76 bool frame_decoded_[kFrameDecodedLength]; | 76 bool frame_decoded_[kFrameDecodedLength]; |
77 uint16_t frame_decoded_cleared_to_; | 77 uint16_t frame_decoded_cleared_to_; |
78 }; | 78 }; |
79 | 79 |
80 } // namespace webrtc | 80 } // namespace webrtc |
81 | 81 |
82 #endif // WEBRTC_MODULES_VIDEO_CODING_DECODING_STATE_H_ | 82 #endif // WEBRTC_MODULES_VIDEO_CODING_DECODING_STATE_H_ |
OLD | NEW |