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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/fec_private_tables_random.h

Issue 1506823002: [rtp_rtcp] fixed namespaces lint warnings (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years 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 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_FEC_PRIVATE_TABLES_RANDOM_H_ 11 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_FEC_PRIVATE_TABLES_RANDOM_H_
12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_FEC_PRIVATE_TABLES_RANDOM_H_ 12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_FEC_PRIVATE_TABLES_RANDOM_H_
13 13
14 // This file contains a set of packets masks for the FEC code. The masks in 14 // This file contains a set of packets masks for the FEC code. The masks in
15 // this table are specifically designed to favor recovery to random loss. 15 // this table are specifically designed to favor recovery to random loss.
16 // These packet masks are defined to protect up to maximum of 48 media packets. 16 // These packet masks are defined to protect up to maximum of 48 media packets.
17 17
18 #include "webrtc/typedefs.h" 18 #include "webrtc/typedefs.h"
19 19
20 namespace { 20 namespace webrtc {
21 namespace fec_private_tables {
21 22
22 const uint8_t kMaskRandom10_1[2] = { 23 const uint8_t kMaskRandom10_1[2] = {
23 0xff, 0xc0 24 0xff, 0xc0
24 }; 25 };
25 26
26 const uint8_t kMaskRandom10_10[20] = { 27 const uint8_t kMaskRandom10_10[20] = {
27 0x4c, 0x00, 28 0x4c, 0x00,
28 0x51, 0x00, 29 0x51, 0x00,
29 0xa0, 0x40, 30 0xa0, 0x40,
30 0x04, 0xc0, 31 0x04, 0xc0,
(...skipping 24480 matching lines...) Expand 10 before | Expand all | Expand 10 after
24511 kPacketMaskRandom41, 24512 kPacketMaskRandom41,
24512 kPacketMaskRandom42, 24513 kPacketMaskRandom42,
24513 kPacketMaskRandom43, 24514 kPacketMaskRandom43,
24514 kPacketMaskRandom44, 24515 kPacketMaskRandom44,
24515 kPacketMaskRandom45, 24516 kPacketMaskRandom45,
24516 kPacketMaskRandom46, 24517 kPacketMaskRandom46,
24517 kPacketMaskRandom47, 24518 kPacketMaskRandom47,
24518 kPacketMaskRandom48 24519 kPacketMaskRandom48
24519 }; 24520 };
24520 24521
24521 } // namespace 24522 } // namespace fec_private_tables
24523 } // namespace webrtc
24522 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_FEC_PRIVATE_TABLES_RANDOM_H_ 24524 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_FEC_PRIVATE_TABLES_RANDOM_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/fec_private_tables_bursty.h ('k') | webrtc/modules/rtp_rtcp/source/fec_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698