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

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

Issue 6893022: Add version-specific defines for each C interface. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
« no previous file with comments | « ppapi/c/dev/ppb_var_deprecated.h ('k') | ppapi/c/dev/ppb_widget_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 #ifndef PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_ 5 #ifndef PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_
6 #define PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_ 6 #define PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_
7 7
8 #include "ppapi/c/dev/pp_video_dev.h" 8 #include "ppapi/c/dev/pp_video_dev.h"
9 #include "ppapi/c/pp_completion_callback.h" 9 #include "ppapi/c/pp_completion_callback.h"
10 #include "ppapi/c/pp_var.h" 10 #include "ppapi/c/pp_var.h"
11 11
12 #define PPB_VIDEODECODER_DEV_INTERFACE "PPB_VideoDecoder(Dev);0.5" 12 #define PPB_VIDEODECODER_DEV_INTERFACE_0_5 "PPB_VideoDecoder(Dev);0.5"
13 #define PPB_VIDEODECODER_DEV_INTERFACE PPB_VIDEODECODER_DEV_INTERFACE_0_5
13 14
14 // Video decoder interface. 15 // Video decoder interface.
15 // 16 //
16 // Basic usage: 17 // Basic usage:
17 // 1. Use GetConfigs() to query potential configurations. Configuration 18 // 1. Use GetConfigs() to query potential configurations. Configuration
18 // information includes: 19 // information includes:
19 // a. Bitstream format. 20 // a. Bitstream format.
20 // b. Output picture format. 21 // b. Output picture format.
21 // c. Output picture buffer storage type. 22 // c. Output picture buffer storage type.
22 // 2. Select configuration that suits you and Create() the decoder with the 23 // 2. Select configuration that suits you and Create() the decoder with the
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 // |callback| is one-time callback that will be called once the abortion 193 // |callback| is one-time callback that will be called once the abortion
193 // request has been completed. 194 // request has been completed.
194 // 195 //
195 // Returns PP_TRUE on acceptance of abort request and PP_FALSE if request to 196 // Returns PP_TRUE on acceptance of abort request and PP_FALSE if request to
196 // abort is rejected by the decoder. 197 // abort is rejected by the decoder.
197 PP_Bool (*Abort)(PP_Resource video_decoder, 198 PP_Bool (*Abort)(PP_Resource video_decoder,
198 struct PP_CompletionCallback callback); 199 struct PP_CompletionCallback callback);
199 }; 200 };
200 201
201 #endif /* PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_ */ 202 #endif /* PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_ */
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_var_deprecated.h ('k') | ppapi/c/dev/ppb_widget_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698