| OLD | NEW |
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 #ifndef PPAPI_C_DEV_PP_VIDEO_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PP_VIDEO_DEV_H_ |
| 6 #define PPAPI_C_DEV_PP_VIDEO_DEV_H_ | 6 #define PPAPI_C_DEV_PP_VIDEO_DEV_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/dev/ppb_opengles_dev.h" |
| 8 #include "ppapi/c/pp_bool.h" | 9 #include "ppapi/c/pp_bool.h" |
| 9 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| 10 #include "ppapi/c/pp_macros.h" | 11 #include "ppapi/c/pp_macros.h" |
| 11 #include "ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
| 12 #include "ppapi/c/pp_size.h" | 13 #include "ppapi/c/pp_size.h" |
| 13 #include "ppapi/c/pp_stdint.h" | 14 #include "ppapi/c/pp_stdint.h" |
| 14 #include "ppapi/c/ppb_opengles.h" | |
| 15 | 15 |
| 16 // Video decoder configuration-related enums. | 16 // Video decoder configuration-related enums. |
| 17 | 17 |
| 18 // NOTE: these must be kept in sync with the versions in | 18 // NOTE: these must be kept in sync with the versions in |
| 19 // media/video/video_decode_accelerator.h! | 19 // media/video/video_decode_accelerator.h! |
| 20 | 20 |
| 21 // Video stream profile. | 21 // Video stream profile. |
| 22 enum PP_VideoDecoder_Profile { | 22 enum PP_VideoDecoder_Profile { |
| 23 // Keep the values in this enum unique, as they imply format (h.264 vs. VP8, | 23 // Keep the values in this enum unique, as they imply format (h.264 vs. VP8, |
| 24 // for example), and keep the values for a particular format grouped together | 24 // for example), and keep the values for a particular format grouped together |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // Encoded input is unreadable. | 84 // Encoded input is unreadable. |
| 85 PP_VIDEODECODERERROR_UNREADABLE_INPUT, | 85 PP_VIDEODECODERERROR_UNREADABLE_INPUT, |
| 86 // A failure occurred at the browser layer or lower. Examples of such | 86 // A failure occurred at the browser layer or lower. Examples of such |
| 87 // failures include GPU hardware failures, GPU driver failures, GPU library | 87 // failures include GPU hardware failures, GPU driver failures, GPU library |
| 88 // failures, browser programming errors, and so on. | 88 // failures, browser programming errors, and so on. |
| 89 PP_VIDEODECODERERROR_PLATFORM_FAILURE | 89 PP_VIDEODECODERERROR_PLATFORM_FAILURE |
| 90 }; | 90 }; |
| 91 PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(PP_VideoDecodeError_Dev, 4); | 91 PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(PP_VideoDecodeError_Dev, 4); |
| 92 | 92 |
| 93 #endif /* PPAPI_C_DEV_PP_VIDEO_DEV_H_ */ | 93 #endif /* PPAPI_C_DEV_PP_VIDEO_DEV_H_ */ |
| OLD | NEW |