Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 75 kH264Main, | 75 kH264Main, |
| 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 kHEVCMain, | |
| 86 kHEVCMain10, | |
| 87 kHEVCMainStillPicture, | |
|
gfhuang
2016/07/27 05:49:39
this should be added at the bottom, otherwise it w
servolk
2016/07/27 18:56:34
Done.
| |
| 85 kVP8ProfileAny, | 88 kVP8ProfileAny, |
| 86 kVP9Profile0, | 89 kVP9Profile0, |
| 87 kVP9Profile1, | 90 kVP9Profile1, |
| 88 kVP9Profile2, | 91 kVP9Profile2, |
| 89 kVP9Profile3, | 92 kVP9Profile3, |
| 90 kDolbyVisionCompatible_EL_MD, | 93 kDolbyVisionCompatible_EL_MD, |
| 91 kDolbyVisionCompatible_BL_EL_MD, | 94 kDolbyVisionCompatible_BL_EL_MD, |
| 92 kDolbyVisionNonCompatible_BL_MD, | 95 kDolbyVisionNonCompatible_BL_MD, |
| 93 kDolbyVisionNonCompatible_BL_EL_MD, | 96 kDolbyVisionNonCompatible_BL_EL_MD, |
| 94 | 97 |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 257 inline bool IsValidConfig(const VideoConfig& config) { | 260 inline bool IsValidConfig(const VideoConfig& config) { |
| 258 return config.codec >= kVideoCodecMin && | 261 return config.codec >= kVideoCodecMin && |
| 259 config.codec <= kVideoCodecMax && | 262 config.codec <= kVideoCodecMax && |
| 260 config.codec != kVideoCodecUnknown; | 263 config.codec != kVideoCodecUnknown; |
| 261 } | 264 } |
| 262 | 265 |
| 263 } // namespace media | 266 } // namespace media |
| 264 } // namespace chromecast | 267 } // namespace chromecast |
| 265 | 268 |
| 266 #endif // CHROMECAST_PUBLIC_MEDIA_DECODER_CONFIG_H_ | 269 #endif // CHROMECAST_PUBLIC_MEDIA_DECODER_CONFIG_H_ |
| OLD | NEW |