| 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 15 matching lines...) Expand all Loading... |
| 26 PP_VIDEODECODER_H264PROFILE_EXTENDED = 3, | 26 PP_VIDEODECODER_H264PROFILE_EXTENDED = 3, |
| 27 PP_VIDEODECODER_H264PROFILE_HIGH = 4, | 27 PP_VIDEODECODER_H264PROFILE_HIGH = 4, |
| 28 PP_VIDEODECODER_H264PROFILE_HIGH10PROFILE = 5, | 28 PP_VIDEODECODER_H264PROFILE_HIGH10PROFILE = 5, |
| 29 PP_VIDEODECODER_H264PROFILE_HIGH422PROFILE = 6, | 29 PP_VIDEODECODER_H264PROFILE_HIGH422PROFILE = 6, |
| 30 PP_VIDEODECODER_H264PROFILE_HIGH444PREDICTIVEPROFILE = 7, | 30 PP_VIDEODECODER_H264PROFILE_HIGH444PREDICTIVEPROFILE = 7, |
| 31 PP_VIDEODECODER_H264PROFILE_SCALABLEBASELINE = 8, | 31 PP_VIDEODECODER_H264PROFILE_SCALABLEBASELINE = 8, |
| 32 PP_VIDEODECODER_H264PROFILE_SCALABLEHIGH = 9, | 32 PP_VIDEODECODER_H264PROFILE_SCALABLEHIGH = 9, |
| 33 PP_VIDEODECODER_H264PROFILE_STEREOHIGH = 10, | 33 PP_VIDEODECODER_H264PROFILE_STEREOHIGH = 10, |
| 34 PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH = 11, | 34 PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH = 11, |
| 35 PP_VIDEODECODER_VP8PROFILE_ANY = 12, | 35 PP_VIDEODECODER_VP8PROFILE_ANY = 12, |
| 36 PP_VIDEODECODER_VP9PROFILE_ANY = 13, | 36 PP_VIDEODECODER_VP9PROFILE_PROFILE0 = 13, |
| 37 // 4 profile values are reserved for VP9 profiles. | 37 PP_VIDEODECODER_VP9PROFILE_PROFILE1 = 14, |
| 38 // PP_VIDEODECODER_HEVCPROFILE_MAIN = VP9PROFILE_ANY + 4 | 38 PP_VIDEODECODER_VP9PROFILE_PROFILE2 = 15, |
| 39 PP_VIDEODECODER_VP9PROFILE_PROFILE3 = 16, |
| 39 PP_VIDEODECODER_HEVCPROFILE_MAIN = 17, | 40 PP_VIDEODECODER_HEVCPROFILE_MAIN = 17, |
| 40 PP_VIDEODECODER_HEVCPROFILE_MAIN10 = 18, | 41 PP_VIDEODECODER_HEVCPROFILE_MAIN10 = 18, |
| 41 PP_VIDEODECODER_HEVCPROFILE_MAIN_STILL_PICTURE = 19 | 42 PP_VIDEODECODER_HEVCPROFILE_MAIN_STILL_PICTURE = 19 |
| 42 }; | 43 }; |
| 43 | 44 |
| 44 /** | 45 /** |
| 45 * The data structure for video bitstream buffer. | 46 * The data structure for video bitstream buffer. |
| 46 */ | 47 */ |
| 47 [assert_size(12)] | 48 [assert_size(12)] |
| 48 struct PP_VideoBitstreamBuffer_Dev { | 49 struct PP_VideoBitstreamBuffer_Dev { |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 */ | 125 */ |
| 125 PP_VIDEODECODERERROR_UNREADABLE_INPUT = 3, | 126 PP_VIDEODECODERERROR_UNREADABLE_INPUT = 3, |
| 126 | 127 |
| 127 /** | 128 /** |
| 128 * A failure occurred at the browser layer or lower. Examples of such | 129 * A failure occurred at the browser layer or lower. Examples of such |
| 129 * failures include GPU hardware failures, GPU driver failures, GPU library | 130 * failures include GPU hardware failures, GPU driver failures, GPU library |
| 130 * failures, browser programming errors, and so on. | 131 * failures, browser programming errors, and so on. |
| 131 */ | 132 */ |
| 132 PP_VIDEODECODERERROR_PLATFORM_FAILURE = 4 | 133 PP_VIDEODECODERERROR_PLATFORM_FAILURE = 4 |
| 133 }; | 134 }; |
| OLD | NEW |