| 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 Mon Oct 8 12:50:54 2012. */ | 6 /* From private/pp_content_decryptor.idl modified Thu Oct 11 21:05:33 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 * request. By using this value, the client can associate a decoder | 358 * request. By using this value, the client can associate a decoder |
| 359 * initialization status response with an initialization request. | 359 * initialization status response with an initialization request. |
| 360 */ | 360 */ |
| 361 uint32_t request_id; | 361 uint32_t request_id; |
| 362 }; | 362 }; |
| 363 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_VideoDecoderConfig, 24); | 363 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_VideoDecoderConfig, 24); |
| 364 /** | 364 /** |
| 365 * @} | 365 * @} |
| 366 */ | 366 */ |
| 367 | 367 |
| 368 /** |
| 369 * @addtogroup Enums |
| 370 * @{ |
| 371 */ |
| 372 /** |
| 373 * <code>PP_DecryptorStreamType</code> contains stream type constants. |
| 374 */ |
| 375 typedef enum { |
| 376 PP_DECRYPTORSTREAMTYPE_AUDIO = 0, |
| 377 PP_DECRYPTORSTREAMTYPE_VIDEO = 1 |
| 378 } PP_DecryptorStreamType; |
| 379 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_DecryptorStreamType, 4); |
| 380 /** |
| 381 * @} |
| 382 */ |
| 383 |
| 368 #endif /* PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ */ | 384 #endif /* PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_ */ |
| 369 | 385 |
| OLD | NEW |