Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: ppapi/c/dev/pp_video_dev.h

Issue 1769593002: Add 4 VP9 profiles to the media::VideoCodecProfile enum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hevc-codec-7
Patch Set: Better TODOs Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 Mon Feb 29 19:32:05 2016. */ 6 /* From dev/pp_video_dev.idl modified Fri Mar 4 10:36:06 2016. */
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 /**
(...skipping 23 matching lines...) Expand all
40 PP_VIDEODECODER_H264PROFILE_EXTENDED = 3, 40 PP_VIDEODECODER_H264PROFILE_EXTENDED = 3,
41 PP_VIDEODECODER_H264PROFILE_HIGH = 4, 41 PP_VIDEODECODER_H264PROFILE_HIGH = 4,
42 PP_VIDEODECODER_H264PROFILE_HIGH10PROFILE = 5, 42 PP_VIDEODECODER_H264PROFILE_HIGH10PROFILE = 5,
43 PP_VIDEODECODER_H264PROFILE_HIGH422PROFILE = 6, 43 PP_VIDEODECODER_H264PROFILE_HIGH422PROFILE = 6,
44 PP_VIDEODECODER_H264PROFILE_HIGH444PREDICTIVEPROFILE = 7, 44 PP_VIDEODECODER_H264PROFILE_HIGH444PREDICTIVEPROFILE = 7,
45 PP_VIDEODECODER_H264PROFILE_SCALABLEBASELINE = 8, 45 PP_VIDEODECODER_H264PROFILE_SCALABLEBASELINE = 8,
46 PP_VIDEODECODER_H264PROFILE_SCALABLEHIGH = 9, 46 PP_VIDEODECODER_H264PROFILE_SCALABLEHIGH = 9,
47 PP_VIDEODECODER_H264PROFILE_STEREOHIGH = 10, 47 PP_VIDEODECODER_H264PROFILE_STEREOHIGH = 10,
48 PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH = 11, 48 PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH = 11,
49 PP_VIDEODECODER_VP8PROFILE_ANY = 12, 49 PP_VIDEODECODER_VP8PROFILE_ANY = 12,
50 PP_VIDEODECODER_VP9PROFILE_ANY = 13, 50 PP_VIDEODECODER_VP9PROFILE_PROFILE0 = 13,
51 /* 4 profile values are reserved for VP9 profiles. 51 PP_VIDEODECODER_VP9PROFILE_PROFILE1 = 14,
52 * PP_VIDEODECODER_HEVCPROFILE_MAIN = VP9PROFILE_ANY + 4 */ 52 PP_VIDEODECODER_VP9PROFILE_PROFILE2 = 15,
53 PP_VIDEODECODER_VP9PROFILE_PROFILE3 = 16,
53 PP_VIDEODECODER_HEVCPROFILE_MAIN = 17, 54 PP_VIDEODECODER_HEVCPROFILE_MAIN = 17,
54 PP_VIDEODECODER_HEVCPROFILE_MAIN10 = 18, 55 PP_VIDEODECODER_HEVCPROFILE_MAIN10 = 18,
55 PP_VIDEODECODER_HEVCPROFILE_MAIN_STILL_PICTURE = 19 56 PP_VIDEODECODER_HEVCPROFILE_MAIN_STILL_PICTURE = 19
56 } PP_VideoDecoder_Profile; 57 } PP_VideoDecoder_Profile;
57 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecoder_Profile, 4); 58 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecoder_Profile, 4);
58 /** 59 /**
59 * @} 60 * @}
60 */ 61 */
61 62
62 /** 63 /**
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 */ 152 */
152 PP_VIDEODECODERERROR_PLATFORM_FAILURE = 4 153 PP_VIDEODECODERERROR_PLATFORM_FAILURE = 4
153 } PP_VideoDecodeError_Dev; 154 } PP_VideoDecodeError_Dev;
154 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecodeError_Dev, 4); 155 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecodeError_Dev, 4);
155 /** 156 /**
156 * @} 157 * @}
157 */ 158 */
158 159
159 #endif /* PPAPI_C_DEV_PP_VIDEO_DEV_H_ */ 160 #endif /* PPAPI_C_DEV_PP_VIDEO_DEV_H_ */
160 161
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698