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

Side by Side Diff: media/base/factory.h

Issue 18380: This is the frozen interface definition for the media pipeline, filters, and ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | media/base/filter_host.h » ('j') | media/base/filters.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // A filter factory handles the creation of filters given a FilterType (i.e., 5 // A filter factory handles the creation of filters given a FilterType (i.e.,
6 // FILTER_AUDIO_DECODER) and a MediaFormat. Generally a filter factory handles 6 // FILTER_AUDIO_DECODER) and a MediaFormat. Generally a filter factory handles
7 // creating a single type of filter, with multiple factories combined into a 7 // creating a single type of filter, with multiple factories combined into a
8 // FilterFactoryCollection. We use some template tricks to enforce type-safety 8 // FilterFactoryCollection. We use some template tricks to enforce type-safety
9 // and eliminate casting for callers. 9 // and eliminate casting for callers.
10 // 10 //
11 // The majority of applications will only use FilterFactoryCollection since 11 // The majority of applications will only use FilterFactoryCollection since
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 private: 127 private:
128 typedef std::vector< scoped_refptr<FilterFactory> > FactoryVector; 128 typedef std::vector< scoped_refptr<FilterFactory> > FactoryVector;
129 FactoryVector factories_; 129 FactoryVector factories_;
130 130
131 DISALLOW_COPY_AND_ASSIGN(FilterFactoryCollection); 131 DISALLOW_COPY_AND_ASSIGN(FilterFactoryCollection);
132 }; 132 };
133 133
134 } // namespace media 134 } // namespace media
135 135
136 #endif // MEDIA_BASE_FACTORY_H_ 136 #endif // MEDIA_BASE_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | media/base/filter_host.h » ('j') | media/base/filters.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698