OLD | NEW |
---|---|
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 [channel=dev] M36 = 0.1, | 13 /** Though not labeled 'channel=dev', 0.1 is a still a 'Dev' only API. */ |
dmichael (off chromium)
2014/09/10 20:11:13
Just adding more detail from offline discussions f
| |
14 [channel=dev] M39 = 0.2 | 14 M36 = 0.1, |
15 M39 = 0.2 | |
15 }; | 16 }; |
16 | 17 |
17 /** | 18 /** |
18 * Video decoder interface. | 19 * Video decoder interface. |
19 * | 20 * |
20 * Typical usage: | 21 * Typical usage: |
21 * - Call Create() to create a new video decoder resource. | 22 * - Call Create() to create a new video decoder resource. |
22 * - Call Initialize() to initialize it with a 3d graphics context and the | 23 * - Call Initialize() to initialize it with a 3d graphics context and the |
23 * desired codec profile. | 24 * desired codec profile. |
24 * - Call Decode() continuously (waiting for each previous call to complete) to | 25 * - Call Decode() continuously (waiting for each previous call to complete) to |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
236 * @param[in] callback A <code>PP_CompletionCallback</code> to be called on | 237 * @param[in] callback A <code>PP_CompletionCallback</code> to be called on |
237 * completion. | 238 * completion. |
238 * | 239 * |
239 * @return An int32_t containing an error code from <code>pp_errors.h</code>. | 240 * @return An int32_t containing an error code from <code>pp_errors.h</code>. |
240 * Returns PP_ERROR_FAILED if the decoder isn't initialized. | 241 * Returns PP_ERROR_FAILED if the decoder isn't initialized. |
241 */ | 242 */ |
242 int32_t Reset( | 243 int32_t Reset( |
243 [in] PP_Resource video_decoder, | 244 [in] PP_Resource video_decoder, |
244 [in] PP_CompletionCallback callback); | 245 [in] PP_CompletionCallback callback); |
245 }; | 246 }; |
OLD | NEW |