| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 * NOTE: these must be kept in sync with the versions in media/! | 7 * NOTE: these must be kept in sync with the versions in media/! |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 | 46 |
| 47 /** | 47 /** |
| 48 * Buffer to hold the bitstream data. Should be allocated using the | 48 * Buffer to hold the bitstream data. Should be allocated using the |
| 49 * PPB_Buffer interface for consistent interprocess behaviour. | 49 * PPB_Buffer interface for consistent interprocess behaviour. |
| 50 */ | 50 */ |
| 51 PP_Resource data; | 51 PP_Resource data; |
| 52 | 52 |
| 53 /** | 53 /** |
| 54 * Size of the bitstream contained in buffer (in bytes). | 54 * Size of the bitstream contained in buffer (in bytes). |
| 55 */ | 55 */ |
| 56 int32_t size; | 56 uint32_t size; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 /** | 59 /** |
| 60 * Struct for specifying texture-backed picture data. | 60 * Struct for specifying texture-backed picture data. |
| 61 */ | 61 */ |
| 62 [assert_size(16)] | 62 [assert_size(16)] |
| 63 struct PP_PictureBuffer_Dev { | 63 struct PP_PictureBuffer_Dev { |
| 64 /** | 64 /** |
| 65 * Client-specified id for the picture buffer. By using this value client can | 65 * Client-specified id for the picture buffer. By using this value client can |
| 66 * keep track of the buffers it has assigned to the video decoder and how they | 66 * keep track of the buffers it has assigned to the video decoder and how they |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 */ | 117 */ |
| 118 PP_VIDEODECODERERROR_UNREADABLE_INPUT = 3, | 118 PP_VIDEODECODERERROR_UNREADABLE_INPUT = 3, |
| 119 | 119 |
| 120 /** | 120 /** |
| 121 * A failure occurred at the browser layer or lower. Examples of such | 121 * A failure occurred at the browser layer or lower. Examples of such |
| 122 * failures include GPU hardware failures, GPU driver failures, GPU library | 122 * failures include GPU hardware failures, GPU driver failures, GPU library |
| 123 * failures, browser programming errors, and so on. | 123 * failures, browser programming errors, and so on. |
| 124 */ | 124 */ |
| 125 PP_VIDEODECODERERROR_PLATFORM_FAILURE = 4 | 125 PP_VIDEODECODERERROR_PLATFORM_FAILURE = 4 |
| 126 }; | 126 }; |
| OLD | NEW |