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

Side by Side Diff: ppapi/c/pp_codecs.h

Issue 496203002: Pepper: PPB_VideoDecoder software-only mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 6 years, 4 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
« no previous file with comments | « ppapi/api/ppb_video_decoder.idl ('k') | ppapi/c/pp_macros.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2014 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 pp_codecs.idl modified Mon Jun 30 14:36:36 2014. */ 6 /* From pp_codecs.idl modified Fri Aug 22 13:39:56 2014. */
7 7
8 #ifndef PPAPI_C_PP_CODECS_H_ 8 #ifndef PPAPI_C_PP_CODECS_H_
9 #define PPAPI_C_PP_CODECS_H_ 9 #define PPAPI_C_PP_CODECS_H_
10 10
11 #include "ppapi/c/pp_macros.h" 11 #include "ppapi/c/pp_macros.h"
12 #include "ppapi/c/pp_size.h" 12 #include "ppapi/c/pp_size.h"
13 #include "ppapi/c/pp_stdint.h" 13 #include "ppapi/c/pp_stdint.h"
14 14
15 /** 15 /**
16 * @file 16 * @file
(...skipping 14 matching lines...) Expand all
31 PP_VIDEOPROFILE_H264HIGH422PROFILE = 5, 31 PP_VIDEOPROFILE_H264HIGH422PROFILE = 5,
32 PP_VIDEOPROFILE_H264HIGH444PREDICTIVEPROFILE = 6, 32 PP_VIDEOPROFILE_H264HIGH444PREDICTIVEPROFILE = 6,
33 PP_VIDEOPROFILE_H264SCALABLEBASELINE = 7, 33 PP_VIDEOPROFILE_H264SCALABLEBASELINE = 7,
34 PP_VIDEOPROFILE_H264SCALABLEHIGH = 8, 34 PP_VIDEOPROFILE_H264SCALABLEHIGH = 8,
35 PP_VIDEOPROFILE_H264STEREOHIGH = 9, 35 PP_VIDEOPROFILE_H264STEREOHIGH = 9,
36 PP_VIDEOPROFILE_H264MULTIVIEWHIGH = 10, 36 PP_VIDEOPROFILE_H264MULTIVIEWHIGH = 10,
37 PP_VIDEOPROFILE_VP8_ANY = 11, 37 PP_VIDEOPROFILE_VP8_ANY = 11,
38 PP_VIDEOPROFILE_VP9_ANY = 12, 38 PP_VIDEOPROFILE_VP9_ANY = 12,
39 PP_VIDEOPROFILE_MAX = PP_VIDEOPROFILE_VP9_ANY 39 PP_VIDEOPROFILE_MAX = PP_VIDEOPROFILE_VP9_ANY
40 } PP_VideoProfile; 40 } PP_VideoProfile;
41
42 /**
43 * Hardware acceleration options.
44 */
45 typedef enum {
46 /** Create a hardware accelerated resource only. */
47 PP_HARDWAREACCELERATION_ONLY = 0,
48 /**
49 * Create a hardware accelerated resource if possible. Otherwise, fall back
50 * to the software implementation.
51 */
52 PP_HARDWAREACCELERATION_WITHFALLBACK = 1,
53 /** Create the software implementation only. */
54 PP_HARDWAREACCELERATION_NONE = 2,
55 PP_HARDWAREACCELERATION_LAST = PP_HARDWAREACCELERATION_NONE
56 } PP_HardwareAcceleration;
41 /** 57 /**
42 * @} 58 * @}
43 */ 59 */
44 60
45 /** 61 /**
46 * @addtogroup Structs 62 * @addtogroup Structs
47 * @{ 63 * @{
48 */ 64 */
49 /** 65 /**
50 * Struct describing a decoded video picture. The decoded picture data is stored 66 * Struct describing a decoded video picture. The decoded picture data is stored
(...skipping 24 matching lines...) Expand all
75 * Dimensions of the texture holding the decoded picture. 91 * Dimensions of the texture holding the decoded picture.
76 */ 92 */
77 struct PP_Size texture_size; 93 struct PP_Size texture_size;
78 }; 94 };
79 /** 95 /**
80 * @} 96 * @}
81 */ 97 */
82 98
83 #endif /* PPAPI_C_PP_CODECS_H_ */ 99 #endif /* PPAPI_C_PP_CODECS_H_ */
84 100
OLDNEW
« no previous file with comments | « ppapi/api/ppb_video_decoder.idl ('k') | ppapi/c/pp_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698