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

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

Issue 2007743003: Add sender controlled playout delay limits (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@cleanup_rtp_hdr_extensions
Patch Set: Rename OnReceivedRtcpReport to OnReceivedRtcpReportBlocks Created 4 years, 6 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 18 matching lines...) Expand all
29 TEST(TestDecodingState, FrameContinuity) { 29 TEST(TestDecodingState, FrameContinuity) {
30 VCMDecodingState dec_state; 30 VCMDecodingState dec_state;
31 // Check that makes decision based on correct method. 31 // Check that makes decision based on correct method.
32 VCMFrameBuffer frame; 32 VCMFrameBuffer frame;
33 VCMFrameBuffer frame_key; 33 VCMFrameBuffer frame_key;
34 VCMPacket packet; 34 VCMPacket packet;
35 packet.isFirstPacket = true; 35 packet.isFirstPacket = true;
36 packet.timestamp = 1; 36 packet.timestamp = 1;
37 packet.seqNum = 0xffff; 37 packet.seqNum = 0xffff;
38 packet.frameType = kVideoFrameDelta; 38 packet.frameType = kVideoFrameDelta;
39 packet.codecSpecificHeader.codec = kRtpVideoVp8; 39 packet.video_header.codec = kRtpVideoVp8;
40 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 0x007F; 40 packet.video_header.codecHeader.VP8.pictureId = 0x007F;
41 FrameData frame_data; 41 FrameData frame_data;
42 frame_data.rtt_ms = 0; 42 frame_data.rtt_ms = 0;
43 frame_data.rolling_average_packets_per_frame = -1; 43 frame_data.rolling_average_packets_per_frame = -1;
44 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 44 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
45 // Always start with a key frame. 45 // Always start with a key frame.
46 dec_state.Reset(); 46 dec_state.Reset();
47 EXPECT_FALSE(dec_state.ContinuousFrame(&frame)); 47 EXPECT_FALSE(dec_state.ContinuousFrame(&frame));
48 packet.frameType = kVideoFrameKey; 48 packet.frameType = kVideoFrameKey;
49 EXPECT_LE(0, frame_key.InsertPacket(packet, 0, kNoErrors, frame_data)); 49 EXPECT_LE(0, frame_key.InsertPacket(packet, 0, kNoErrors, frame_data));
50 EXPECT_TRUE(dec_state.ContinuousFrame(&frame_key)); 50 EXPECT_TRUE(dec_state.ContinuousFrame(&frame_key));
51 dec_state.SetState(&frame); 51 dec_state.SetState(&frame);
52 frame.Reset(); 52 frame.Reset();
53 packet.frameType = kVideoFrameDelta; 53 packet.frameType = kVideoFrameDelta;
54 // Use pictureId 54 // Use pictureId
55 packet.isFirstPacket = false; 55 packet.isFirstPacket = false;
56 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 0x0002; 56 packet.video_header.codecHeader.VP8.pictureId = 0x0002;
57 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 57 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
58 EXPECT_FALSE(dec_state.ContinuousFrame(&frame)); 58 EXPECT_FALSE(dec_state.ContinuousFrame(&frame));
59 frame.Reset(); 59 frame.Reset();
60 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 0; 60 packet.video_header.codecHeader.VP8.pictureId = 0;
61 packet.seqNum = 10; 61 packet.seqNum = 10;
62 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 62 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
63 EXPECT_TRUE(dec_state.ContinuousFrame(&frame)); 63 EXPECT_TRUE(dec_state.ContinuousFrame(&frame));
64 64
65 // Use sequence numbers. 65 // Use sequence numbers.
66 packet.codecSpecificHeader.codecHeader.VP8.pictureId = kNoPictureId; 66 packet.video_header.codecHeader.VP8.pictureId = kNoPictureId;
67 frame.Reset(); 67 frame.Reset();
68 packet.seqNum = dec_state.sequence_num() - 1u; 68 packet.seqNum = dec_state.sequence_num() - 1u;
69 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 69 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
70 EXPECT_FALSE(dec_state.ContinuousFrame(&frame)); 70 EXPECT_FALSE(dec_state.ContinuousFrame(&frame));
71 frame.Reset(); 71 frame.Reset();
72 packet.seqNum = dec_state.sequence_num() + 1u; 72 packet.seqNum = dec_state.sequence_num() + 1u;
73 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 73 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
74 // Insert another packet to this frame 74 // Insert another packet to this frame
75 packet.seqNum++; 75 packet.seqNum++;
76 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 76 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
77 // Verify wrap. 77 // Verify wrap.
78 EXPECT_LE(dec_state.sequence_num(), 0xffff); 78 EXPECT_LE(dec_state.sequence_num(), 0xffff);
79 EXPECT_TRUE(dec_state.ContinuousFrame(&frame)); 79 EXPECT_TRUE(dec_state.ContinuousFrame(&frame));
80 dec_state.SetState(&frame); 80 dec_state.SetState(&frame);
81 81
82 // Insert packet with temporal info. 82 // Insert packet with temporal info.
83 dec_state.Reset(); 83 dec_state.Reset();
84 frame.Reset(); 84 frame.Reset();
85 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 0; 85 packet.video_header.codecHeader.VP8.tl0PicIdx = 0;
86 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 0; 86 packet.video_header.codecHeader.VP8.temporalIdx = 0;
87 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 0; 87 packet.video_header.codecHeader.VP8.pictureId = 0;
88 packet.seqNum = 1; 88 packet.seqNum = 1;
89 packet.timestamp = 1; 89 packet.timestamp = 1;
90 EXPECT_TRUE(dec_state.full_sync()); 90 EXPECT_TRUE(dec_state.full_sync());
91 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 91 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
92 dec_state.SetState(&frame); 92 dec_state.SetState(&frame);
93 EXPECT_TRUE(dec_state.full_sync()); 93 EXPECT_TRUE(dec_state.full_sync());
94 frame.Reset(); 94 frame.Reset();
95 // 1 layer up - still good. 95 // 1 layer up - still good.
96 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 0; 96 packet.video_header.codecHeader.VP8.tl0PicIdx = 0;
97 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 1; 97 packet.video_header.codecHeader.VP8.temporalIdx = 1;
98 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 1; 98 packet.video_header.codecHeader.VP8.pictureId = 1;
99 packet.seqNum = 2; 99 packet.seqNum = 2;
100 packet.timestamp = 2; 100 packet.timestamp = 2;
101 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 101 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
102 EXPECT_TRUE(dec_state.ContinuousFrame(&frame)); 102 EXPECT_TRUE(dec_state.ContinuousFrame(&frame));
103 dec_state.SetState(&frame); 103 dec_state.SetState(&frame);
104 EXPECT_TRUE(dec_state.full_sync()); 104 EXPECT_TRUE(dec_state.full_sync());
105 frame.Reset(); 105 frame.Reset();
106 // Lost non-base layer packet => should update sync parameter. 106 // Lost non-base layer packet => should update sync parameter.
107 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 0; 107 packet.video_header.codecHeader.VP8.tl0PicIdx = 0;
108 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 3; 108 packet.video_header.codecHeader.VP8.temporalIdx = 3;
109 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 3; 109 packet.video_header.codecHeader.VP8.pictureId = 3;
110 packet.seqNum = 4; 110 packet.seqNum = 4;
111 packet.timestamp = 4; 111 packet.timestamp = 4;
112 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 112 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
113 EXPECT_FALSE(dec_state.ContinuousFrame(&frame)); 113 EXPECT_FALSE(dec_state.ContinuousFrame(&frame));
114 // Now insert the next non-base layer (belonging to a next tl0PicId). 114 // Now insert the next non-base layer (belonging to a next tl0PicId).
115 frame.Reset(); 115 frame.Reset();
116 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 1; 116 packet.video_header.codecHeader.VP8.tl0PicIdx = 1;
117 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 2; 117 packet.video_header.codecHeader.VP8.temporalIdx = 2;
118 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 4; 118 packet.video_header.codecHeader.VP8.pictureId = 4;
119 packet.seqNum = 5; 119 packet.seqNum = 5;
120 packet.timestamp = 5; 120 packet.timestamp = 5;
121 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 121 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
122 // Checking continuity and not updating the state - this should not trigger 122 // Checking continuity and not updating the state - this should not trigger
123 // an update of sync state. 123 // an update of sync state.
124 EXPECT_FALSE(dec_state.ContinuousFrame(&frame)); 124 EXPECT_FALSE(dec_state.ContinuousFrame(&frame));
125 EXPECT_TRUE(dec_state.full_sync()); 125 EXPECT_TRUE(dec_state.full_sync());
126 // Next base layer (dropped interim non-base layers) - should update sync. 126 // Next base layer (dropped interim non-base layers) - should update sync.
127 frame.Reset(); 127 frame.Reset();
128 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 1; 128 packet.video_header.codecHeader.VP8.tl0PicIdx = 1;
129 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 0; 129 packet.video_header.codecHeader.VP8.temporalIdx = 0;
130 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 5; 130 packet.video_header.codecHeader.VP8.pictureId = 5;
131 packet.seqNum = 6; 131 packet.seqNum = 6;
132 packet.timestamp = 6; 132 packet.timestamp = 6;
133 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 133 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
134 EXPECT_TRUE(dec_state.ContinuousFrame(&frame)); 134 EXPECT_TRUE(dec_state.ContinuousFrame(&frame));
135 dec_state.SetState(&frame); 135 dec_state.SetState(&frame);
136 EXPECT_FALSE(dec_state.full_sync()); 136 EXPECT_FALSE(dec_state.full_sync());
137 137
138 // Check wrap for temporal layers. 138 // Check wrap for temporal layers.
139 frame.Reset(); 139 frame.Reset();
140 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 0x00FF; 140 packet.video_header.codecHeader.VP8.tl0PicIdx = 0x00FF;
141 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 0; 141 packet.video_header.codecHeader.VP8.temporalIdx = 0;
142 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 6; 142 packet.video_header.codecHeader.VP8.pictureId = 6;
143 packet.seqNum = 7; 143 packet.seqNum = 7;
144 packet.timestamp = 7; 144 packet.timestamp = 7;
145 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 145 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
146 dec_state.SetState(&frame); 146 dec_state.SetState(&frame);
147 EXPECT_FALSE(dec_state.full_sync()); 147 EXPECT_FALSE(dec_state.full_sync());
148 frame.Reset(); 148 frame.Reset();
149 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 0x0000; 149 packet.video_header.codecHeader.VP8.tl0PicIdx = 0x0000;
150 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 0; 150 packet.video_header.codecHeader.VP8.temporalIdx = 0;
151 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 7; 151 packet.video_header.codecHeader.VP8.pictureId = 7;
152 packet.seqNum = 8; 152 packet.seqNum = 8;
153 packet.timestamp = 8; 153 packet.timestamp = 8;
154 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 154 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
155 EXPECT_TRUE(dec_state.ContinuousFrame(&frame)); 155 EXPECT_TRUE(dec_state.ContinuousFrame(&frame));
156 // The current frame is not continuous 156 // The current frame is not continuous
157 dec_state.SetState(&frame); 157 dec_state.SetState(&frame);
158 EXPECT_FALSE(dec_state.ContinuousFrame(&frame)); 158 EXPECT_FALSE(dec_state.ContinuousFrame(&frame));
159 } 159 }
160 160
161 TEST(TestDecodingState, UpdateOldPacket) { 161 TEST(TestDecodingState, UpdateOldPacket) {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 204
205 TEST(TestDecodingState, MultiLayerBehavior) { 205 TEST(TestDecodingState, MultiLayerBehavior) {
206 // Identify sync/non-sync when more than one layer. 206 // Identify sync/non-sync when more than one layer.
207 VCMDecodingState dec_state; 207 VCMDecodingState dec_state;
208 // Identify packets belonging to old frames/packets. 208 // Identify packets belonging to old frames/packets.
209 // Set state for current frames. 209 // Set state for current frames.
210 // tl0PicIdx 0, temporal id 0. 210 // tl0PicIdx 0, temporal id 0.
211 VCMFrameBuffer frame; 211 VCMFrameBuffer frame;
212 VCMPacket packet; 212 VCMPacket packet;
213 packet.frameType = kVideoFrameDelta; 213 packet.frameType = kVideoFrameDelta;
214 packet.codecSpecificHeader.codec = kRtpVideoVp8; 214 packet.video_header.codec = kRtpVideoVp8;
215 packet.timestamp = 0; 215 packet.timestamp = 0;
216 packet.seqNum = 0; 216 packet.seqNum = 0;
217 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 0; 217 packet.video_header.codecHeader.VP8.tl0PicIdx = 0;
218 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 0; 218 packet.video_header.codecHeader.VP8.temporalIdx = 0;
219 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 0; 219 packet.video_header.codecHeader.VP8.pictureId = 0;
220 FrameData frame_data; 220 FrameData frame_data;
221 frame_data.rtt_ms = 0; 221 frame_data.rtt_ms = 0;
222 frame_data.rolling_average_packets_per_frame = -1; 222 frame_data.rolling_average_packets_per_frame = -1;
223 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 223 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
224 dec_state.SetState(&frame); 224 dec_state.SetState(&frame);
225 // tl0PicIdx 0, temporal id 1. 225 // tl0PicIdx 0, temporal id 1.
226 frame.Reset(); 226 frame.Reset();
227 packet.timestamp = 1; 227 packet.timestamp = 1;
228 packet.seqNum = 1; 228 packet.seqNum = 1;
229 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 0; 229 packet.video_header.codecHeader.VP8.tl0PicIdx = 0;
230 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 1; 230 packet.video_header.codecHeader.VP8.temporalIdx = 1;
231 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 1; 231 packet.video_header.codecHeader.VP8.pictureId = 1;
232 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 232 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
233 EXPECT_TRUE(dec_state.ContinuousFrame(&frame)); 233 EXPECT_TRUE(dec_state.ContinuousFrame(&frame));
234 dec_state.SetState(&frame); 234 dec_state.SetState(&frame);
235 EXPECT_TRUE(dec_state.full_sync()); 235 EXPECT_TRUE(dec_state.full_sync());
236 // Lost tl0PicIdx 0, temporal id 2. 236 // Lost tl0PicIdx 0, temporal id 2.
237 // Insert tl0PicIdx 0, temporal id 3. 237 // Insert tl0PicIdx 0, temporal id 3.
238 frame.Reset(); 238 frame.Reset();
239 packet.timestamp = 3; 239 packet.timestamp = 3;
240 packet.seqNum = 3; 240 packet.seqNum = 3;
241 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 0; 241 packet.video_header.codecHeader.VP8.tl0PicIdx = 0;
242 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 3; 242 packet.video_header.codecHeader.VP8.temporalIdx = 3;
243 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 3; 243 packet.video_header.codecHeader.VP8.pictureId = 3;
244 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 244 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
245 EXPECT_FALSE(dec_state.ContinuousFrame(&frame)); 245 EXPECT_FALSE(dec_state.ContinuousFrame(&frame));
246 dec_state.SetState(&frame); 246 dec_state.SetState(&frame);
247 EXPECT_FALSE(dec_state.full_sync()); 247 EXPECT_FALSE(dec_state.full_sync());
248 // Insert next base layer 248 // Insert next base layer
249 frame.Reset(); 249 frame.Reset();
250 packet.timestamp = 4; 250 packet.timestamp = 4;
251 packet.seqNum = 4; 251 packet.seqNum = 4;
252 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 1; 252 packet.video_header.codecHeader.VP8.tl0PicIdx = 1;
253 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 0; 253 packet.video_header.codecHeader.VP8.temporalIdx = 0;
254 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 4; 254 packet.video_header.codecHeader.VP8.pictureId = 4;
255 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 255 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
256 EXPECT_TRUE(dec_state.ContinuousFrame(&frame)); 256 EXPECT_TRUE(dec_state.ContinuousFrame(&frame));
257 dec_state.SetState(&frame); 257 dec_state.SetState(&frame);
258 EXPECT_FALSE(dec_state.full_sync()); 258 EXPECT_FALSE(dec_state.full_sync());
259 // Insert key frame - should update sync value. 259 // Insert key frame - should update sync value.
260 // A key frame is always a base layer. 260 // A key frame is always a base layer.
261 frame.Reset(); 261 frame.Reset();
262 packet.frameType = kVideoFrameKey; 262 packet.frameType = kVideoFrameKey;
263 packet.isFirstPacket = 1; 263 packet.isFirstPacket = 1;
264 packet.timestamp = 5; 264 packet.timestamp = 5;
265 packet.seqNum = 5; 265 packet.seqNum = 5;
266 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 2; 266 packet.video_header.codecHeader.VP8.tl0PicIdx = 2;
267 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 0; 267 packet.video_header.codecHeader.VP8.temporalIdx = 0;
268 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 5; 268 packet.video_header.codecHeader.VP8.pictureId = 5;
269 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 269 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
270 EXPECT_TRUE(dec_state.ContinuousFrame(&frame)); 270 EXPECT_TRUE(dec_state.ContinuousFrame(&frame));
271 dec_state.SetState(&frame); 271 dec_state.SetState(&frame);
272 EXPECT_TRUE(dec_state.full_sync()); 272 EXPECT_TRUE(dec_state.full_sync());
273 // After sync, a continuous PictureId is required 273 // After sync, a continuous PictureId is required
274 // (continuous base layer is not enough ) 274 // (continuous base layer is not enough )
275 frame.Reset(); 275 frame.Reset();
276 packet.frameType = kVideoFrameDelta; 276 packet.frameType = kVideoFrameDelta;
277 packet.timestamp = 6; 277 packet.timestamp = 6;
278 packet.seqNum = 6; 278 packet.seqNum = 6;
279 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 3; 279 packet.video_header.codecHeader.VP8.tl0PicIdx = 3;
280 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 0; 280 packet.video_header.codecHeader.VP8.temporalIdx = 0;
281 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 6; 281 packet.video_header.codecHeader.VP8.pictureId = 6;
282 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 282 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
283 EXPECT_TRUE(dec_state.ContinuousFrame(&frame)); 283 EXPECT_TRUE(dec_state.ContinuousFrame(&frame));
284 EXPECT_TRUE(dec_state.full_sync()); 284 EXPECT_TRUE(dec_state.full_sync());
285 frame.Reset(); 285 frame.Reset();
286 packet.frameType = kVideoFrameDelta; 286 packet.frameType = kVideoFrameDelta;
287 packet.isFirstPacket = 1; 287 packet.isFirstPacket = 1;
288 packet.timestamp = 8; 288 packet.timestamp = 8;
289 packet.seqNum = 8; 289 packet.seqNum = 8;
290 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 4; 290 packet.video_header.codecHeader.VP8.tl0PicIdx = 4;
291 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 0; 291 packet.video_header.codecHeader.VP8.temporalIdx = 0;
292 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 8; 292 packet.video_header.codecHeader.VP8.pictureId = 8;
293 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 293 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
294 EXPECT_FALSE(dec_state.ContinuousFrame(&frame)); 294 EXPECT_FALSE(dec_state.ContinuousFrame(&frame));
295 EXPECT_TRUE(dec_state.full_sync()); 295 EXPECT_TRUE(dec_state.full_sync());
296 dec_state.SetState(&frame); 296 dec_state.SetState(&frame);
297 EXPECT_FALSE(dec_state.full_sync()); 297 EXPECT_FALSE(dec_state.full_sync());
298 298
299 // Insert a non-ref frame - should update sync value. 299 // Insert a non-ref frame - should update sync value.
300 frame.Reset(); 300 frame.Reset();
301 packet.frameType = kVideoFrameDelta; 301 packet.frameType = kVideoFrameDelta;
302 packet.isFirstPacket = 1; 302 packet.isFirstPacket = 1;
303 packet.timestamp = 9; 303 packet.timestamp = 9;
304 packet.seqNum = 9; 304 packet.seqNum = 9;
305 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 4; 305 packet.video_header.codecHeader.VP8.tl0PicIdx = 4;
306 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 2; 306 packet.video_header.codecHeader.VP8.temporalIdx = 2;
307 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 9; 307 packet.video_header.codecHeader.VP8.pictureId = 9;
308 packet.codecSpecificHeader.codecHeader.VP8.layerSync = true; 308 packet.video_header.codecHeader.VP8.layerSync = true;
309 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 309 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
310 dec_state.SetState(&frame); 310 dec_state.SetState(&frame);
311 EXPECT_TRUE(dec_state.full_sync()); 311 EXPECT_TRUE(dec_state.full_sync());
312 312
313 // The following test will verify the sync flag behavior after a loss. 313 // The following test will verify the sync flag behavior after a loss.
314 // Create the following pattern: 314 // Create the following pattern:
315 // Update base layer, lose packet 1 (sync flag on, layer 2), insert packet 3 315 // Update base layer, lose packet 1 (sync flag on, layer 2), insert packet 3
316 // (sync flag on, layer 2) check continuity and sync flag after inserting 316 // (sync flag on, layer 2) check continuity and sync flag after inserting
317 // packet 2 (sync flag on, layer 1). 317 // packet 2 (sync flag on, layer 1).
318 // Base layer. 318 // Base layer.
319 frame.Reset(); 319 frame.Reset();
320 dec_state.Reset(); 320 dec_state.Reset();
321 packet.frameType = kVideoFrameDelta; 321 packet.frameType = kVideoFrameDelta;
322 packet.isFirstPacket = 1; 322 packet.isFirstPacket = 1;
323 packet.markerBit = 1; 323 packet.markerBit = 1;
324 packet.timestamp = 0; 324 packet.timestamp = 0;
325 packet.seqNum = 0; 325 packet.seqNum = 0;
326 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 0; 326 packet.video_header.codecHeader.VP8.tl0PicIdx = 0;
327 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 0; 327 packet.video_header.codecHeader.VP8.temporalIdx = 0;
328 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 0; 328 packet.video_header.codecHeader.VP8.pictureId = 0;
329 packet.codecSpecificHeader.codecHeader.VP8.layerSync = false; 329 packet.video_header.codecHeader.VP8.layerSync = false;
330 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 330 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
331 dec_state.SetState(&frame); 331 dec_state.SetState(&frame);
332 EXPECT_TRUE(dec_state.full_sync()); 332 EXPECT_TRUE(dec_state.full_sync());
333 // Layer 2 - 2 packets (insert one, lose one). 333 // Layer 2 - 2 packets (insert one, lose one).
334 frame.Reset(); 334 frame.Reset();
335 packet.frameType = kVideoFrameDelta; 335 packet.frameType = kVideoFrameDelta;
336 packet.isFirstPacket = 1; 336 packet.isFirstPacket = 1;
337 packet.markerBit = 0; 337 packet.markerBit = 0;
338 packet.timestamp = 1; 338 packet.timestamp = 1;
339 packet.seqNum = 1; 339 packet.seqNum = 1;
340 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 0; 340 packet.video_header.codecHeader.VP8.tl0PicIdx = 0;
341 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 2; 341 packet.video_header.codecHeader.VP8.temporalIdx = 2;
342 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 1; 342 packet.video_header.codecHeader.VP8.pictureId = 1;
343 packet.codecSpecificHeader.codecHeader.VP8.layerSync = true; 343 packet.video_header.codecHeader.VP8.layerSync = true;
344 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 344 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
345 EXPECT_TRUE(dec_state.ContinuousFrame(&frame)); 345 EXPECT_TRUE(dec_state.ContinuousFrame(&frame));
346 // Layer 1 346 // Layer 1
347 frame.Reset(); 347 frame.Reset();
348 packet.frameType = kVideoFrameDelta; 348 packet.frameType = kVideoFrameDelta;
349 packet.isFirstPacket = 1; 349 packet.isFirstPacket = 1;
350 packet.markerBit = 1; 350 packet.markerBit = 1;
351 packet.timestamp = 2; 351 packet.timestamp = 2;
352 packet.seqNum = 3; 352 packet.seqNum = 3;
353 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 0; 353 packet.video_header.codecHeader.VP8.tl0PicIdx = 0;
354 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 1; 354 packet.video_header.codecHeader.VP8.temporalIdx = 1;
355 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 2; 355 packet.video_header.codecHeader.VP8.pictureId = 2;
356 packet.codecSpecificHeader.codecHeader.VP8.layerSync = true; 356 packet.video_header.codecHeader.VP8.layerSync = true;
357 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 357 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
358 EXPECT_FALSE(dec_state.ContinuousFrame(&frame)); 358 EXPECT_FALSE(dec_state.ContinuousFrame(&frame));
359 EXPECT_TRUE(dec_state.full_sync()); 359 EXPECT_TRUE(dec_state.full_sync());
360 } 360 }
361 361
362 TEST(TestDecodingState, DiscontinuousPicIdContinuousSeqNum) { 362 TEST(TestDecodingState, DiscontinuousPicIdContinuousSeqNum) {
363 VCMDecodingState dec_state; 363 VCMDecodingState dec_state;
364 VCMFrameBuffer frame; 364 VCMFrameBuffer frame;
365 VCMPacket packet; 365 VCMPacket packet;
366 frame.Reset(); 366 frame.Reset();
367 packet.frameType = kVideoFrameKey; 367 packet.frameType = kVideoFrameKey;
368 packet.codecSpecificHeader.codec = kRtpVideoVp8; 368 packet.video_header.codec = kRtpVideoVp8;
369 packet.timestamp = 0; 369 packet.timestamp = 0;
370 packet.seqNum = 0; 370 packet.seqNum = 0;
371 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 0; 371 packet.video_header.codecHeader.VP8.tl0PicIdx = 0;
372 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 0; 372 packet.video_header.codecHeader.VP8.temporalIdx = 0;
373 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 0; 373 packet.video_header.codecHeader.VP8.pictureId = 0;
374 FrameData frame_data; 374 FrameData frame_data;
375 frame_data.rtt_ms = 0; 375 frame_data.rtt_ms = 0;
376 frame_data.rolling_average_packets_per_frame = -1; 376 frame_data.rolling_average_packets_per_frame = -1;
377 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 377 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
378 dec_state.SetState(&frame); 378 dec_state.SetState(&frame);
379 EXPECT_TRUE(dec_state.full_sync()); 379 EXPECT_TRUE(dec_state.full_sync());
380 380
381 // Continuous sequence number but discontinuous picture id. This implies a 381 // Continuous sequence number but discontinuous picture id. This implies a
382 // a loss and we have to fall back to only decoding the base layer. 382 // a loss and we have to fall back to only decoding the base layer.
383 frame.Reset(); 383 frame.Reset();
384 packet.frameType = kVideoFrameDelta; 384 packet.frameType = kVideoFrameDelta;
385 packet.timestamp += 3000; 385 packet.timestamp += 3000;
386 ++packet.seqNum; 386 ++packet.seqNum;
387 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 1; 387 packet.video_header.codecHeader.VP8.temporalIdx = 1;
388 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 2; 388 packet.video_header.codecHeader.VP8.pictureId = 2;
389 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 389 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
390 EXPECT_FALSE(dec_state.ContinuousFrame(&frame)); 390 EXPECT_FALSE(dec_state.ContinuousFrame(&frame));
391 dec_state.SetState(&frame); 391 dec_state.SetState(&frame);
392 EXPECT_FALSE(dec_state.full_sync()); 392 EXPECT_FALSE(dec_state.full_sync());
393 } 393 }
394 394
395 TEST(TestDecodingState, OldInput) { 395 TEST(TestDecodingState, OldInput) {
396 VCMDecodingState dec_state; 396 VCMDecodingState dec_state;
397 // Identify packets belonging to old frames/packets. 397 // Identify packets belonging to old frames/packets.
398 // Set state for current frames. 398 // Set state for current frames.
(...skipping 12 matching lines...) Expand all
411 frame.Reset(); 411 frame.Reset();
412 frame.InsertPacket(packet, 0, kNoErrors, frame_data); 412 frame.InsertPacket(packet, 0, kNoErrors, frame_data);
413 EXPECT_TRUE(dec_state.IsOldFrame(&frame)); 413 EXPECT_TRUE(dec_state.IsOldFrame(&frame));
414 } 414 }
415 415
416 TEST(TestDecodingState, PictureIdRepeat) { 416 TEST(TestDecodingState, PictureIdRepeat) {
417 VCMDecodingState dec_state; 417 VCMDecodingState dec_state;
418 VCMFrameBuffer frame; 418 VCMFrameBuffer frame;
419 VCMPacket packet; 419 VCMPacket packet;
420 packet.frameType = kVideoFrameDelta; 420 packet.frameType = kVideoFrameDelta;
421 packet.codecSpecificHeader.codec = kRtpVideoVp8; 421 packet.video_header.codec = kRtpVideoVp8;
422 packet.timestamp = 0; 422 packet.timestamp = 0;
423 packet.seqNum = 0; 423 packet.seqNum = 0;
424 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 0; 424 packet.video_header.codecHeader.VP8.tl0PicIdx = 0;
425 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = 0; 425 packet.video_header.codecHeader.VP8.temporalIdx = 0;
426 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 0; 426 packet.video_header.codecHeader.VP8.pictureId = 0;
427 FrameData frame_data; 427 FrameData frame_data;
428 frame_data.rtt_ms = 0; 428 frame_data.rtt_ms = 0;
429 frame_data.rolling_average_packets_per_frame = -1; 429 frame_data.rolling_average_packets_per_frame = -1;
430 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 430 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
431 dec_state.SetState(&frame); 431 dec_state.SetState(&frame);
432 // tl0PicIdx 0, temporal id 1. 432 // tl0PicIdx 0, temporal id 1.
433 frame.Reset(); 433 frame.Reset();
434 ++packet.timestamp; 434 ++packet.timestamp;
435 ++packet.seqNum; 435 ++packet.seqNum;
436 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx++; 436 packet.video_header.codecHeader.VP8.temporalIdx++;
437 packet.codecSpecificHeader.codecHeader.VP8.pictureId++; 437 packet.video_header.codecHeader.VP8.pictureId++;
438 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 438 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
439 EXPECT_TRUE(dec_state.ContinuousFrame(&frame)); 439 EXPECT_TRUE(dec_state.ContinuousFrame(&frame));
440 frame.Reset(); 440 frame.Reset();
441 // Testing only gap in tl0PicIdx when tl0PicIdx in continuous. 441 // Testing only gap in tl0PicIdx when tl0PicIdx in continuous.
442 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx += 3; 442 packet.video_header.codecHeader.VP8.tl0PicIdx += 3;
443 packet.codecSpecificHeader.codecHeader.VP8.temporalIdx++; 443 packet.video_header.codecHeader.VP8.temporalIdx++;
444 packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = 1; 444 packet.video_header.codecHeader.VP8.tl0PicIdx = 1;
445 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 445 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
446 EXPECT_FALSE(dec_state.ContinuousFrame(&frame)); 446 EXPECT_FALSE(dec_state.ContinuousFrame(&frame));
447 } 447 }
448 448
449 TEST(TestDecodingState, FrameContinuityFlexibleModeKeyFrame) { 449 TEST(TestDecodingState, FrameContinuityFlexibleModeKeyFrame) {
450 VCMDecodingState dec_state; 450 VCMDecodingState dec_state;
451 VCMFrameBuffer frame; 451 VCMFrameBuffer frame;
452 VCMPacket packet; 452 VCMPacket packet;
453 packet.isFirstPacket = true; 453 packet.isFirstPacket = true;
454 packet.timestamp = 1; 454 packet.timestamp = 1;
455 packet.seqNum = 0xffff; 455 packet.seqNum = 0xffff;
456 uint8_t data[] = "I need a data pointer for this test!"; 456 uint8_t data[] = "I need a data pointer for this test!";
457 packet.sizeBytes = sizeof(data); 457 packet.sizeBytes = sizeof(data);
458 packet.dataPtr = data; 458 packet.dataPtr = data;
459 packet.codecSpecificHeader.codec = kRtpVideoVp9; 459 packet.video_header.codec = kRtpVideoVp9;
460 460
461 RTPVideoHeaderVP9& vp9_hdr = packet.codecSpecificHeader.codecHeader.VP9; 461 RTPVideoHeaderVP9& vp9_hdr = packet.video_header.codecHeader.VP9;
462 vp9_hdr.picture_id = 10; 462 vp9_hdr.picture_id = 10;
463 vp9_hdr.flexible_mode = true; 463 vp9_hdr.flexible_mode = true;
464 464
465 FrameData frame_data; 465 FrameData frame_data;
466 frame_data.rtt_ms = 0; 466 frame_data.rtt_ms = 0;
467 frame_data.rolling_average_packets_per_frame = -1; 467 frame_data.rolling_average_packets_per_frame = -1;
468 468
469 // Key frame as first frame 469 // Key frame as first frame
470 packet.frameType = kVideoFrameKey; 470 packet.frameType = kVideoFrameKey;
471 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 471 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
(...skipping 20 matching lines...) Expand all
492 TEST(TestDecodingState, FrameContinuityFlexibleModeOutOfOrderFrames) { 492 TEST(TestDecodingState, FrameContinuityFlexibleModeOutOfOrderFrames) {
493 VCMDecodingState dec_state; 493 VCMDecodingState dec_state;
494 VCMFrameBuffer frame; 494 VCMFrameBuffer frame;
495 VCMPacket packet; 495 VCMPacket packet;
496 packet.isFirstPacket = true; 496 packet.isFirstPacket = true;
497 packet.timestamp = 1; 497 packet.timestamp = 1;
498 packet.seqNum = 0xffff; 498 packet.seqNum = 0xffff;
499 uint8_t data[] = "I need a data pointer for this test!"; 499 uint8_t data[] = "I need a data pointer for this test!";
500 packet.sizeBytes = sizeof(data); 500 packet.sizeBytes = sizeof(data);
501 packet.dataPtr = data; 501 packet.dataPtr = data;
502 packet.codecSpecificHeader.codec = kRtpVideoVp9; 502 packet.video_header.codec = kRtpVideoVp9;
503 503
504 RTPVideoHeaderVP9& vp9_hdr = packet.codecSpecificHeader.codecHeader.VP9; 504 RTPVideoHeaderVP9& vp9_hdr = packet.video_header.codecHeader.VP9;
505 vp9_hdr.picture_id = 10; 505 vp9_hdr.picture_id = 10;
506 vp9_hdr.flexible_mode = true; 506 vp9_hdr.flexible_mode = true;
507 507
508 FrameData frame_data; 508 FrameData frame_data;
509 frame_data.rtt_ms = 0; 509 frame_data.rtt_ms = 0;
510 frame_data.rolling_average_packets_per_frame = -1; 510 frame_data.rolling_average_packets_per_frame = -1;
511 511
512 // Key frame as first frame 512 // Key frame as first frame
513 packet.frameType = kVideoFrameKey; 513 packet.frameType = kVideoFrameKey;
514 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 514 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 TEST(TestDecodingState, FrameContinuityFlexibleModeGeneral) { 547 TEST(TestDecodingState, FrameContinuityFlexibleModeGeneral) {
548 VCMDecodingState dec_state; 548 VCMDecodingState dec_state;
549 VCMFrameBuffer frame; 549 VCMFrameBuffer frame;
550 VCMPacket packet; 550 VCMPacket packet;
551 packet.isFirstPacket = true; 551 packet.isFirstPacket = true;
552 packet.timestamp = 1; 552 packet.timestamp = 1;
553 packet.seqNum = 0xffff; 553 packet.seqNum = 0xffff;
554 uint8_t data[] = "I need a data pointer for this test!"; 554 uint8_t data[] = "I need a data pointer for this test!";
555 packet.sizeBytes = sizeof(data); 555 packet.sizeBytes = sizeof(data);
556 packet.dataPtr = data; 556 packet.dataPtr = data;
557 packet.codecSpecificHeader.codec = kRtpVideoVp9; 557 packet.video_header.codec = kRtpVideoVp9;
558 558
559 RTPVideoHeaderVP9& vp9_hdr = packet.codecSpecificHeader.codecHeader.VP9; 559 RTPVideoHeaderVP9& vp9_hdr = packet.video_header.codecHeader.VP9;
560 vp9_hdr.picture_id = 10; 560 vp9_hdr.picture_id = 10;
561 vp9_hdr.flexible_mode = true; 561 vp9_hdr.flexible_mode = true;
562 562
563 FrameData frame_data; 563 FrameData frame_data;
564 frame_data.rtt_ms = 0; 564 frame_data.rtt_ms = 0;
565 frame_data.rolling_average_packets_per_frame = -1; 565 frame_data.rolling_average_packets_per_frame = -1;
566 566
567 // Key frame as first frame 567 // Key frame as first frame
568 packet.frameType = kVideoFrameKey; 568 packet.frameType = kVideoFrameKey;
569 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 569 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 // Ref to frame previous to KF, not continuous 690 // Ref to frame previous to KF, not continuous
691 frame.Reset(); 691 frame.Reset();
692 vp9_hdr.picture_id = 30; 692 vp9_hdr.picture_id = 30;
693 vp9_hdr.num_ref_pics = 1; 693 vp9_hdr.num_ref_pics = 1;
694 vp9_hdr.pid_diff[0] = 30; 694 vp9_hdr.pid_diff[0] = 30;
695 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); 695 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
696 EXPECT_FALSE(dec_state.ContinuousFrame(&frame)); 696 EXPECT_FALSE(dec_state.ContinuousFrame(&frame));
697 } 697 }
698 698
699 } // namespace webrtc 699 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698