Chromium Code Reviews| 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 /* From dev/pp_video_dev.idl modified Tue Apr 30 14:58:38 2013. */ | 6 /* From dev/pp_video_dev.idl modified Tue Apr 30 14:58:38 2013. */ |
|
ddorwin
2016/02/26 18:54:17
This should have been generated, not manually edit
servolk
2016/02/26 22:24:26
Ok, I've re-ran the PPAPI generator, but it looks
| |
| 7 | 7 |
| 8 #ifndef PPAPI_C_DEV_PP_VIDEO_DEV_H_ | 8 #ifndef PPAPI_C_DEV_PP_VIDEO_DEV_H_ |
| 9 #define PPAPI_C_DEV_PP_VIDEO_DEV_H_ | 9 #define PPAPI_C_DEV_PP_VIDEO_DEV_H_ |
| 10 | 10 |
| 11 #include "ppapi/c/pp_macros.h" | 11 #include "ppapi/c/pp_macros.h" |
| 12 #include "ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
| 13 #include "ppapi/c/pp_size.h" | 13 #include "ppapi/c/pp_size.h" |
| 14 #include "ppapi/c/pp_stdint.h" | 14 #include "ppapi/c/pp_stdint.h" |
| 15 | 15 |
| 16 /** | 16 /** |
| 17 * @file | 17 * @file |
| 18 * NOTE: these must be kept in sync with the versions in media/! | 18 * NOTE: these must be kept in sync with the versions in media/! |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 | 21 |
| 22 /** | 22 /** |
| 23 * @addtogroup Enums | 23 * @addtogroup Enums |
| 24 * @{ | 24 * @{ |
| 25 */ | 25 */ |
| 26 /** | 26 /** |
| 27 * Video format. | 27 * Video format. |
| 28 * | 28 * |
| 29 * Keep the values in this enum unique, as they imply format (h.264 vs. VP8, | 29 * Keep the values in this enum unique, as they imply format (h.264 vs. VP8, |
| 30 * for example), and keep the values for a particular format grouped together | 30 * for example), and keep the values for a particular format grouped together |
| 31 * for clarity. | 31 * for clarity. |
| 32 * Note: Keep these in sync with media::VideoCodecProfile. | 32 * Note: These are translated into media::VideoCodecProfile in |
| 33 * content/renderer/pepper/ppb_video_decoder_impl.cc, keep them in sync. | |
| 33 */ | 34 */ |
| 34 typedef enum { | 35 typedef enum { |
| 35 PP_VIDEODECODER_PROFILE_UNKNOWN = -1, | 36 PP_VIDEODECODER_PROFILE_UNKNOWN = -1, |
| 36 PP_VIDEODECODER_H264PROFILE_NONE = 0, | 37 PP_VIDEODECODER_H264PROFILE_NONE = 0, |
| 37 PP_VIDEODECODER_H264PROFILE_BASELINE = 1, | 38 PP_VIDEODECODER_H264PROFILE_BASELINE = 1, |
| 38 PP_VIDEODECODER_H264PROFILE_MAIN = 2, | 39 PP_VIDEODECODER_H264PROFILE_MAIN = 2, |
| 39 PP_VIDEODECODER_H264PROFILE_EXTENDED = 3, | 40 PP_VIDEODECODER_H264PROFILE_EXTENDED = 3, |
| 40 PP_VIDEODECODER_H264PROFILE_HIGH = 4, | 41 PP_VIDEODECODER_H264PROFILE_HIGH = 4, |
| 41 PP_VIDEODECODER_H264PROFILE_HIGH10PROFILE = 5, | 42 PP_VIDEODECODER_H264PROFILE_HIGH10PROFILE = 5, |
| 42 PP_VIDEODECODER_H264PROFILE_HIGH422PROFILE = 6, | 43 PP_VIDEODECODER_H264PROFILE_HIGH422PROFILE = 6, |
| 43 PP_VIDEODECODER_H264PROFILE_HIGH444PREDICTIVEPROFILE = 7, | 44 PP_VIDEODECODER_H264PROFILE_HIGH444PREDICTIVEPROFILE = 7, |
| 44 PP_VIDEODECODER_H264PROFILE_SCALABLEBASELINE = 8, | 45 PP_VIDEODECODER_H264PROFILE_SCALABLEBASELINE = 8, |
| 45 PP_VIDEODECODER_H264PROFILE_SCALABLEHIGH = 9, | 46 PP_VIDEODECODER_H264PROFILE_SCALABLEHIGH = 9, |
| 46 PP_VIDEODECODER_H264PROFILE_STEREOHIGH = 10, | 47 PP_VIDEODECODER_H264PROFILE_STEREOHIGH = 10, |
| 47 PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH = 11, | 48 PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH = 11, |
| 48 PP_VIDEODECODER_VP8PROFILE_ANY = 12 | 49 PP_VIDEODECODER_VP8PROFILE_ANY = 12, |
| 50 PP_VIDEODECODER_VP9PROFILE_ANY = 13, | |
| 51 PP_VIDEODECODER_HEVCPROFILE_MAIN = 14, | |
| 52 PP_VIDEODECODER_HEVCPROFILE_MAIN10 = 15, | |
| 53 PP_VIDEODECODER_HEVCPROFILE_MAIN_STILL_PICTURE = 16 | |
| 49 } PP_VideoDecoder_Profile; | 54 } PP_VideoDecoder_Profile; |
| 50 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecoder_Profile, 4); | 55 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecoder_Profile, 4); |
| 51 /** | 56 /** |
| 52 * @} | 57 * @} |
| 53 */ | 58 */ |
| 54 | 59 |
| 55 /** | 60 /** |
| 56 * @addtogroup Structs | 61 * @addtogroup Structs |
| 57 * @{ | 62 * @{ |
| 58 */ | 63 */ |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 144 */ | 149 */ |
| 145 PP_VIDEODECODERERROR_PLATFORM_FAILURE = 4 | 150 PP_VIDEODECODERERROR_PLATFORM_FAILURE = 4 |
| 146 } PP_VideoDecodeError_Dev; | 151 } PP_VideoDecodeError_Dev; |
| 147 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecodeError_Dev, 4); | 152 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecodeError_Dev, 4); |
| 148 /** | 153 /** |
| 149 * @} | 154 * @} |
| 150 */ | 155 */ |
| 151 | 156 |
| 152 #endif /* PPAPI_C_DEV_PP_VIDEO_DEV_H_ */ | 157 #endif /* PPAPI_C_DEV_PP_VIDEO_DEV_H_ */ |
| 153 | 158 |
| OLD | NEW |