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

Side by Side Diff: webrtc/common_types.cc

Issue 2280703002: Ignore Camera and Flip bits in CVO when parsing video rotation (Closed)
Patch Set: Update unittests Created 4 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
« no previous file with comments | « webrtc/common_types.h ('k') | webrtc/modules/rtp_rtcp/include/rtp_cvo.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/common_types.h" 11 #include "webrtc/common_types.h"
12 12
13 #include <string.h> 13 #include <string.h>
14 14
15 namespace webrtc { 15 namespace webrtc {
16 16
17 StreamDataCounters::StreamDataCounters() : first_packet_time_ms(-1) {} 17 StreamDataCounters::StreamDataCounters() : first_packet_time_ms(-1) {}
18 18
19 RTPHeaderExtension::RTPHeaderExtension() 19 RTPHeaderExtension::RTPHeaderExtension()
20 : hasTransmissionTimeOffset(false), 20 : hasTransmissionTimeOffset(false),
21 transmissionTimeOffset(0), 21 transmissionTimeOffset(0),
22 hasAbsoluteSendTime(false), 22 hasAbsoluteSendTime(false),
23 absoluteSendTime(0), 23 absoluteSendTime(0),
24 hasTransportSequenceNumber(false), 24 hasTransportSequenceNumber(false),
25 transportSequenceNumber(0), 25 transportSequenceNumber(0),
26 hasAudioLevel(false), 26 hasAudioLevel(false),
27 voiceActivity(false), 27 voiceActivity(false),
28 audioLevel(0), 28 audioLevel(0),
29 hasVideoRotation(false), 29 hasVideoRotation(false),
30 videoRotation(0) {} 30 videoRotation(kVideoRotation_0) {}
31 31
32 RTPHeader::RTPHeader() 32 RTPHeader::RTPHeader()
33 : markerBit(false), 33 : markerBit(false),
34 payloadType(0), 34 payloadType(0),
35 sequenceNumber(0), 35 sequenceNumber(0),
36 timestamp(0), 36 timestamp(0),
37 ssrc(0), 37 ssrc(0),
38 numCSRCs(0), 38 numCSRCs(0),
39 arrOfCSRCs(), 39 arrOfCSRCs(),
40 paddingLength(0), 40 paddingLength(0),
41 headerLength(0), 41 headerLength(0),
42 payload_type_frequency(0), 42 payload_type_frequency(0),
43 extension() {} 43 extension() {}
44 44
45 } // namespace webrtc 45 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/common_types.h ('k') | webrtc/modules/rtp_rtcp/include/rtp_cvo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698