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

Side by Side Diff: webrtc/modules/rtp_rtcp/include/rtp_cvo.h

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 Created 3 years, 5 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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 #ifndef WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_CVO_H_ 10 #ifndef WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_CVO_H_
11 #define WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_CVO_H_ 11 #define WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_CVO_H_
12 12
13 #include "webrtc/api/video/video_rotation.h" 13 #include "webrtc/api/video/video_rotation.h"
14 #include "webrtc/base/checks.h" 14 #include "webrtc/rtc_base/checks.h"
15 15
16 namespace webrtc { 16 namespace webrtc {
17 17
18 // Please refer to http://www.etsi.org/deliver/etsi_ts/126100_126199/126114/ 18 // Please refer to http://www.etsi.org/deliver/etsi_ts/126100_126199/126114/
19 // 12.07.00_60/ts_126114v120700p.pdf Section 7.4.5. The rotation of a frame is 19 // 12.07.00_60/ts_126114v120700p.pdf Section 7.4.5. The rotation of a frame is
20 // the clockwise angle the frames must be rotated in order to display the frames 20 // the clockwise angle the frames must be rotated in order to display the frames
21 // correctly if the display is rotated in its natural orientation. 21 // correctly if the display is rotated in its natural orientation.
22 inline uint8_t ConvertVideoRotationToCVOByte(VideoRotation rotation) { 22 inline uint8_t ConvertVideoRotationToCVOByte(VideoRotation rotation) {
23 switch (rotation) { 23 switch (rotation) {
24 case kVideoRotation_0: 24 case kVideoRotation_0:
(...skipping 22 matching lines...) Expand all
47 case 3: 47 case 3:
48 return kVideoRotation_270; 48 return kVideoRotation_270;
49 default: 49 default:
50 RTC_NOTREACHED(); 50 RTC_NOTREACHED();
51 return kVideoRotation_0; 51 return kVideoRotation_0;
52 } 52 }
53 } 53 }
54 54
55 } // namespace webrtc 55 } // namespace webrtc
56 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_CVO_H_ 56 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_CVO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698