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

Side by Side Diff: ppapi/c/private/pp_content_decryptor.h

Issue 11028087: Add decoder de-initialize and reset to the Pepper CDM API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments with the exception of renaming Deinit Created 8 years, 2 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ppapi/api/private/ppp_content_decryptor_private.idl ('k') | ppapi/c/private/ppb_content_decryptor_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698