diff options
author | Vaibhav Deshu Venkatesh <vdeshuve@codeaurora.org> | 2017-08-18 16:30:32 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-08-22 17:20:02 -0700 |
commit | 6828cd93e266f4407a8035efb8d08ea049f6c31f (patch) | |
tree | 0933c98daee00bc558e129fa9f43cdfdf8d80469 /mm-core | |
parent | 4725bf6cf339c683347c75ad692ae756979e2cba (diff) | |
download | media-6828cd93e266f4407a8035efb8d08ea049f6c31f.tar.gz |
mm-video-v4l2: vdec: VP9 profile/level query capabilities
Add support to query VP9 profile/levels supported by
decoder.
CRs-Fixed: 2094617
Change-Id: I231e32b210e3e53e5d55cfad915734e624443fe8
Diffstat (limited to 'mm-core')
-rw-r--r-- | mm-core/inc/OMX_VideoExt.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/mm-core/inc/OMX_VideoExt.h b/mm-core/inc/OMX_VideoExt.h index 87ab111b..a01d5d5b 100644 --- a/mm-core/inc/OMX_VideoExt.h +++ b/mm-core/inc/OMX_VideoExt.h @@ -108,6 +108,39 @@ typedef struct OMX_VIDEO_VP8REFERENCEFRAMEINFOTYPE { OMX_BOOL bIsGoldenOrAlternateFrame; } OMX_VIDEO_VP8REFERENCEFRAMEINFOTYPE; +/** VP9 profiles */ +typedef enum OMX_VIDEO_VP9PROFILETYPE { + 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; + +/** VP9 levels */ +typedef enum OMX_VIDEO_VP9LEVELTYPE { + OMX_VIDEO_VP9Level1 = 0x0, + OMX_VIDEO_VP9Level11 = 0x1, + OMX_VIDEO_VP9Level2 = 0x2, + OMX_VIDEO_VP9Level21 = 0x4, + OMX_VIDEO_VP9Level3 = 0x8, + OMX_VIDEO_VP9Level31 = 0x10, + OMX_VIDEO_VP9Level4 = 0x20, + OMX_VIDEO_VP9Level41 = 0x40, + OMX_VIDEO_VP9Level5 = 0x80, + OMX_VIDEO_VP9Level51 = 0x100, + OMX_VIDEO_VP9Level52 = 0x200, + OMX_VIDEO_VP9Level6 = 0x400, + OMX_VIDEO_VP9Level61 = 0x800, + OMX_VIDEO_VP9Level62 = 0x1000, + OMX_VIDEO_VP9LevelUnknown = 0x6EFFFFFF, + OMX_VIDEO_VP9LevelMax = 0x7FFFFFFF +} OMX_VIDEO_VP9LEVELTYPE; + /** HEVC Profiles */ typedef enum OMX_VIDEO_HEVCPROFILETYPE { OMX_VIDEO_HEVCProfileMain = 0x01, |