Chromium Code Reviews| Index: media/base/video_rotation.h |
| diff --git a/media/base/video_rotation.h b/media/base/video_rotation.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d5577046eec1c3b428914b4bba5ff4225566c8df |
| --- /dev/null |
| +++ b/media/base/video_rotation.h |
| @@ -0,0 +1,21 @@ |
| +// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef MEDIA_BASE_VIDEO_ROTATION_H_ |
| +#define MEDIA_BASE_VIDEO_ROTATION_H_ |
| + |
| +namespace media { |
| + |
| +// Enumeration to represent 90 degree video rotation for mov/mp4 videos |
|
scherkus (not reviewing)
2014/07/09 22:15:16
pedantic nit: mov/mp4 -> MP4
(we're pretty good a
|
| +// where it can be rotated by 90 degree intervals. |
| +enum VideoRotation { |
| + VIDEO_ROTATION_0 = 0, |
| + VIDEO_ROTATION_90, |
| + VIDEO_ROTATION_180, |
| + VIDEO_ROTATION_270 |
| +}; |
| + |
| +} // namespace media |
| + |
| +#endif // MEDIA_BASE_VIDEO_ROTATION_H_ |