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

Side by Side Diff: ppapi/c/dev/pp_video_dev.h

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 /* From dev/pp_video_dev.idl modified Wed Dec 14 18:08:00 2011. */ 6 /* From dev/pp_video_dev.idl modified Wed May 16 21:58:55 2012. */
7 7
8 #ifndef PPAPI_C_DEV_PP_VIDEO_DEV_H_ 8 #ifndef PPAPI_C_DEV_PP_VIDEO_DEV_H_
9 #define PPAPI_C_DEV_PP_VIDEO_DEV_H_ 9 #define PPAPI_C_DEV_PP_VIDEO_DEV_H_
10 10
11 #include "ppapi/c/pp_macros.h" 11 #include "ppapi/c/pp_macros.h"
12 #include "ppapi/c/pp_resource.h" 12 #include "ppapi/c/pp_resource.h"
13 #include "ppapi/c/pp_size.h" 13 #include "ppapi/c/pp_size.h"
14 #include "ppapi/c/pp_stdint.h" 14 #include "ppapi/c/pp_stdint.h"
15 15
16 /** 16 /**
(...skipping 24 matching lines...) Expand all
41 PP_VIDEODECODER_H264PROFILE_HIGH10PROFILE = 5, 41 PP_VIDEODECODER_H264PROFILE_HIGH10PROFILE = 5,
42 PP_VIDEODECODER_H264PROFILE_HIGH422PROFILE = 6, 42 PP_VIDEODECODER_H264PROFILE_HIGH422PROFILE = 6,
43 PP_VIDEODECODER_H264PROFILE_HIGH444PREDICTIVEPROFILE = 7, 43 PP_VIDEODECODER_H264PROFILE_HIGH444PREDICTIVEPROFILE = 7,
44 PP_VIDEODECODER_H264PROFILE_SCALABLEBASELINE = 8, 44 PP_VIDEODECODER_H264PROFILE_SCALABLEBASELINE = 8,
45 PP_VIDEODECODER_H264PROFILE_SCALABLEHIGH = 9, 45 PP_VIDEODECODER_H264PROFILE_SCALABLEHIGH = 9,
46 PP_VIDEODECODER_H264PROFILE_STEREOHIGH = 10, 46 PP_VIDEODECODER_H264PROFILE_STEREOHIGH = 10,
47 PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH = 11, 47 PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH = 11,
48 PP_VIDEODECODER_PROFILE_MAX = PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH 48 PP_VIDEODECODER_PROFILE_MAX = PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH
49 } PP_VideoDecoder_Profile; 49 } PP_VideoDecoder_Profile;
50 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecoder_Profile, 4); 50 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecoder_Profile, 4);
51
52 /**
53 * Texture target.
54 *
55 * This specifies the texture targets that the decoder might request.
56 * Note: Keep these in sync with media::VideoDecodeAccelerator::TextureTarget.
57 */
58 typedef enum {
59 PP_VIDEODECODER_TEXTURE_TARGET_2D = 0,
60 PP_VIDEODECODER_TEXTURE_TARGET_ARB = 1,
61 PP_VIDEODECODER_TEXTURE_TARGET_MAX = PP_VIDEODECODER_TEXTURE_TARGET_ARB
62 } PP_VideoDecoder_TextureTarget_Dev;
63 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecoder_TextureTarget_Dev, 4);
51 /** 64 /**
52 * @} 65 * @}
53 */ 66 */
54 67
55 /** 68 /**
56 * @addtogroup Structs 69 * @addtogroup Structs
57 * @{ 70 * @{
58 */ 71 */
59 /** 72 /**
60 * The data structure for video bitstream buffer. 73 * The data structure for video bitstream buffer.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 */ 157 */
145 PP_VIDEODECODERERROR_PLATFORM_FAILURE = 4 158 PP_VIDEODECODERERROR_PLATFORM_FAILURE = 4
146 } PP_VideoDecodeError_Dev; 159 } PP_VideoDecodeError_Dev;
147 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecodeError_Dev, 4); 160 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecodeError_Dev, 4);
148 /** 161 /**
149 * @} 162 * @}
150 */ 163 */
151 164
152 #endif /* PPAPI_C_DEV_PP_VIDEO_DEV_H_ */ 165 #endif /* PPAPI_C_DEV_PP_VIDEO_DEV_H_ */
153 166
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698