OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 base class that provides the plumbing for a decoder filters. | 5 // A base class that provides the plumbing for a decoder filters. |
6 | 6 |
7 #ifndef MEDIA_FILTERS_DECODER_BASE_H_ | 7 #ifndef MEDIA_FILTERS_DECODER_BASE_H_ |
8 #define MEDIA_FILTERS_DECODER_BASE_H_ | 8 #define MEDIA_FILTERS_DECODER_BASE_H_ |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/stl_util-inl.h" | 14 #include "base/stl_util.h" |
15 #include "base/task.h" | 15 #include "base/task.h" |
16 #include "base/threading/thread.h" | 16 #include "base/threading/thread.h" |
17 #include "media/base/buffers.h" | 17 #include "media/base/buffers.h" |
18 #include "media/base/callback.h" | 18 #include "media/base/callback.h" |
19 #include "media/base/filters.h" | 19 #include "media/base/filters.h" |
20 #include "media/base/filter_host.h" | 20 #include "media/base/filter_host.h" |
21 | 21 |
22 namespace media { | 22 namespace media { |
23 | 23 |
24 // In this class, we over-specify method lookup via this-> to avoid unexpected | 24 // In this class, we over-specify method lookup via this-> to avoid unexpected |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 | 302 |
303 // Callback to update pipeline statistics. | 303 // Callback to update pipeline statistics. |
304 scoped_ptr<StatisticsCallback> statistics_callback_; | 304 scoped_ptr<StatisticsCallback> statistics_callback_; |
305 | 305 |
306 DISALLOW_COPY_AND_ASSIGN(DecoderBase); | 306 DISALLOW_COPY_AND_ASSIGN(DecoderBase); |
307 }; | 307 }; |
308 | 308 |
309 } // namespace media | 309 } // namespace media |
310 | 310 |
311 #endif // MEDIA_FILTERS_DECODER_BASE_H_ | 311 #endif // MEDIA_FILTERS_DECODER_BASE_H_ |
OLD | NEW |