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

Side by Side Diff: ppapi/api/dev/pp_video_dev.idl

Issue 8522002: Add values to all dev Pepper .idl enumerations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/dev/pp_video_capture_dev.idl ('k') | ppapi/api/dev/ppb_console_dev.idl » ('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) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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 * NOTE: these must be kept in sync with the versions in 7 * NOTE: these must be kept in sync with the versions in
8 * media/video/video_decode_accelerator.h! 8 * media/video/video_decode_accelerator.h!
9 */ 9 */
10 10
11 11
12 /** 12 /**
13 * Video format. 13 * Video format.
14 * 14 *
15 * Keep the values in this enum unique, as they imply format (h.264 vs. VP8, 15 * Keep the values in this enum unique, as they imply format (h.264 vs. VP8,
16 * for example), and keep the values for a particular format grouped together 16 * for example), and keep the values for a particular format grouped together
17 * for clarity. 17 * for clarity.
18 */ 18 */
19 [assert_size(4)] 19 [assert_size(4)]
20 enum PP_VideoDecoder_Profile { 20 enum PP_VideoDecoder_Profile {
21 PP_VIDEODECODER_H264PROFILE_NONE = 0, 21 PP_VIDEODECODER_H264PROFILE_NONE = 0,
22 PP_VIDEODECODER_H264PROFILE_BASELINE, 22 PP_VIDEODECODER_H264PROFILE_BASELINE = 1,
23 PP_VIDEODECODER_H264PROFILE_MAIN, 23 PP_VIDEODECODER_H264PROFILE_MAIN = 2,
24 PP_VIDEODECODER_H264PROFILE_EXTENDED, 24 PP_VIDEODECODER_H264PROFILE_EXTENDED = 3,
25 PP_VIDEODECODER_H264PROFILE_HIGH, 25 PP_VIDEODECODER_H264PROFILE_HIGH = 4,
26 PP_VIDEODECODER_H264PROFILE_HIGH10PROFILE, 26 PP_VIDEODECODER_H264PROFILE_HIGH10PROFILE = 5,
27 PP_VIDEODECODER_H264PROFILE_HIGH422PROFILE, 27 PP_VIDEODECODER_H264PROFILE_HIGH422PROFILE = 6,
28 PP_VIDEODECODER_H264PROFILE_HIGH444PREDICTIVEPROFILE, 28 PP_VIDEODECODER_H264PROFILE_HIGH444PREDICTIVEPROFILE = 7,
29 PP_VIDEODECODER_H264PROFILE_SCALABLEBASELINE, 29 PP_VIDEODECODER_H264PROFILE_SCALABLEBASELINE = 8,
30 PP_VIDEODECODER_H264PROFILE_SCALABLEHIGH, 30 PP_VIDEODECODER_H264PROFILE_SCALABLEHIGH = 9,
31 PP_VIDEODECODER_H264PROFILE_STEREOHIGH, 31 PP_VIDEODECODER_H264PROFILE_STEREOHIGH = 10,
32 PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH 32 PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH = 11
33 }; 33 };
34 34
35 /** 35 /**
36 * The data structure for video bitstream buffer. 36 * The data structure for video bitstream buffer.
37 */ 37 */
38 [assert_size(12)] 38 [assert_size(12)]
39 struct PP_VideoBitstreamBuffer_Dev { 39 struct PP_VideoBitstreamBuffer_Dev {
40 /** 40 /**
41 * Client-specified identifier for the bitstream buffer. 41 * Client-specified identifier for the bitstream buffer.
42 */ 42 */
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 [assert_size(4)] 101 [assert_size(4)]
102 enum PP_VideoDecodeError_Dev { 102 enum PP_VideoDecodeError_Dev {
103 /** 103 /**
104 * An operation was attempted during an incompatible decoder state. 104 * An operation was attempted during an incompatible decoder state.
105 */ 105 */
106 PP_VIDEODECODERERROR_ILLEGAL_STATE = 1, 106 PP_VIDEODECODERERROR_ILLEGAL_STATE = 1,
107 107
108 /** 108 /**
109 * Invalid argument was passed to an API method. 109 * Invalid argument was passed to an API method.
110 */ 110 */
111 PP_VIDEODECODERERROR_INVALID_ARGUMENT, 111 PP_VIDEODECODERERROR_INVALID_ARGUMENT = 2,
112 112
113 /** 113 /**
114 * Encoded input is unreadable. 114 * Encoded input is unreadable.
115 */ 115 */
116 PP_VIDEODECODERERROR_UNREADABLE_INPUT, 116 PP_VIDEODECODERERROR_UNREADABLE_INPUT = 3,
117 117
118 /** 118 /**
119 * A failure occurred at the browser layer or lower. Examples of such 119 * A failure occurred at the browser layer or lower. Examples of such
120 * failures include GPU hardware failures, GPU driver failures, GPU library 120 * failures include GPU hardware failures, GPU driver failures, GPU library
121 * failures, browser programming errors, and so on. 121 * failures, browser programming errors, and so on.
122 */ 122 */
123 PP_VIDEODECODERERROR_PLATFORM_FAILURE 123 PP_VIDEODECODERERROR_PLATFORM_FAILURE = 4
124 }; 124 };
OLDNEW
« no previous file with comments | « ppapi/api/dev/pp_video_capture_dev.idl ('k') | ppapi/api/dev/ppb_console_dev.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698