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

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

Issue 2533273002: media: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 | « media/base/audio_decoder.h ('k') | media/base/pipeline.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Contains code that should be used for initializing, or querying the state 5 // Contains code that should be used for initializing, or querying the state
6 // of the media library as a whole. 6 // of the media library as a whole.
7 7
8 #ifndef MEDIA_BASE_MEDIA_H_ 8 #ifndef MEDIA_BASE_MEDIA_H_
9 #define MEDIA_BASE_MEDIA_H_ 9 #define MEDIA_BASE_MEDIA_H_
10 10
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "media/base/media_export.h" 12 #include "media/base/media_export.h"
13 13
14 namespace base {
15 class FilePath;
16 }
17
18 namespace media { 14 namespace media {
19 15
20 // Initializes media libraries (e.g. ffmpeg) as well as CPU specific media 16 // Initializes media libraries (e.g. ffmpeg) as well as CPU specific media
21 // features. 17 // features.
22 MEDIA_EXPORT void InitializeMediaLibrary(); 18 MEDIA_EXPORT void InitializeMediaLibrary();
23 19
24 #if defined(OS_ANDROID) 20 #if defined(OS_ANDROID)
25 // Tells the media library it has support for OS level decoders. Should only be 21 // Tells the media library it has support for OS level decoders. Should only be
26 // used for actual decoders (e.g. MediaCodec) and not full-featured players 22 // used for actual decoders (e.g. MediaCodec) and not full-featured players
27 // (e.g. MediaPlayer). 23 // (e.g. MediaPlayer).
(...skipping 15 matching lines...) Expand all
43 // Returns whether the platform decoders are available for use. 39 // Returns whether the platform decoders are available for use.
44 // This includes decoders being available on the platform and accessible, such 40 // This includes decoders being available on the platform and accessible, such
45 // as via the GPU process. Should only be used for actual decoders 41 // as via the GPU process. Should only be used for actual decoders
46 // (e.g. MediaCodec) and not full-featured players (e.g. MediaPlayer). 42 // (e.g. MediaCodec) and not full-featured players (e.g. MediaPlayer).
47 MEDIA_EXPORT bool ArePlatformDecodersAvailable(); 43 MEDIA_EXPORT bool ArePlatformDecodersAvailable();
48 #endif 44 #endif
49 45
50 } // namespace media 46 } // namespace media
51 47
52 #endif // MEDIA_BASE_MEDIA_H_ 48 #endif // MEDIA_BASE_MEDIA_H_
OLDNEW
« no previous file with comments | « media/base/audio_decoder.h ('k') | media/base/pipeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698