// Copyright (c) 2009 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. // Contains limit definition constants for the media subsystem. #ifndef MEDIA_BASE_LIMITS_H_ #define MEDIA_BASE_LIMITS_H_ #include "base/basictypes.h" namespace media { struct Limits { // For video. static const size_t kMaxDimension = (1 << 15) - 1; // 32767 static const size_t kMaxCanvas = (1 << (14 * 2)); // 16384 x 16384 // For audio. static const size_t kMaxSampleRate = 192000; static const size_t kMaxChannels = 32; static const size_t kMaxBPS = 64; }; } // namespace media #endif // MEDIA_BASE_LIMITS_H_