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

Unified Diff: media/base/media_client.h

Issue 2723833002: WebM support for new multipart VP9 string. (Closed)
Patch Set: Rebase Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/media.cc ('k') | media/base/media_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_client.h
diff --git a/media/base/media_client.h b/media/base/media_client.h
index e3bb095a6ac83077bb5b7213fdff6b8392926600..32b02520d881769a01d8026d3bdf54a1a33738d4 100644
--- a/media/base/media_client.h
+++ b/media/base/media_client.h
@@ -11,6 +11,7 @@
#include "media/base/key_system_properties.h"
#include "media/base/media_export.h"
#include "media/base/video_codecs.h"
+#include "ui/gfx/color_space.h"
#include "url/gurl.h"
namespace media {
@@ -27,6 +28,13 @@ MEDIA_EXPORT void SetMediaClient(MediaClient* media_client);
MEDIA_EXPORT MediaClient* GetMediaClient();
#endif
+struct MEDIA_EXPORT VideoConfig {
+ VideoCodec codec;
+ VideoCodecProfile profile;
+ int level;
+ gfx::ColorSpace::TransferID eotf;
+};
+
struct MEDIA_EXPORT KeySystemInfoForUMA {
KeySystemInfoForUMA(const std::string& key_system,
const std::string& key_system_name_for_uma);
@@ -68,9 +76,7 @@ class MEDIA_EXPORT MediaClient {
// Returns true if the given combination of video codec, profile and level is
// supported. The |level| value is codec-specific.
- virtual bool IsSupportedVideoConfig(VideoCodec codec,
- VideoCodecProfile profile,
- int level) = 0;
+ virtual bool IsSupportedVideoConfig(const VideoConfig& config) = 0;
};
} // namespace media
« no previous file with comments | « media/base/media.cc ('k') | media/base/media_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698