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

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

Issue 1769593002: Add 4 VP9 profiles to the media::VideoCodecProfile enum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hevc-codec-7
Patch Set: Added some comments and dchecks Created 4 years, 8 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMECAST_PUBLIC_MEDIA_DECODER_CONFIG_H_ 5 #ifndef CHROMECAST_PUBLIC_MEDIA_DECODER_CONFIG_H_
6 #define CHROMECAST_PUBLIC_MEDIA_DECODER_CONFIG_H_ 6 #define CHROMECAST_PUBLIC_MEDIA_DECODER_CONFIG_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 kH264Extended, 76 kH264Extended,
77 kH264High, 77 kH264High,
78 kH264High10, 78 kH264High10,
79 kH264High422, 79 kH264High422,
80 kH264High444Predictive, 80 kH264High444Predictive,
81 kH264ScalableBaseline, 81 kH264ScalableBaseline,
82 kH264ScalableHigh, 82 kH264ScalableHigh,
83 kH264Stereohigh, 83 kH264Stereohigh,
84 kH264MultiviewHigh, 84 kH264MultiviewHigh,
85 kVP8ProfileAny, 85 kVP8ProfileAny,
86 kVP9ProfileAny, 86 kVP9Profile0,
87 kVP9Profile1,
88 kVP9Profile2,
89 kVP9Profile3,
87 kDolbyVisionCompatible_EL_MD, 90 kDolbyVisionCompatible_EL_MD,
88 kDolbyVisionCompatible_BL_EL_MD, 91 kDolbyVisionCompatible_BL_EL_MD,
89 kDolbyVisionNonCompatible_BL_MD, 92 kDolbyVisionNonCompatible_BL_MD,
90 kDolbyVisionNonCompatible_BL_EL_MD, 93 kDolbyVisionNonCompatible_BL_EL_MD,
91 94
92 kVideoProfileMin = kVideoProfileUnknown, 95 kVideoProfileMin = kVideoProfileUnknown,
93 kVideoProfileMax = kDolbyVisionNonCompatible_BL_EL_MD, 96 kVideoProfileMax = kDolbyVisionNonCompatible_BL_EL_MD,
94 }; 97 };
95 98
96 // Specification of whether and how the stream is encrypted (in whole or part). 99 // Specification of whether and how the stream is encrypted (in whole or part).
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 inline bool IsValidConfig(const VideoConfig& config) { 253 inline bool IsValidConfig(const VideoConfig& config) {
251 return config.codec >= kVideoCodecMin && 254 return config.codec >= kVideoCodecMin &&
252 config.codec <= kVideoCodecMax && 255 config.codec <= kVideoCodecMax &&
253 config.codec != kVideoCodecUnknown; 256 config.codec != kVideoCodecUnknown;
254 } 257 }
255 258
256 } // namespace media 259 } // namespace media
257 } // namespace chromecast 260 } // namespace chromecast
258 261
259 #endif // CHROMECAST_PUBLIC_MEDIA_DECODER_CONFIG_H_ 262 #endif // CHROMECAST_PUBLIC_MEDIA_DECODER_CONFIG_H_
OLDNEW
« no previous file with comments | « chromecast/media/cma/base/decoder_config_adapter.cc ('k') | content/common/gpu/media/android_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698