OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_BASE_VIDEO_ROTATION_H_ | 5 #ifndef MEDIA_BASE_VIDEO_ROTATION_H_ |
6 #define MEDIA_BASE_VIDEO_ROTATION_H_ | 6 #define MEDIA_BASE_VIDEO_ROTATION_H_ |
7 | 7 |
8 namespace media { | 8 namespace media { |
9 | 9 |
10 // Enumeration to represent 90 degree video rotation for MP4 videos | 10 // Enumeration to represent 90 degree video rotation for MP4 videos |
11 // where it can be rotated by 90 degree intervals. | 11 // where it can be rotated by 90 degree intervals. |
Alexei Svitkine (slow)
2014/07/17 18:20:59
Expand comment to mention not to renumber entries
| |
12 enum VideoRotation { | 12 enum VideoRotation { |
13 VIDEO_ROTATION_0 = 0, | 13 VIDEO_ROTATION_0 = 0, |
14 VIDEO_ROTATION_90, | 14 VIDEO_ROTATION_90, |
15 VIDEO_ROTATION_180, | 15 VIDEO_ROTATION_180, |
16 VIDEO_ROTATION_270 | 16 VIDEO_ROTATION_270, |
17 VIDEO_ROTATION_MAX = VIDEO_ROTATION_270 | |
17 }; | 18 }; |
18 | 19 |
19 } // namespace media | 20 } // namespace media |
20 | 21 |
21 #endif // MEDIA_BASE_VIDEO_ROTATION_H_ | 22 #endif // MEDIA_BASE_VIDEO_ROTATION_H_ |
OLD | NEW |