OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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 MEDIA_BASE_DECODE_CAPABILITIES_ |
| 6 #define MEDIA_BASE_DECODE_CAPABILITIES_ |
| 7 |
| 8 #include "media/base/media_export.h" |
| 9 #include "media/base/video_codecs.h" |
| 10 #include "media/base/video_color_space.h" |
| 11 |
| 12 namespace media { |
| 13 |
| 14 // APIs to media's decoder capabilities. Embedders may customize decoder |
| 15 // capabilities via MediaClient. See usage in mime_util_internal.cc. |
| 16 |
| 17 struct MEDIA_EXPORT VideoConfig { |
| 18 VideoCodec codec; |
| 19 VideoCodecProfile profile; |
| 20 int level; |
| 21 VideoColorSpace color_space; |
| 22 }; |
| 23 |
| 24 MEDIA_EXPORT bool IsSupportedVideoConfig(const VideoConfig& config); |
| 25 |
| 26 } // namespace media |
| 27 |
| 28 #endif // MEDIA_BASE_DECODE_CAPABILITIES_ |
OLD | NEW |