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

Side by Side Diff: chromecast/public/media_codec_support_shlib.h

Issue 1257013003: Load CMA backend from shared library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unit test + android fixes Created 5 years, 4 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
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROMECAST_PUBLIC_MEDIA_CODEC_SUPPORT_SHLIB_H_
6 #define CHROMECAST_PUBLIC_MEDIA_CODEC_SUPPORT_SHLIB_H_
7
8 #include <string>
9
10 #include "chromecast_export.h"
11
12 namespace chromecast {
13 namespace media {
14
15 class CHROMECAST_EXPORT MediaCodecSupportShlib {
16 public:
17 // Possible values for 'is codec supported' query
18 enum CodecSupport {
19 // Codec is definitely supported on this platform.
20 kSupported,
21 // Codec is definitely not supported on this platform.
22 kNotSupported,
23 // No platform-specific constraints on codec's support.
24 // Support is determined by cast_shell default behaviour (which
25 // may include taking current HDMI-out capabilities into account).
26 kDefault
27 };
28
29 // Returns whether or not the given codec (passed in as a string
30 // representation of the codec id conforming to RFC 6381) is supported.
31 static CodecSupport IsSupported(const std::string& codec);
32 };
33
34 } // namespace media
35 } // namespace chromecast
36
37 #endif // CHROMECAST_PUBLIC_MEDIA_CODEC_SUPPORT_SHLIB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698