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

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

Issue 5744002: Refactor PipelineImpl to use CompositeFilter to manage Filter state transitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix CR nits & remove dead code. Created 9 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 | « media/base/mock_filters.cc ('k') | media/base/pipeline_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // The pipeline is the public API clients use for playing back media. Clients 5 // The pipeline is the public API clients use for playing back media. Clients
6 // provide a filter collection containing the filters they want the pipeline to 6 // provide a filter collection containing the filters they want the pipeline to
7 // use to render media. 7 // use to render media.
8 8
9 #ifndef MEDIA_BASE_PIPELINE_H_ 9 #ifndef MEDIA_BASE_PIPELINE_H_
10 #define MEDIA_BASE_PIPELINE_H_ 10 #define MEDIA_BASE_PIPELINE_H_
(...skipping 15 matching lines...) Expand all
26 PIPELINE_ERROR_URL_NOT_FOUND, 26 PIPELINE_ERROR_URL_NOT_FOUND,
27 PIPELINE_ERROR_NETWORK, 27 PIPELINE_ERROR_NETWORK,
28 PIPELINE_ERROR_DECODE, 28 PIPELINE_ERROR_DECODE,
29 PIPELINE_ERROR_ABORT, 29 PIPELINE_ERROR_ABORT,
30 PIPELINE_ERROR_INITIALIZATION_FAILED, 30 PIPELINE_ERROR_INITIALIZATION_FAILED,
31 PIPELINE_ERROR_REQUIRED_FILTER_MISSING, 31 PIPELINE_ERROR_REQUIRED_FILTER_MISSING,
32 PIPELINE_ERROR_OUT_OF_MEMORY, 32 PIPELINE_ERROR_OUT_OF_MEMORY,
33 PIPELINE_ERROR_COULD_NOT_RENDER, 33 PIPELINE_ERROR_COULD_NOT_RENDER,
34 PIPELINE_ERROR_READ, 34 PIPELINE_ERROR_READ,
35 PIPELINE_ERROR_AUDIO_HARDWARE, 35 PIPELINE_ERROR_AUDIO_HARDWARE,
36 PIPELINE_ERROR_OPERATION_PENDING,
37 PIPELINE_ERROR_INVALID_STATE,
36 // Demuxer related errors. 38 // Demuxer related errors.
37 DEMUXER_ERROR_COULD_NOT_OPEN, 39 DEMUXER_ERROR_COULD_NOT_OPEN,
38 DEMUXER_ERROR_COULD_NOT_PARSE, 40 DEMUXER_ERROR_COULD_NOT_PARSE,
39 DEMUXER_ERROR_NO_SUPPORTED_STREAMS, 41 DEMUXER_ERROR_NO_SUPPORTED_STREAMS,
40 DEMUXER_ERROR_COULD_NOT_CREATE_THREAD, 42 DEMUXER_ERROR_COULD_NOT_CREATE_THREAD,
41 }; 43 };
42 44
43 class FilterCollection; 45 class FilterCollection;
44 46
45 // Client-provided callbacks for various pipeline operations. Clients should 47 // Client-provided callbacks for various pipeline operations. Clients should
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 174
173 protected: 175 protected:
174 // Only allow ourselves to be deleted by reference counting. 176 // Only allow ourselves to be deleted by reference counting.
175 friend class base::RefCountedThreadSafe<Pipeline>; 177 friend class base::RefCountedThreadSafe<Pipeline>;
176 virtual ~Pipeline() {} 178 virtual ~Pipeline() {}
177 }; 179 };
178 180
179 } // namespace media 181 } // namespace media
180 182
181 #endif // MEDIA_BASE_PIPELINE_H_ 183 #endif // MEDIA_BASE_PIPELINE_H_
OLDNEW
« no previous file with comments | « media/base/mock_filters.cc ('k') | media/base/pipeline_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698