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

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

Issue 8676042: Remove Context3D/Surface3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style Created 9 years 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/c/dev/ppb_surface_3d_dev.h ('k') | ppapi/c/dev/ppb_video_layer_dev.h » ('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 /* From dev/ppb_video_decoder_dev.idl modified Wed Oct 5 09:00:09 2011. */ 6 /* From dev/ppb_video_decoder_dev.idl modified Tue Nov 29 11:27:39 2011. */
7 7
8 #ifndef PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_ 8 #ifndef PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_
9 #define PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_ 9 #define PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_
10 10
11 #include "ppapi/c/dev/pp_video_dev.h" 11 #include "ppapi/c/dev/pp_video_dev.h"
12 #include "ppapi/c/pp_bool.h" 12 #include "ppapi/c/pp_bool.h"
13 #include "ppapi/c/pp_completion_callback.h" 13 #include "ppapi/c/pp_completion_callback.h"
14 #include "ppapi/c/pp_instance.h" 14 #include "ppapi/c/pp_instance.h"
15 #include "ppapi/c/pp_macros.h" 15 #include "ppapi/c/pp_macros.h"
16 #include "ppapi/c/pp_resource.h" 16 #include "ppapi/c/pp_resource.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 * 48 *
49 * See PPP_VideoDecoder_Dev for the notifications the decoder may send the 49 * See PPP_VideoDecoder_Dev for the notifications the decoder may send the
50 * plugin. 50 * plugin.
51 */ 51 */
52 struct PPB_VideoDecoder_Dev { 52 struct PPB_VideoDecoder_Dev {
53 /** 53 /**
54 * Creates & initializes a video decoder. 54 * Creates & initializes a video decoder.
55 * 55 *
56 * Parameters: 56 * Parameters:
57 * |instance| pointer to the plugin instance. 57 * |instance| pointer to the plugin instance.
58 * |context_3d| a PPB_Context3D_Dev resource in which decoding will happen. 58 * |context| a PPB_Graphics3D resource in which decoding will happen.
59 * |profile| the video stream's format profile. 59 * |profile| the video stream's format profile.
60 * 60 *
61 * The created decoder is returned as PP_Resource. 0 means failure. 61 * The created decoder is returned as PP_Resource. 0 means failure.
62 */ 62 */
63 PP_Resource (*Create)(PP_Instance instance, 63 PP_Resource (*Create)(PP_Instance instance,
64 PP_Resource context, 64 PP_Resource context,
65 PP_VideoDecoder_Profile profile); 65 PP_VideoDecoder_Profile profile);
66 /** 66 /**
67 * Tests whether |resource| is a video decoder created through Create 67 * Tests whether |resource| is a video decoder created through Create
68 * function of this interface. 68 * function of this interface.
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 * |video_decoder| is the previously created handle to the decoder resource. 156 * |video_decoder| is the previously created handle to the decoder resource.
157 */ 157 */
158 void (*Destroy)(PP_Resource video_decoder); 158 void (*Destroy)(PP_Resource video_decoder);
159 }; 159 };
160 /** 160 /**
161 * @} 161 * @}
162 */ 162 */
163 163
164 #endif /* PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_ */ 164 #endif /* PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_ */
165 165
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_surface_3d_dev.h ('k') | ppapi/c/dev/ppb_video_layer_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698