diff options
author | jiesun@google.com <jiesun@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-02 00:15:55 +0000 |
---|---|---|
committer | jiesun@google.com <jiesun@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-02 00:15:55 +0000 |
commit | 34d14848d6b9c5613e4a1a882898f50c7ab39983 (patch) | |
tree | 706560d8008a4212f2066dc05653899fddaf555d /media/base/limits.h | |
parent | 6818e708dfd58aee620d592df28b29c251dcb0f1 (diff) | |
download | chromium_src-34d14848d6b9c5613e4a1a882898f50c7ab39983.zip chromium_src-34d14848d6b9c5613e4a1a882898f50c7ab39983.tar.gz chromium_src-34d14848d6b9c5613e4a1a882898f50c7ab39983.tar.bz2 |
media: recycle buffers/direct rendering etc. (third patch)
1. ffmpeg use direct rendering for ogg/h264. webm still do not use direct rendering. for both cases, decoder owns buffers.
2. video renderer change to support flush in a more flexible way.
3. openmax 's both path had been merged and both recycle buffer,
4. finish/fine tune seek logic in openmax code .
TEST=test matrix/player_x11/layout test.
BUG = None
Review URL: http://codereview.chromium.org/3014059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58279 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/limits.h')
-rw-r--r-- | media/base/limits.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/media/base/limits.h b/media/base/limits.h index 517a5d1..b8a139f 100644 --- a/media/base/limits.h +++ b/media/base/limits.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -16,6 +16,9 @@ struct Limits { static const size_t kMaxDimension = (1 << 15) - 1; // 32767 static const size_t kMaxCanvas = (1 << (14 * 2)); // 16384 x 16384 + // Total number of video frames which are populating in the pipeline. + static const size_t kMaxVideoFrames = 4; + // Following limits are used by AudioParameters::IsValid(). // The 192 Khz constant is the frequency of quicktime lossless audio codec. // MP4 is limited to 96 Khz, and mp3 is limited to 48 Khz. |