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

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

Issue 10392141: Plumb texture target to VideoDecodeAccelerator::Client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 /** 6 /**
7 * NOTE: these must be kept in sync with the versions in media/! 7 * NOTE: these must be kept in sync with the versions in media/!
8 */ 8 */
9 9
10 10
(...skipping 17 matching lines...) Expand all
28 PP_VIDEODECODER_H264PROFILE_HIGH422PROFILE = 6, 28 PP_VIDEODECODER_H264PROFILE_HIGH422PROFILE = 6,
29 PP_VIDEODECODER_H264PROFILE_HIGH444PREDICTIVEPROFILE = 7, 29 PP_VIDEODECODER_H264PROFILE_HIGH444PREDICTIVEPROFILE = 7,
30 PP_VIDEODECODER_H264PROFILE_SCALABLEBASELINE = 8, 30 PP_VIDEODECODER_H264PROFILE_SCALABLEBASELINE = 8,
31 PP_VIDEODECODER_H264PROFILE_SCALABLEHIGH = 9, 31 PP_VIDEODECODER_H264PROFILE_SCALABLEHIGH = 9,
32 PP_VIDEODECODER_H264PROFILE_STEREOHIGH = 10, 32 PP_VIDEODECODER_H264PROFILE_STEREOHIGH = 10,
33 PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH = 11, 33 PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH = 11,
34 PP_VIDEODECODER_PROFILE_MAX = PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH 34 PP_VIDEODECODER_PROFILE_MAX = PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH
35 }; 35 };
36 36
37 /** 37 /**
38 * Texture target.
39 *
40 * This specifies the texture targets that the decoder might request.
41 * Note: Keep these in sync with media::VideoDecodeAccelerator::TextureTarget.
42 */
43 [assert_size(4)]
44 enum PP_VideoDecoder_TextureTarget_Dev {
45 PP_VIDEODECODER_TEXTURE_TARGET_2D = 0,
46 PP_VIDEODECODER_TEXTURE_TARGET_ARB = 1,
47 PP_VIDEODECODER_TEXTURE_TARGET_MAX = PP_VIDEODECODER_TEXTURE_TARGET_ARB
48 };
49
50 /**
38 * The data structure for video bitstream buffer. 51 * The data structure for video bitstream buffer.
39 */ 52 */
40 [assert_size(12)] 53 [assert_size(12)]
41 struct PP_VideoBitstreamBuffer_Dev { 54 struct PP_VideoBitstreamBuffer_Dev {
42 /** 55 /**
43 * Client-specified identifier for the bitstream buffer. 56 * Client-specified identifier for the bitstream buffer.
44 */ 57 */
45 int32_t id; 58 int32_t id;
46 59
47 /** 60 /**
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 */ 130 */
118 PP_VIDEODECODERERROR_UNREADABLE_INPUT = 3, 131 PP_VIDEODECODERERROR_UNREADABLE_INPUT = 3,
119 132
120 /** 133 /**
121 * A failure occurred at the browser layer or lower. Examples of such 134 * A failure occurred at the browser layer or lower. Examples of such
122 * failures include GPU hardware failures, GPU driver failures, GPU library 135 * failures include GPU hardware failures, GPU driver failures, GPU library
123 * failures, browser programming errors, and so on. 136 * failures, browser programming errors, and so on.
124 */ 137 */
125 PP_VIDEODECODERERROR_PLATFORM_FAILURE = 4 138 PP_VIDEODECODERERROR_PLATFORM_FAILURE = 4
126 }; 139 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698