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

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

Issue 1345433002: Add RTC_ prefix to contructormagic macros. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Formatting fix. Created 5 years, 3 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) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 PartitionTreeNode* parent_; 72 PartitionTreeNode* parent_;
73 PartitionTreeNode* children_[2]; 73 PartitionTreeNode* children_[2];
74 size_t this_size_; 74 size_t this_size_;
75 const size_t* size_vector_; 75 const size_t* size_vector_;
76 size_t num_partitions_; 76 size_t num_partitions_;
77 int max_parent_size_; 77 int max_parent_size_;
78 int min_parent_size_; 78 int min_parent_size_;
79 bool packet_start_; 79 bool packet_start_;
80 80
81 DISALLOW_COPY_AND_ASSIGN(PartitionTreeNode); 81 RTC_DISALLOW_COPY_AND_ASSIGN(PartitionTreeNode);
82 }; 82 };
83 83
84 // Class that calculates the optimal aggregation of VP8 partitions smaller than 84 // Class that calculates the optimal aggregation of VP8 partitions smaller than
85 // the maximum packet size. 85 // the maximum packet size.
86 class Vp8PartitionAggregator { 86 class Vp8PartitionAggregator {
87 public: 87 public:
88 typedef std::vector<size_t> ConfigVec; 88 typedef std::vector<size_t> ConfigVec;
89 89
90 // Constructor. All partitions in the fragmentation header from index 90 // Constructor. All partitions in the fragmentation header from index
91 // first_partition_idx to last_partition_idx must be smaller than 91 // first_partition_idx to last_partition_idx must be smaller than
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 size_t penalty, 123 size_t penalty,
124 int min_size, 124 int min_size,
125 int max_size); 125 int max_size);
126 126
127 private: 127 private:
128 PartitionTreeNode* root_; 128 PartitionTreeNode* root_;
129 size_t num_partitions_; 129 size_t num_partitions_;
130 size_t* size_vector_; 130 size_t* size_vector_;
131 size_t largest_partition_size_; 131 size_t largest_partition_size_;
132 132
133 DISALLOW_COPY_AND_ASSIGN(Vp8PartitionAggregator); 133 RTC_DISALLOW_COPY_AND_ASSIGN(Vp8PartitionAggregator);
134 }; 134 };
135 } // namespace 135 } // namespace
136 136
137 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_VP8_PARTITION_AGGREGATOR_H_ 137 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_VP8_PARTITION_AGGREGATOR_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_format_vp9.h ('k') | webrtc/modules/video_coding/main/source/jitter_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698