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

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

Issue 2937010: Reland r52336. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 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
« no previous file with comments | « ipc/ipc_sync_channel_unittest.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 // Filters are connected in a strongly typed manner, with downstream filters 5 // Filters are connected in a strongly typed manner, with downstream filters
6 // always reading data from upstream filters. Upstream filters have no clue 6 // always reading data from upstream filters. Upstream filters have no clue
7 // who is actually reading from them, and return the results via callbacks. 7 // who is actually reading from them, and return the results via callbacks.
8 // 8 //
9 // DemuxerStream(Video) <- VideoDecoder <- VideoRenderer 9 // DemuxerStream(Video) <- VideoDecoder <- VideoRenderer
10 // DataSource <- Demuxer < 10 // DataSource <- Demuxer <
(...skipping 13 matching lines...) Expand all
24 #define MEDIA_BASE_FILTERS_H_ 24 #define MEDIA_BASE_FILTERS_H_
25 25
26 #include <limits> 26 #include <limits>
27 #include <string> 27 #include <string>
28 28
29 #include "base/callback.h" 29 #include "base/callback.h"
30 #include "base/logging.h" 30 #include "base/logging.h"
31 #include "base/message_loop.h" 31 #include "base/message_loop.h"
32 #include "base/ref_counted.h" 32 #include "base/ref_counted.h"
33 #include "base/time.h" 33 #include "base/time.h"
34 #include "base/scoped_ptr.h"
34 #include "media/base/media_format.h" 35 #include "media/base/media_format.h"
35 36
36 namespace media { 37 namespace media {
37 38
38 class Buffer; 39 class Buffer;
39 class Decoder; 40 class Decoder;
40 class DemuxerStream; 41 class DemuxerStream;
41 class FilterHost; 42 class FilterHost;
42 class VideoFrame; 43 class VideoFrame;
43 class WritableBuffer; 44 class WritableBuffer;
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 // buffer. 374 // buffer.
374 virtual bool HasEnded() = 0; 375 virtual bool HasEnded() = 0;
375 376
376 // Sets the output volume. 377 // Sets the output volume.
377 virtual void SetVolume(float volume) = 0; 378 virtual void SetVolume(float volume) = 0;
378 }; 379 };
379 380
380 } // namespace media 381 } // namespace media
381 382
382 #endif // MEDIA_BASE_FILTERS_H_ 383 #endif // MEDIA_BASE_FILTERS_H_
OLDNEW
« no previous file with comments | « ipc/ipc_sync_channel_unittest.cc ('k') | media/base/pipeline_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698