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 | 5 |
6 /* From private/pp_content_decryptor.idl modified Wed Oct 3 16:16:49 2012. */ | 6 /* From private/pp_content_decryptor.idl modified Wed Oct 10 17:21:21 2012. */ |
7 | 7 |
8 #ifndef PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ | 8 #ifndef PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ |
9 #define PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ | 9 #define PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ |
10 | 10 |
11 #include "ppapi/c/pp_macros.h" | 11 #include "ppapi/c/pp_macros.h" |
12 #include "ppapi/c/pp_stdint.h" | 12 #include "ppapi/c/pp_stdint.h" |
13 | 13 |
14 /** | 14 /** |
15 * @file | 15 * @file |
16 * The <code>PP_DecryptTrackingInfo</code> struct contains necessary information | 16 * The <code>PP_DecryptTrackingInfo</code> struct contains necessary information |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 /** | 295 /** |
296 * Information needed by the client to track the decrypted frame. | 296 * Information needed by the client to track the decrypted frame. |
297 */ | 297 */ |
298 struct PP_DecryptTrackingInfo tracking_info; | 298 struct PP_DecryptTrackingInfo tracking_info; |
299 }; | 299 }; |
300 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_DecryptedFrameInfo, 56); | 300 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_DecryptedFrameInfo, 56); |
301 /** | 301 /** |
302 * @} | 302 * @} |
303 */ | 303 */ |
304 | 304 |
| 305 /** |
| 306 * @addtogroup Enums |
| 307 * @{ |
| 308 */ |
| 309 /** |
| 310 * <code>PP_StreamType</code> contains stream type constants. |
| 311 */ |
| 312 typedef enum { |
| 313 PP_STREAMTYPE_AUDIO = 0, |
| 314 PP_STREAMTYPE_VIDEO = 1 |
| 315 } PP_StreamType; |
| 316 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_StreamType, 4); |
| 317 /** |
| 318 * @} |
| 319 */ |
| 320 |
305 #endif /* PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ */ | 321 #endif /* PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ */ |
306 | 322 |
OLD | NEW |