Index: ppapi/api/dev/pp_video_dev.idl |
diff --git a/ppapi/api/dev/pp_video_dev.idl b/ppapi/api/dev/pp_video_dev.idl |
index 1c70342effcf9a75ebca77bc56ce6d6dbce7ce19..f135c0665bbeef440e51741c9070e72882581009 100644 |
--- a/ppapi/api/dev/pp_video_dev.idl |
+++ b/ppapi/api/dev/pp_video_dev.idl |
@@ -14,7 +14,8 @@ |
* Keep the values in this enum unique, as they imply format (h.264 vs. VP8, |
* for example), and keep the values for a particular format grouped together |
* for clarity. |
- * Note: Keep these in sync with media::VideoCodecProfile. |
+ * Note: These are translated into media::VideoCodecProfile in |
+ * content/renderer/pepper/ppb_video_decoder_impl.cc, keep them in sync. |
*/ |
[assert_size(4)] |
enum PP_VideoDecoder_Profile { |
@@ -31,7 +32,13 @@ enum PP_VideoDecoder_Profile { |
PP_VIDEODECODER_H264PROFILE_SCALABLEHIGH = 9, |
PP_VIDEODECODER_H264PROFILE_STEREOHIGH = 10, |
PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH = 11, |
- PP_VIDEODECODER_VP8PROFILE_ANY = 12 |
+ PP_VIDEODECODER_VP8PROFILE_ANY = 12, |
+ PP_VIDEODECODER_VP9PROFILE_ANY = 13, |
+ // 4 profile values are reserved for VP9 profiles. |
+ // PP_VIDEODECODER_HEVCPROFILE_MAIN = VP9PROFILE_ANY + 4 |
+ PP_VIDEODECODER_HEVCPROFILE_MAIN = 17, |
+ PP_VIDEODECODER_HEVCPROFILE_MAIN10 = 18, |
+ PP_VIDEODECODER_HEVCPROFILE_MAIN_STILL_PICTURE = 19 |
}; |
/** |