summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hangyu Kuang <hkuang@google.com> 2016-04-09 05:11:43 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-04-09 05:11:43 +0000
commitcd582bb1180543d348a5ed412a64aa181fac638f (patch)
treee57e6f601a1a564e21487800f2233af0ef8c56b5
parentc6a607aa7ab96f6b1bac487cffd1899e1f1cdcf5 (diff)
parent19c6a8340c45343f2171d4ed0d51cab6d9d01a15 (diff)
Merge "media: update VP9 CodecProfileLevel" into nyc-dev
-rw-r--r--include/media/openmax/OMX_VideoExt.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/media/openmax/OMX_VideoExt.h b/include/media/openmax/OMX_VideoExt.h
index e11f5694c8..4bb5f9a084 100644
--- a/include/media/openmax/OMX_VideoExt.h
+++ b/include/media/openmax/OMX_VideoExt.h
@@ -77,10 +77,13 @@ typedef enum OMX_VIDEO_VP8LEVELTYPE {
/** VP9 profiles */
typedef enum OMX_VIDEO_VP9PROFILETYPE {
- OMX_VIDEO_VP9Profile0 = 0x0,
- OMX_VIDEO_VP9Profile1 = 0x1,
- OMX_VIDEO_VP9Profile2 = 0x2,
- OMX_VIDEO_VP9Profile3 = 0x3,
+ OMX_VIDEO_VP9Profile0 = 0x1,
+ OMX_VIDEO_VP9Profile1 = 0x2,
+ OMX_VIDEO_VP9Profile2 = 0x4,
+ OMX_VIDEO_VP9Profile3 = 0x8,
+ // HDR profiles also support passing HDR metadata
+ OMX_VIDEO_VP9Profile2HDR = 0x1000,
+ OMX_VIDEO_VP9Profile3HDR = 0x2000,
OMX_VIDEO_VP9ProfileUnknown = 0x6EFFFFFF,
OMX_VIDEO_VP9ProfileMax = 0x7FFFFFFF
} OMX_VIDEO_VP9PROFILETYPE;