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 3// found in the LICENSE file. 4 5#ifndef MEDIA_BASE_VIDEO_ROTATION_H_ 6#define MEDIA_BASE_VIDEO_ROTATION_H_ 7 8namespace media { 9 10// Enumeration to represent 90 degree video rotation for MP4 videos 11// where it can be rotated by 90 degree intervals. 12enum VideoRotation { 13 VIDEO_ROTATION_0 = 0, 14 VIDEO_ROTATION_90, 15 VIDEO_ROTATION_180, 16 VIDEO_ROTATION_270, 17 VIDEO_ROTATION_MAX = VIDEO_ROTATION_270 18}; 19 20} // namespace media 21 22#endif // MEDIA_BASE_VIDEO_ROTATION_H_ 23