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

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

Issue 2986163002: Audit of kConstants missing the const qualifier (Closed)
Patch Set: rebase + constexpr Created 3 years, 4 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
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 0x18, 0x00, 621 0x18, 0x00,
622 0x0c, 0x00, 622 0x0c, 0x00,
623 0x06, 0x00, 623 0x06, 0x00,
624 0x03, 0x00, 624 0x03, 0x00,
625 0x01, 0x80, 625 0x01, 0x80,
626 0x00, 0xc0, 626 0x00, 0xc0,
627 0x00, 0x60, 627 0x00, 0x60,
628 0x00, 0x30 628 0x00, 0x30
629 }; 629 };
630 630
631 const uint8_t* kPacketMaskBursty1[1] = { 631 const uint8_t* const kPacketMaskBursty1[1] = {
632 kMaskBursty1_1 632 kMaskBursty1_1
633 }; 633 };
634 634
635 const uint8_t* kPacketMaskBursty2[2] = { 635 const uint8_t* const kPacketMaskBursty2[2] = {
636 kMaskBursty2_1, 636 kMaskBursty2_1,
637 kMaskBursty2_2 637 kMaskBursty2_2
638 }; 638 };
639 639
640 const uint8_t* kPacketMaskBursty3[3] = { 640 const uint8_t* const kPacketMaskBursty3[3] = {
641 kMaskBursty3_1, 641 kMaskBursty3_1,
642 kMaskBursty3_2, 642 kMaskBursty3_2,
643 kMaskBursty3_3 643 kMaskBursty3_3
644 }; 644 };
645 645
646 const uint8_t* kPacketMaskBursty4[4] = { 646 const uint8_t* const kPacketMaskBursty4[4] = {
647 kMaskBursty4_1, 647 kMaskBursty4_1,
648 kMaskBursty4_2, 648 kMaskBursty4_2,
649 kMaskBursty4_3, 649 kMaskBursty4_3,
650 kMaskBursty4_4 650 kMaskBursty4_4
651 }; 651 };
652 652
653 const uint8_t* kPacketMaskBursty5[5] = { 653 const uint8_t* const kPacketMaskBursty5[5] = {
654 kMaskBursty5_1, 654 kMaskBursty5_1,
655 kMaskBursty5_2, 655 kMaskBursty5_2,
656 kMaskBursty5_3, 656 kMaskBursty5_3,
657 kMaskBursty5_4, 657 kMaskBursty5_4,
658 kMaskBursty5_5 658 kMaskBursty5_5
659 }; 659 };
660 660
661 const uint8_t* kPacketMaskBursty6[6] = { 661 const uint8_t* const kPacketMaskBursty6[6] = {
662 kMaskBursty6_1, 662 kMaskBursty6_1,
663 kMaskBursty6_2, 663 kMaskBursty6_2,
664 kMaskBursty6_3, 664 kMaskBursty6_3,
665 kMaskBursty6_4, 665 kMaskBursty6_4,
666 kMaskBursty6_5, 666 kMaskBursty6_5,
667 kMaskBursty6_6 667 kMaskBursty6_6
668 }; 668 };
669 669
670 const uint8_t* kPacketMaskBursty7[7] = { 670 const uint8_t* const kPacketMaskBursty7[7] = {
671 kMaskBursty7_1, 671 kMaskBursty7_1,
672 kMaskBursty7_2, 672 kMaskBursty7_2,
673 kMaskBursty7_3, 673 kMaskBursty7_3,
674 kMaskBursty7_4, 674 kMaskBursty7_4,
675 kMaskBursty7_5, 675 kMaskBursty7_5,
676 kMaskBursty7_6, 676 kMaskBursty7_6,
677 kMaskBursty7_7 677 kMaskBursty7_7
678 }; 678 };
679 679
680 const uint8_t* kPacketMaskBursty8[8] = { 680 const uint8_t* const kPacketMaskBursty8[8] = {
681 kMaskBursty8_1, 681 kMaskBursty8_1,
682 kMaskBursty8_2, 682 kMaskBursty8_2,
683 kMaskBursty8_3, 683 kMaskBursty8_3,
684 kMaskBursty8_4, 684 kMaskBursty8_4,
685 kMaskBursty8_5, 685 kMaskBursty8_5,
686 kMaskBursty8_6, 686 kMaskBursty8_6,
687 kMaskBursty8_7, 687 kMaskBursty8_7,
688 kMaskBursty8_8 688 kMaskBursty8_8
689 }; 689 };
690 690
691 const uint8_t* kPacketMaskBursty9[9] = { 691 const uint8_t* const kPacketMaskBursty9[9] = {
692 kMaskBursty9_1, 692 kMaskBursty9_1,
693 kMaskBursty9_2, 693 kMaskBursty9_2,
694 kMaskBursty9_3, 694 kMaskBursty9_3,
695 kMaskBursty9_4, 695 kMaskBursty9_4,
696 kMaskBursty9_5, 696 kMaskBursty9_5,
697 kMaskBursty9_6, 697 kMaskBursty9_6,
698 kMaskBursty9_7, 698 kMaskBursty9_7,
699 kMaskBursty9_8, 699 kMaskBursty9_8,
700 kMaskBursty9_9 700 kMaskBursty9_9
701 }; 701 };
702 702
703 const uint8_t* kPacketMaskBursty10[10] = { 703 const uint8_t* const kPacketMaskBursty10[10] = {
704 kMaskBursty10_1, 704 kMaskBursty10_1,
705 kMaskBursty10_2, 705 kMaskBursty10_2,
706 kMaskBursty10_3, 706 kMaskBursty10_3,
707 kMaskBursty10_4, 707 kMaskBursty10_4,
708 kMaskBursty10_5, 708 kMaskBursty10_5,
709 kMaskBursty10_6, 709 kMaskBursty10_6,
710 kMaskBursty10_7, 710 kMaskBursty10_7,
711 kMaskBursty10_8, 711 kMaskBursty10_8,
712 kMaskBursty10_9, 712 kMaskBursty10_9,
713 kMaskBursty10_10 713 kMaskBursty10_10
714 }; 714 };
715 715
716 const uint8_t* kPacketMaskBursty11[11] = { 716 const uint8_t* const kPacketMaskBursty11[11] = {
717 kMaskBursty11_1, 717 kMaskBursty11_1,
718 kMaskBursty11_2, 718 kMaskBursty11_2,
719 kMaskBursty11_3, 719 kMaskBursty11_3,
720 kMaskBursty11_4, 720 kMaskBursty11_4,
721 kMaskBursty11_5, 721 kMaskBursty11_5,
722 kMaskBursty11_6, 722 kMaskBursty11_6,
723 kMaskBursty11_7, 723 kMaskBursty11_7,
724 kMaskBursty11_8, 724 kMaskBursty11_8,
725 kMaskBursty11_9, 725 kMaskBursty11_9,
726 kMaskBursty11_10, 726 kMaskBursty11_10,
727 kMaskBursty11_11 727 kMaskBursty11_11
728 }; 728 };
729 729
730 const uint8_t* kPacketMaskBursty12[12] = { 730 const uint8_t* const kPacketMaskBursty12[12] = {
731 kMaskBursty12_1, 731 kMaskBursty12_1,
732 kMaskBursty12_2, 732 kMaskBursty12_2,
733 kMaskBursty12_3, 733 kMaskBursty12_3,
734 kMaskBursty12_4, 734 kMaskBursty12_4,
735 kMaskBursty12_5, 735 kMaskBursty12_5,
736 kMaskBursty12_6, 736 kMaskBursty12_6,
737 kMaskBursty12_7, 737 kMaskBursty12_7,
738 kMaskBursty12_8, 738 kMaskBursty12_8,
739 kMaskBursty12_9, 739 kMaskBursty12_9,
740 kMaskBursty12_10, 740 kMaskBursty12_10,
741 kMaskBursty12_11, 741 kMaskBursty12_11,
742 kMaskBursty12_12 742 kMaskBursty12_12
743 }; 743 };
744 744
745 const uint8_t** kPacketMaskBurstyTbl[12] = { 745 const uint8_t* const* const kPacketMaskBurstyTbl[12] = {
746 kPacketMaskBursty1, 746 kPacketMaskBursty1,
747 kPacketMaskBursty2, 747 kPacketMaskBursty2,
748 kPacketMaskBursty3, 748 kPacketMaskBursty3,
749 kPacketMaskBursty4, 749 kPacketMaskBursty4,
750 kPacketMaskBursty5, 750 kPacketMaskBursty5,
751 kPacketMaskBursty6, 751 kPacketMaskBursty6,
752 kPacketMaskBursty7, 752 kPacketMaskBursty7,
753 kPacketMaskBursty8, 753 kPacketMaskBursty8,
754 kPacketMaskBursty9, 754 kPacketMaskBursty9,
755 kPacketMaskBursty10, 755 kPacketMaskBursty10,
756 kPacketMaskBursty11, 756 kPacketMaskBursty11,
757 kPacketMaskBursty12 757 kPacketMaskBursty12
758 }; 758 };
759 759
760 } // namespace fec_private_tables 760 } // namespace fec_private_tables
761 } // namespace webrtc 761 } // namespace webrtc
762 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_FEC_PRIVATE_TABLES_BURSTY_H_ 762 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_FEC_PRIVATE_TABLES_BURSTY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698