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

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

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 years, 5 months 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/session_info.h" 11 #include "webrtc/modules/video_coding/session_info.h"
12 12
13 #include "webrtc/base/logging.h"
13 #include "webrtc/modules/video_coding/packet.h" 14 #include "webrtc/modules/video_coding/packet.h"
14 #include "webrtc/rtc_base/logging.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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 if (empty_seq_num_high_ == -1) 518 if (empty_seq_num_high_ == -1)
519 empty_seq_num_high_ = seq_num; 519 empty_seq_num_high_ = seq_num;
520 else 520 else
521 empty_seq_num_high_ = LatestSequenceNumber(seq_num, empty_seq_num_high_); 521 empty_seq_num_high_ = LatestSequenceNumber(seq_num, empty_seq_num_high_);
522 if (empty_seq_num_low_ == -1 || 522 if (empty_seq_num_low_ == -1 ||
523 IsNewerSequenceNumber(empty_seq_num_low_, seq_num)) 523 IsNewerSequenceNumber(empty_seq_num_low_, seq_num))
524 empty_seq_num_low_ = seq_num; 524 empty_seq_num_low_ = seq_num;
525 } 525 }
526 526
527 } // namespace webrtc 527 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/sequence_number_util.h ('k') | webrtc/modules/video_coding/test/stream_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698