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

Side by Side Diff: webrtc/modules/video_coding/session_info.cc

Issue 1417283007: modules/video_coding refactorings (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix the other copy of the mock include header Created 5 years, 1 month 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) 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/session_info.h" 11 #include "webrtc/modules/video_coding/session_info.h"
12 12
13 #include "webrtc/base/logging.h" 13 #include "webrtc/base/logging.h"
14 #include "webrtc/modules/video_coding/main/source/packet.h" 14 #include "webrtc/modules/video_coding/packet.h"
15 15
16 namespace webrtc { 16 namespace webrtc {
17 17
18 namespace { 18 namespace {
19 19
20 uint16_t BufferToUWord16(const uint8_t* dataBuffer) { 20 uint16_t BufferToUWord16(const uint8_t* dataBuffer) {
21 return (dataBuffer[0] << 8) | dataBuffer[1]; 21 return (dataBuffer[0] << 8) | dataBuffer[1];
22 } 22 }
23 23
24 } // namespace 24 } // namespace
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 if (empty_seq_num_high_ == -1) 571 if (empty_seq_num_high_ == -1)
572 empty_seq_num_high_ = seq_num; 572 empty_seq_num_high_ = seq_num;
573 else 573 else
574 empty_seq_num_high_ = LatestSequenceNumber(seq_num, empty_seq_num_high_); 574 empty_seq_num_high_ = LatestSequenceNumber(seq_num, empty_seq_num_high_);
575 if (empty_seq_num_low_ == -1 || IsNewerSequenceNumber(empty_seq_num_low_, 575 if (empty_seq_num_low_ == -1 || IsNewerSequenceNumber(empty_seq_num_low_,
576 seq_num)) 576 seq_num))
577 empty_seq_num_low_ = seq_num; 577 empty_seq_num_low_ = seq_num;
578 } 578 }
579 579
580 } // namespace webrtc 580 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/session_info.h ('k') | webrtc/modules/video_coding/session_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698