Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: media/base/limits.h

Issue 3014059: media: recycle buffers/direct rendering etc. (third patch) (Closed)
Patch Set: code review Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/filters/ffmpeg_video_allocator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/limits.h
diff --git a/media/base/limits.h b/media/base/limits.h
index 517a5d10bbd466cf1c47e818b47047bd32f03a76..b8a139f385535607336640cc66133e54fd5cb9d2 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.
« no previous file with comments | « no previous file | media/filters/ffmpeg_video_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698