OLD | NEW |
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 Thu May 21 15:11:01 2015. */ | 6 /* From pp_codecs.idl modified Fri Sep 18 10:42:55 2015. */ |
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_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
12 #include "ppapi/c/pp_macros.h" | 12 #include "ppapi/c/pp_macros.h" |
13 #include "ppapi/c/pp_point.h" | 13 #include "ppapi/c/pp_point.h" |
14 #include "ppapi/c/pp_rect.h" | 14 #include "ppapi/c/pp_rect.h" |
15 #include "ppapi/c/pp_size.h" | 15 #include "ppapi/c/pp_size.h" |
16 #include "ppapi/c/pp_stdint.h" | 16 #include "ppapi/c/pp_stdint.h" |
(...skipping 23 matching lines...) Expand all Loading... |
40 PP_VIDEOPROFILE_VP8_ANY = 11, | 40 PP_VIDEOPROFILE_VP8_ANY = 11, |
41 PP_VIDEOPROFILE_VP9_ANY = 12, | 41 PP_VIDEOPROFILE_VP9_ANY = 12, |
42 PP_VIDEOPROFILE_MAX = PP_VIDEOPROFILE_VP9_ANY | 42 PP_VIDEOPROFILE_MAX = PP_VIDEOPROFILE_VP9_ANY |
43 } PP_VideoProfile; | 43 } PP_VideoProfile; |
44 | 44 |
45 /** | 45 /** |
46 * Audio profiles. | 46 * Audio profiles. |
47 */ | 47 */ |
48 typedef enum { | 48 typedef enum { |
49 PP_AUDIOPROFILE_OPUS = 0, | 49 PP_AUDIOPROFILE_OPUS = 0, |
50 PP_AUDIOPROFILE_SPEEX = 1, | 50 PP_AUDIOPROFILE_MAX = PP_AUDIOPROFILE_OPUS |
51 PP_AUDIOPROFILE_MAX = PP_AUDIOPROFILE_SPEEX | |
52 } PP_AudioProfile; | 51 } PP_AudioProfile; |
53 | 52 |
54 /** | 53 /** |
55 * Hardware acceleration options. | 54 * Hardware acceleration options. |
56 */ | 55 */ |
57 typedef enum { | 56 typedef enum { |
58 /** Create a hardware accelerated resource only. */ | 57 /** Create a hardware accelerated resource only. */ |
59 PP_HARDWAREACCELERATION_ONLY = 0, | 58 PP_HARDWAREACCELERATION_ONLY = 0, |
60 /** | 59 /** |
61 * Create a hardware accelerated resource if possible. Otherwise, fall back | 60 * Create a hardware accelerated resource if possible. Otherwise, fall back |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 * The base address of the bitstream data. | 252 * The base address of the bitstream data. |
254 */ | 253 */ |
255 void* buffer; | 254 void* buffer; |
256 }; | 255 }; |
257 /** | 256 /** |
258 * @} | 257 * @} |
259 */ | 258 */ |
260 | 259 |
261 #endif /* PPAPI_C_PP_CODECS_H_ */ | 260 #endif /* PPAPI_C_PP_CODECS_H_ */ |
262 | 261 |
OLD | NEW |