OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 #include "webrtc/modules/video_coding/main/source/frame_buffer.h" | 11 #include "webrtc/modules/video_coding/main/source/frame_buffer.h" |
12 | 12 |
13 #include <assert.h> | 13 #include <assert.h> |
14 #include <string.h> | 14 #include <string.h> |
15 | 15 |
16 #include "webrtc/base/checks.h" | 16 #include "webrtc/base/checks.h" |
| 17 #include "webrtc/base/logging.h" |
17 #include "webrtc/modules/video_coding/main/source/packet.h" | 18 #include "webrtc/modules/video_coding/main/source/packet.h" |
18 #include "webrtc/system_wrappers/include/logging.h" | |
19 | 19 |
20 namespace webrtc { | 20 namespace webrtc { |
21 | 21 |
22 VCMFrameBuffer::VCMFrameBuffer() | 22 VCMFrameBuffer::VCMFrameBuffer() |
23 : | 23 : |
24 _state(kStateEmpty), | 24 _state(kStateEmpty), |
25 _nackCount(0), | 25 _nackCount(0), |
26 _latestPacketTimeMs(-1) { | 26 _latestPacketTimeMs(-1) { |
27 } | 27 } |
28 | 28 |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 _length -= bytes_removed; | 288 _length -= bytes_removed; |
289 #endif | 289 #endif |
290 // Transfer frame information to EncodedFrame and create any codec | 290 // Transfer frame information to EncodedFrame and create any codec |
291 // specific information. | 291 // specific information. |
292 _frameType = _sessionInfo.FrameType(); | 292 _frameType = _sessionInfo.FrameType(); |
293 _completeFrame = _sessionInfo.complete(); | 293 _completeFrame = _sessionInfo.complete(); |
294 _missingFrame = !continuous; | 294 _missingFrame = !continuous; |
295 } | 295 } |
296 | 296 |
297 } // namespace webrtc | 297 } // namespace webrtc |
OLD | NEW |