OLD | NEW |
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 // Implementation of Pipeline. | 5 // Implementation of Pipeline. |
6 | 6 |
7 #ifndef MEDIA_BASE_PIPELINE_IMPL_H_ | 7 #ifndef MEDIA_BASE_PIPELINE_IMPL_H_ |
8 #define MEDIA_BASE_PIPELINE_IMPL_H_ | 8 #define MEDIA_BASE_PIPELINE_IMPL_H_ |
9 | 9 |
10 #include <set> | 10 #include <set> |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 enum State { | 111 enum State { |
112 kCreated, | 112 kCreated, |
113 kInitDataSource, | 113 kInitDataSource, |
114 kInitDemuxer, | 114 kInitDemuxer, |
115 kInitAudioDecoder, | 115 kInitAudioDecoder, |
116 kInitAudioRenderer, | 116 kInitAudioRenderer, |
117 kInitVideoDecoder, | 117 kInitVideoDecoder, |
118 kInitVideoRenderer, | 118 kInitVideoRenderer, |
119 kPausing, | 119 kPausing, |
120 kSeeking, | 120 kSeeking, |
| 121 kFlushing, |
121 kStarting, | 122 kStarting, |
122 kStarted, | 123 kStarted, |
123 kEnded, | 124 kEnded, |
124 kStopping, | 125 kStopping, |
125 kStopped, | 126 kStopped, |
126 kError, | 127 kError, |
127 }; | 128 }; |
128 | 129 |
129 virtual ~PipelineImpl(); | 130 virtual ~PipelineImpl(); |
130 | 131 |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 FilterThreadVector filter_threads_; | 416 FilterThreadVector filter_threads_; |
416 | 417 |
417 FRIEND_TEST_ALL_PREFIXES(PipelineImplTest, GetBufferedTime); | 418 FRIEND_TEST_ALL_PREFIXES(PipelineImplTest, GetBufferedTime); |
418 | 419 |
419 DISALLOW_COPY_AND_ASSIGN(PipelineImpl); | 420 DISALLOW_COPY_AND_ASSIGN(PipelineImpl); |
420 }; | 421 }; |
421 | 422 |
422 } // namespace media | 423 } // namespace media |
423 | 424 |
424 #endif // MEDIA_BASE_PIPELINE_IMPL_H_ | 425 #endif // MEDIA_BASE_PIPELINE_IMPL_H_ |
OLD | NEW |