1203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/*
2203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * Copyright (c) 2010 The Khronos Group Inc.
3203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin *
4203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * Permission is hereby granted, free of charge, to any person obtaining
5203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * a copy of this software and associated documentation files (the
6203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * "Software"), to deal in the Software without restriction, including
7203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * without limitation the rights to use, copy, modify, merge, publish,
8203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * distribute, sublicense, and/or sell copies of the Software, and to
9203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * permit persons to whom the Software is furnished to do so, subject
10203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * to the following conditions:
11203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * The above copyright notice and this permission notice shall be included
12203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * in all copies or substantial portions of the Software.
13203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin *
14203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin *
22203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin */
23203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
24203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/** OMX_VideoExt.h - OpenMax IL version 1.1.2
25203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * The OMX_VideoExt header file contains extensions to the
26203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * definitions used by both the application and the component to
27203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * access video items.
28203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin */
29203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
30203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#ifndef OMX_VideoExt_h
31203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#define OMX_VideoExt_h
32203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
33203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#ifdef __cplusplus
34203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekinextern "C" {
35203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#endif /* __cplusplus */
36203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
37203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/* Each OMX header shall include all required header files to allow the
38203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * header to compile without errors.  The includes below are required
39203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * for this header file to compile successfully
40203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin */
41203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#include <OMX_Core.h>
42203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
43203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/** NALU Formats */
44203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekintypedef enum OMX_NALUFORMATSTYPE {
45203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_NaluFormatStartCodes = 1,
46203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_NaluFormatOneNaluPerBuffer = 2,
47203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_NaluFormatOneByteInterleaveLength = 4,
48203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_NaluFormatTwoByteInterleaveLength = 8,
49203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_NaluFormatFourByteInterleaveLength = 16,
50203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_NaluFormatCodingMax = 0x7FFFFFFF
51203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin} OMX_NALUFORMATSTYPE;
52203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
53203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/** NAL Stream Format */
54203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekintypedef struct OMX_NALSTREAMFORMATTYPE{
55203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_U32 nSize;
56203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_VERSIONTYPE nVersion;
57203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_U32 nPortIndex;
58203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_NALUFORMATSTYPE eNaluFormat;
59203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin} OMX_NALSTREAMFORMATTYPE;
60203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
61203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/** VP8 profiles */
62203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekintypedef enum OMX_VIDEO_VP8PROFILETYPE {
63203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_VIDEO_VP8ProfileMain = 0x01,
64203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_VIDEO_VP8ProfileUnknown = 0x6EFFFFFF,
65203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_VIDEO_VP8ProfileMax = 0x7FFFFFFF
66203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin} OMX_VIDEO_VP8PROFILETYPE;
67203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
68203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/** VP8 levels */
69203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekintypedef enum OMX_VIDEO_VP8LEVELTYPE {
70203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_VIDEO_VP8Level_Version0 = 0x01,
71203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_VIDEO_VP8Level_Version1 = 0x02,
72203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_VIDEO_VP8Level_Version2 = 0x04,
73203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_VIDEO_VP8Level_Version3 = 0x08,
74203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_VIDEO_VP8LevelUnknown = 0x6EFFFFFF,
75203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_VIDEO_VP8LevelMax = 0x7FFFFFFF
76203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin} OMX_VIDEO_VP8LEVELTYPE;
77203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
78203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/** VP8 Param */
79203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekintypedef struct OMX_VIDEO_PARAM_VP8TYPE {
80203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_U32 nSize;
81203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_VERSIONTYPE nVersion;
82203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_U32 nPortIndex;
83203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_VIDEO_VP8PROFILETYPE eProfile;
84203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_VIDEO_VP8LEVELTYPE eLevel;
85203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_U32 nDCTPartitions;
86203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_BOOL bErrorResilientMode;
87203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin} OMX_VIDEO_PARAM_VP8TYPE;
88203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
89203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/** Structure for configuring VP8 reference frames */
90203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekintypedef struct OMX_VIDEO_VP8REFERENCEFRAMETYPE {
91203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_U32 nSize;
92203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_VERSIONTYPE nVersion;
93203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_U32 nPortIndex;
94203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_BOOL bPreviousFrameRefresh;
95203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_BOOL bGoldenFrameRefresh;
96203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_BOOL bAlternateFrameRefresh;
97203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_BOOL bUsePreviousFrame;
98203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_BOOL bUseGoldenFrame;
99203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_BOOL bUseAlternateFrame;
100203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin} OMX_VIDEO_VP8REFERENCEFRAMETYPE;
101203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
102203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/** Structure for querying VP8 reference frame type */
103203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekintypedef struct OMX_VIDEO_VP8REFERENCEFRAMEINFOTYPE {
104203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_U32 nSize;
105203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_VERSIONTYPE nVersion;
106203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_U32 nPortIndex;
107203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_BOOL bIsIntraFrame;
108203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_BOOL bIsGoldenOrAlternateFrame;
109203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin} OMX_VIDEO_VP8REFERENCEFRAMEINFOTYPE;
110203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
1115b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev/** Maximum number of VP8 temporal layers */
1125b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev#define OMX_VIDEO_ANDROID_MAXVP8TEMPORALLAYERS 3
1135b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev
1145b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev/** VP8 temporal layer patterns */
1155b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznevtypedef enum OMX_VIDEO_ANDROID_VPXTEMPORALLAYERPATTERNTYPE {
1165b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev    OMX_VIDEO_VPXTemporalLayerPatternNone = 0,
1175b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev    OMX_VIDEO_VPXTemporalLayerPatternWebRTC = 1,
1185b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev    OMX_VIDEO_VPXTemporalLayerPatternMax = 0x7FFFFFFF
1195b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev} OMX_VIDEO_ANDROID_VPXTEMPORALLAYERPATTERNTYPE;
1205b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev
1215b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev/**
1225b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev * Android specific VP8 encoder params
1235b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev *
1245b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev * STRUCT MEMBERS:
1255b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev *  nSize                      : Size of the structure in bytes
1265b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev *  nVersion                   : OMX specification version information
1275b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev *  nPortIndex                 : Port that this structure applies to
1285b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev *  nKeyFrameInterval          : Key frame interval in frames
1295b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev *  eTemporalPattern           : Type of temporal layer pattern
1305b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev *  nTemporalLayerCount        : Number of temporal coding layers
1315b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev *  nTemporalLayerBitrateRatio : Bitrate ratio allocation between temporal
1325b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev *                               streams in percentage
1335b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev *  nMinQuantizer              : Minimum (best quality) quantizer
1345b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev *  nMaxQuantizer              : Maximum (worst quality) quantizer
1355b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev */
1365b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznevtypedef struct OMX_VIDEO_PARAM_ANDROID_VP8ENCODERTYPE {
1375b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev    OMX_U32 nSize;
1385b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev    OMX_VERSIONTYPE nVersion;
1395b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev    OMX_U32 nPortIndex;
1405b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev    OMX_U32 nKeyFrameInterval;
1415b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev    OMX_VIDEO_ANDROID_VPXTEMPORALLAYERPATTERNTYPE eTemporalPattern;
1425b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev    OMX_U32 nTemporalLayerCount;
1435b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev    OMX_U32 nTemporalLayerBitrateRatio[OMX_VIDEO_ANDROID_MAXVP8TEMPORALLAYERS];
1445b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev    OMX_U32 nMinQuantizer;
1455b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev    OMX_U32 nMaxQuantizer;
14664f5ec51ad3a9aea5a849d51139e605815b42d75Lajos Molnar} OMX_VIDEO_PARAM_ANDROID_VP8ENCODERTYPE;
1475b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev
148184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad/** HEVC Profile enum type */
149184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachadtypedef enum OMX_VIDEO_HEVCPROFILETYPE {
150184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCProfileUnknown = 0x0,
151184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCProfileMain    = 0x1,
152184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCProfileMain10  = 0x2,
153184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCProfileMax     = 0x7FFFFFFF
154184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad} OMX_VIDEO_HEVCPROFILETYPE;
155184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad
156184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad/** HEVC Level enum type */
157184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachadtypedef enum OMX_VIDEO_HEVCLEVELTYPE {
158184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCLevelUnknown    = 0x0,
159184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCMainTierLevel1  = 0x1,
160184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCHighTierLevel1  = 0x2,
161184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCMainTierLevel2  = 0x4,
162184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCHighTierLevel2  = 0x8,
163184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCMainTierLevel21 = 0x10,
164184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCHighTierLevel21 = 0x20,
165184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCMainTierLevel3  = 0x40,
166184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCHighTierLevel3  = 0x80,
167184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCMainTierLevel31 = 0x100,
168184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCHighTierLevel31 = 0x200,
169184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCMainTierLevel4  = 0x400,
170184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCHighTierLevel4  = 0x800,
171184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCMainTierLevel41 = 0x1000,
172184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCHighTierLevel41 = 0x2000,
173184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCMainTierLevel5  = 0x4000,
174184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCHighTierLevel5  = 0x8000,
175184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCMainTierLevel51 = 0x10000,
176184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCHighTierLevel51 = 0x20000,
177184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCMainTierLevel52 = 0x40000,
178184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCHighTierLevel52 = 0x80000,
179184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCMainTierLevel6  = 0x100000,
180184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCHighTierLevel6  = 0x200000,
181184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCMainTierLevel61 = 0x400000,
182184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCHighTierLevel61 = 0x800000,
183184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCMainTierLevel62 = 0x1000000,
184184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCHighTierLevel62 = 0x2000000,
185184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCHighTiermax     = 0x7FFFFFFF
186184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad} OMX_VIDEO_HEVCLEVELTYPE;
187184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad
188184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad/** Structure for controlling HEVC video encoding and decoding */
189184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachadtypedef struct OMX_VIDEO_PARAM_HEVCTYPE {
190184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_U32 nSize;
191184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VERSIONTYPE nVersion;
192184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_U32 nPortIndex;
193184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCPROFILETYPE eProfile;
194184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VIDEO_HEVCLEVELTYPE eLevel;
195184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad} OMX_VIDEO_PARAM_HEVCTYPE;
196184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad
197184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad/** Structure to define if dependent slice segments should be used */
198184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachadtypedef struct OMX_VIDEO_SLICESEGMENTSTYPE {
199184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_U32 nSize;
200184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_VERSIONTYPE nVersion;
201184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_U32 nPortIndex;
202184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_BOOL bDepedentSegments;
203184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_BOOL bEnableLoopFilterAcrossSlices;
204184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad} OMX_VIDEO_SLICESEGMENTSTYPE;
205203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
206203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#ifdef __cplusplus
207203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin}
208203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#endif /* __cplusplus */
209203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
210203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#endif /* OMX_VideoExt_h */
211203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/* File EOF */
212