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

Side by Side Diff: ppapi/api/ppb_video_decoder.idl

Issue 1369203003: Promote PPB_VideoDecoder 1.1 to Stable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Corrected interface order in interfaces_ppb_public_stable.h Created 5 years, 2 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
« no previous file with comments | « content/renderer/pepper/pepper_video_decoder_host.cc ('k') | ppapi/c/ppb_video_decoder.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) 2014 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2014 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 * This file defines the <code>PPB_VideoDecoder</code> interface. 7 * This file defines the <code>PPB_VideoDecoder</code> interface.
8 */ 8 */
9 9
10 [generate_thunk] 10 [generate_thunk]
11 11
12 label Chrome { 12 label Chrome {
13 /** Though not labeled 'channel=dev', 0.1 is a still a 'Dev' only API. */ 13 /** Though not labeled 'channel=dev', 0.1 is a still a 'Dev' only API. */
14 M36 = 0.1, 14 M36 = 0.1,
15 M39 = 0.2, 15 M39 = 0.2,
16 M40 = 1.0, 16 M40 = 1.0,
17 [channel=dev] M46 = 1.1 17 M46 = 1.1
18 }; 18 };
19 19
20 /** 20 /**
21 * Video decoder interface. 21 * Video decoder interface.
22 * 22 *
23 * Typical usage: 23 * Typical usage:
24 * - Call Create() to create a new video decoder resource. 24 * - Call Create() to create a new video decoder resource.
25 * - Call Initialize() to initialize it with a 3d graphics context and the 25 * - Call Initialize() to initialize it with a 3d graphics context and the
26 * desired codec profile. 26 * desired codec profile.
27 * - Call Decode() continuously (waiting for each previous call to complete) to 27 * - Call Decode() continuously (waiting for each previous call to complete) to
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 * @param[in] callback A <code>PP_CompletionCallback</code> to be called on 303 * @param[in] callback A <code>PP_CompletionCallback</code> to be called on
304 * completion. 304 * completion.
305 * 305 *
306 * @return An int32_t containing an error code from <code>pp_errors.h</code>. 306 * @return An int32_t containing an error code from <code>pp_errors.h</code>.
307 * Returns PP_ERROR_FAILED if the decoder isn't initialized. 307 * Returns PP_ERROR_FAILED if the decoder isn't initialized.
308 */ 308 */
309 int32_t Reset( 309 int32_t Reset(
310 [in] PP_Resource video_decoder, 310 [in] PP_Resource video_decoder,
311 [in] PP_CompletionCallback callback); 311 [in] PP_CompletionCallback callback);
312 }; 312 };
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_video_decoder_host.cc ('k') | ppapi/c/ppb_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698