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 /** | 6 /** |
7 * Video profiles. | 7 * Video profiles. |
8 */ | 8 */ |
9 enum PP_VideoProfile { | 9 enum PP_VideoProfile { |
10 PP_VIDEOPROFILE_H264BASELINE = 0, | 10 PP_VIDEOPROFILE_H264BASELINE = 0, |
(...skipping 10 matching lines...) Expand all Loading... |
21 PP_VIDEOPROFILE_VP8_ANY = 11, | 21 PP_VIDEOPROFILE_VP8_ANY = 11, |
22 PP_VIDEOPROFILE_VP9_ANY = 12, | 22 PP_VIDEOPROFILE_VP9_ANY = 12, |
23 PP_VIDEOPROFILE_MAX = PP_VIDEOPROFILE_VP9_ANY | 23 PP_VIDEOPROFILE_MAX = PP_VIDEOPROFILE_VP9_ANY |
24 }; | 24 }; |
25 | 25 |
26 /** | 26 /** |
27 * Audio profiles. | 27 * Audio profiles. |
28 */ | 28 */ |
29 enum PP_AudioProfile { | 29 enum PP_AudioProfile { |
30 PP_AUDIOPROFILE_OPUS = 0, | 30 PP_AUDIOPROFILE_OPUS = 0, |
31 PP_AUDIOPROFILE_SPEEX = 1, | 31 PP_AUDIOPROFILE_MAX = PP_AUDIOPROFILE_OPUS |
32 PP_AUDIOPROFILE_MAX = PP_AUDIOPROFILE_SPEEX | |
33 }; | 32 }; |
34 | 33 |
35 /** | 34 /** |
36 * Hardware acceleration options. | 35 * Hardware acceleration options. |
37 */ | 36 */ |
38 enum PP_HardwareAcceleration { | 37 enum PP_HardwareAcceleration { |
39 /** Create a hardware accelerated resource only. */ | 38 /** Create a hardware accelerated resource only. */ |
40 PP_HARDWAREACCELERATION_ONLY = 0, | 39 PP_HARDWAREACCELERATION_ONLY = 0, |
41 | 40 |
42 /** | 41 /** |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 /** | 245 /** |
247 * The size, in bytes, of the bitstream data. | 246 * The size, in bytes, of the bitstream data. |
248 */ | 247 */ |
249 uint32_t size; | 248 uint32_t size; |
250 | 249 |
251 /** | 250 /** |
252 * The base address of the bitstream data. | 251 * The base address of the bitstream data. |
253 */ | 252 */ |
254 mem_t buffer; | 253 mem_t buffer; |
255 }; | 254 }; |
OLD | NEW |