| OLD | NEW |
| 1 /* Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2015 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_VideoEncoder</code> interface. | 7 * This file defines the <code>PPB_VideoEncoder</code> interface. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 [generate_thunk] | 10 [generate_thunk] |
| 11 | 11 |
| 12 label Chrome { | 12 label Chrome { |
| 13 M42 = 0.1 | 13 [channel=dev] M42 = 0.1 |
| 14 }; | 14 }; |
| 15 | 15 |
| 16 /** | 16 /** |
| 17 * Video encoder interface. | 17 * Video encoder interface. |
| 18 * | 18 * |
| 19 * Typical usage: | 19 * Typical usage: |
| 20 * - Call Create() to create a new video encoder resource. | 20 * - Call Create() to create a new video encoder resource. |
| 21 * - Call GetSupportedFormats() to determine which codecs and profiles are | 21 * - Call GetSupportedFormats() to determine which codecs and profiles are |
| 22 * available. | 22 * available. |
| 23 * - Call Initialize() to initialize the encoder for a supported profile. | 23 * - Call Initialize() to initialize the encoder for a supported profile. |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 * callbacks will still run, reporting <code>PP_ERROR_ABORTED</code> . It is | 221 * callbacks will still run, reporting <code>PP_ERROR_ABORTED</code> . It is |
| 222 * not valid to call any encoder functions after a call to this method. | 222 * not valid to call any encoder functions after a call to this method. |
| 223 * <strong>Note:</strong> Destroying the video encoder closes it implicitly, | 223 * <strong>Note:</strong> Destroying the video encoder closes it implicitly, |
| 224 * so you are not required to call Close(). | 224 * so you are not required to call Close(). |
| 225 * | 225 * |
| 226 * @param[in] video_encoder A <code>PP_Resource</code> identifying the video | 226 * @param[in] video_encoder A <code>PP_Resource</code> identifying the video |
| 227 * encoder. | 227 * encoder. |
| 228 */ | 228 */ |
| 229 void Close([in] PP_Resource video_encoder); | 229 void Close([in] PP_Resource video_encoder); |
| 230 }; | 230 }; |
| OLD | NEW |