OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CDM_CONTENT_DECRYPTION_MODULE_H_ | 5 #ifndef CDM_CONTENT_DECRYPTION_MODULE_H_ |
6 #define CDM_CONTENT_DECRYPTION_MODULE_H_ | 6 #define CDM_CONTENT_DECRYPTION_MODULE_H_ |
7 | 7 |
8 #if defined(_MSC_VER) | 8 #if defined(_MSC_VER) |
9 typedef unsigned char uint8_t; | 9 typedef unsigned char uint8_t; |
10 typedef unsigned int uint32_t; | 10 typedef unsigned int uint32_t; |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 | 238 |
239 enum VideoCodecProfile { | 239 enum VideoCodecProfile { |
240 kUnknownVideoCodecProfile = 0, | 240 kUnknownVideoCodecProfile = 0, |
241 kProfileNotNeeded, | 241 kProfileNotNeeded, |
242 kH264ProfileBaseline, | 242 kH264ProfileBaseline, |
243 kH264ProfileMain, | 243 kH264ProfileMain, |
244 kH264ProfileExtended, | 244 kH264ProfileExtended, |
245 kH264ProfileHigh, | 245 kH264ProfileHigh, |
246 kH264ProfileHigh10, | 246 kH264ProfileHigh10, |
247 kH264ProfileHigh422, | 247 kH264ProfileHigh422, |
248 kH264ProfileHigh444Predictive | 248 kH264ProfileHigh444Predictive, |
| 249 kVP9Profile0, |
| 250 kVP9Profile1, |
| 251 kVP9Profile2, |
| 252 kVP9Profile3 |
249 }; | 253 }; |
250 | 254 |
251 VideoDecoderConfig() | 255 VideoDecoderConfig() |
252 : codec(kUnknownVideoCodec), | 256 : codec(kUnknownVideoCodec), |
253 profile(kUnknownVideoCodecProfile), | 257 profile(kUnknownVideoCodecProfile), |
254 format(kUnknownVideoFormat), | 258 format(kUnknownVideoFormat), |
255 extra_data(nullptr), | 259 extra_data(nullptr), |
256 extra_data_size(0) {} | 260 extra_data_size(0) {} |
257 | 261 |
258 VideoCodec codec; | 262 VideoCodec codec; |
(...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1193 virtual AudioFormat Format() const = 0; | 1197 virtual AudioFormat Format() const = 0; |
1194 | 1198 |
1195 protected: | 1199 protected: |
1196 AudioFrames() {} | 1200 AudioFrames() {} |
1197 virtual ~AudioFrames() {} | 1201 virtual ~AudioFrames() {} |
1198 }; | 1202 }; |
1199 | 1203 |
1200 } // namespace cdm | 1204 } // namespace cdm |
1201 | 1205 |
1202 #endif // CDM_CONTENT_DECRYPTION_MODULE_H_ | 1206 #endif // CDM_CONTENT_DECRYPTION_MODULE_H_ |
OLD | NEW |