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

Unified Diff: ppapi/c/dev/pp_video_dev.h

Issue 1677133003: Implemented parsing of HEVC codec ids (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@parse-codec-id
Patch Set: Better formatting in ppapi Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/c/dev/pp_video_dev.h
diff --git a/ppapi/c/dev/pp_video_dev.h b/ppapi/c/dev/pp_video_dev.h
index 75ee21a219dd46d201268663b79dc39668662d93..1efd1d2f35c54fac93cee1952e02b742feab6d77 100644
--- a/ppapi/c/dev/pp_video_dev.h
+++ b/ppapi/c/dev/pp_video_dev.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From dev/pp_video_dev.idl modified Tue Apr 30 14:58:38 2013. */
+/* From dev/pp_video_dev.idl modified Mon Feb 29 19:32:05 2016. */
#ifndef PPAPI_C_DEV_PP_VIDEO_DEV_H_
#define PPAPI_C_DEV_PP_VIDEO_DEV_H_
@@ -29,7 +29,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.
*/
typedef enum {
PP_VIDEODECODER_PROFILE_UNKNOWN = -1,
@@ -45,7 +46,13 @@ typedef enum {
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
} PP_VideoDecoder_Profile;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecoder_Profile, 4);
/**

Powered by Google App Engine
This is Rietveld 408576698