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

Side by Side Diff: chromecast/public/media/media_capabilities_shlib.h

Issue 2156193003: [Chromecast] Add a custom CastMediaClient for Chromecast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@codecs
Patch Set: rebase Created 4 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 2016 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_MEDIA_CAPABILITIES_SHLIB_H_
6 #define CHROMECAST_PUBLIC_MEDIA_MEDIA_CAPABILITIES_SHLIB_H_
7
8 #include "chromecast_export.h"
9 #include "decoder_config.h"
10
11 namespace chromecast {
12 namespace media {
13
14 // Interface for specifying platform media capabilities. It allows for more
15 // detailed information to be provided by the platform compared to the previous
16 // MediaCodecSupportShlib interface.
17 class CHROMECAST_EXPORT MediaCapabilitiesShlib {
18 public:
19 // Return true if the current platform supports the given combination of video
20 // codec, profile and level. For a list of supported codecs and profiles see
21 // decoder_config.h. The level value is codec specific. For H.264 and HEVC the
22 // level value corresponds to level_idc defined in the H.264 / HEVC standard.
gfhuang 2016/07/28 00:38:07 Is this new API intend to deprecate the other old
servolk 2016/07/28 00:49:20 Yes, eventually. But for now we will support both
23 static bool IsSupportedVideoConfig(VideoCodec codec,
24 VideoProfile profile,
25 int level) __attribute__((__weak__));
26 };
27
28 } // namespace media
29 } // namespace chromecast
30
31 #endif // CHROMECAST_PUBLIC_MEDIA_MEDIA_CAPABILITIES_SHLIB_H_
OLDNEW
« no previous file with comments | « chromecast/public/media/decoder_config.h ('k') | chromecast/renderer/cast_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698