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

Side by Side Diff: webrtc/common_types.h

Issue 2280703002: Ignore Camera and Flip bits in CVO when parsing video rotation (Closed)
Patch Set: . 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 | « no previous file | 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
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 // Audio Level includes both level in dBov and voiced/unvoiced bit. See: 778 // Audio Level includes both level in dBov and voiced/unvoiced bit. See:
779 // https://datatracker.ietf.org/doc/draft-lennox-avt-rtp-audio-level-exthdr/ 779 // https://datatracker.ietf.org/doc/draft-lennox-avt-rtp-audio-level-exthdr/
780 bool hasAudioLevel; 780 bool hasAudioLevel;
781 bool voiceActivity; 781 bool voiceActivity;
782 uint8_t audioLevel; 782 uint8_t audioLevel;
783 783
784 // For Coordination of Video Orientation. See 784 // For Coordination of Video Orientation. See
785 // http://www.etsi.org/deliver/etsi_ts/126100_126199/126114/12.07.00_60/ 785 // http://www.etsi.org/deliver/etsi_ts/126100_126199/126114/12.07.00_60/
786 // ts_126114v120700p.pdf 786 // ts_126114v120700p.pdf
787 bool hasVideoRotation; 787 bool hasVideoRotation;
788 // This byte actually represents the whole CVO byte: |0 0 0 0 C F R R|.
danilchap 2016/08/25 15:54:17 Another way to fix this bug is to change rtp_util
magjed_webrtc 2016/08/26 07:56:26 Right. I'm not sure if we should parse the rotatio
pthatcher1 2016/08/29 18:52:59 I think it makes most sense for videoRotation here
magjed_webrtc 2016/08/31 11:06:59 To be clear, this mixup is not something I added i
788 uint8_t videoRotation; 789 uint8_t videoRotation;
789 790
790 PlayoutDelay playout_delay = {-1, -1}; 791 PlayoutDelay playout_delay = {-1, -1};
791 }; 792 };
792 793
793 struct RTPHeader { 794 struct RTPHeader {
794 RTPHeader(); 795 RTPHeader();
795 796
796 bool markerBit; 797 bool markerBit;
797 uint8_t payloadType; 798 uint8_t payloadType;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 enum class RtcpMode { kOff, kCompound, kReducedSize }; 910 enum class RtcpMode { kOff, kCompound, kReducedSize };
910 911
911 enum NetworkState { 912 enum NetworkState {
912 kNetworkUp, 913 kNetworkUp,
913 kNetworkDown, 914 kNetworkDown,
914 }; 915 };
915 916
916 } // namespace webrtc 917 } // namespace webrtc
917 918
918 #endif // WEBRTC_COMMON_TYPES_H_ 919 #endif // WEBRTC_COMMON_TYPES_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/include/rtp_cvo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698