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

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

Issue 2758873003: New media/base/decode_capabilities.h|cc (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
(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 {
hubbe 2017/03/23 18:14:30 Might be nice to update VideoDecoderConfig to use
chcunningham 2017/03/23 19:20:53 I actually tried to add level to VideoDecoderConfi
hubbe 2017/03/23 19:33:00 Acknowledged.
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698