OMX_IndexExt.h revision 184077dee460d235c2f9ed3e6ecf9a6df06ae80c
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/** @file OMX_IndexExt.h - OpenMax IL version 1.1.2
25203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * The OMX_IndexExt header file contains extensions to the definitions
26203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * for both applications and components .
27203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin */
28203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
29203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#ifndef OMX_IndexExt_h
30203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#define OMX_IndexExt_h
31203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
32203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#ifdef __cplusplus
33203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekinextern "C" {
34203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#endif /* __cplusplus */
35203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
36203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/* Each OMX header shall include all required header files to allow the
37203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * header to compile without errors.  The includes below are required
38203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin * for this header file to compile successfully
39203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin */
40203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#include <OMX_Index.h>
41203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
42203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
43203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/** Khronos standard extension indices.
44203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
45203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter GultekinThis enum lists the current Khronos extension indices to OpenMAX IL.
46203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin*/
47203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekintypedef enum OMX_INDEXEXTTYPE {
48203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
49203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    /* Component parameters and configurations */
50203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexExtComponentStartUnused = OMX_IndexKhronosExtensions + 0x00100000,
51203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexConfigCallbackRequest,                 /**< reference: OMX_CONFIG_CALLBACKREQUESTTYPE */
52203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexConfigCommitMode,                      /**< reference: OMX_CONFIG_COMMITMODETYPE */
53203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexConfigCommit,                          /**< reference: OMX_CONFIG_COMMITTYPE */
54203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
55203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    /* Port parameters and configurations */
56203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexExtPortStartUnused = OMX_IndexKhronosExtensions + 0x00200000,
57203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
58203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    /* Audio parameters and configurations */
59203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexExtAudioStartUnused = OMX_IndexKhronosExtensions + 0x00400000,
60c9a8a34e40b4e5ba76ace8879e479ebf5fbca3c5Changwan Ryu    OMX_IndexParamAudioAndroidAc3,                  /**< reference: OMX_AUDIO_PARAM_ANDROID_AC3TYPE */
611a8b0ed985b3767fdd795fb5216014e05b30791bVignesh Venkatasubramanian    OMX_IndexParamAudioAndroidOpus,                 /**< reference: OMX_AUDIO_PARAM_ANDROID_OPUSTYPE */
62203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
63203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    /* Image parameters and configurations */
64203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexExtImageStartUnused = OMX_IndexKhronosExtensions + 0x00500000,
65203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
66203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    /* Video parameters and configurations */
67203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexExtVideoStartUnused = OMX_IndexKhronosExtensions + 0x00600000,
68203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexParamNalStreamFormatSupported,         /**< reference: OMX_NALSTREAMFORMATTYPE */
69203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexParamNalStreamFormat,                  /**< reference: OMX_NALSTREAMFORMATTYPE */
70203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexParamNalStreamFormatSelect,            /**< reference: OMX_NALSTREAMFORMATTYPE */
71203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexParamVideoVp8,                         /**< reference: OMX_VIDEO_PARAM_VP8TYPE */
72203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexConfigVideoVp8ReferenceFrame,          /**< reference: OMX_VIDEO_VP8REFERENCEFRAMETYPE */
73203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexConfigVideoVp8ReferenceFrameType,      /**< reference: OMX_VIDEO_VP8REFERENCEFRAMEINFOTYPE */
745b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev    OMX_IndexParamVideoAndroidVp8Encoder,           /**< reference: OMX_VIDEO_PARAM_ANDROID_VP8ENCODERTYPE */
75184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_IndexParamVideoHevc,                        /**< reference: OMX_VIDEO_PARAM_HEVCTYPE */
76184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_IndexParamSliceSegments,                    /**< reference: OMX_VIDEO_SLICESEGMENTSTYPE */
77203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
78203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    /* Image & Video common configurations */
79203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexExtCommonStartUnused = OMX_IndexKhronosExtensions + 0x00700000,
80203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
81203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    /* Other configurations */
82203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexExtOtherStartUnused = OMX_IndexKhronosExtensions + 0x00800000,
83203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
84203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    /* Time configurations */
85203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexExtTimeStartUnused = OMX_IndexKhronosExtensions + 0x00900000,
86203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
87203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexExtMax = 0x7FFFFFFF
88203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin} OMX_INDEXEXTTYPE;
89203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
90203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#ifdef __cplusplus
91203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin}
92203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#endif /* __cplusplus */
93203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
94203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#endif /* OMX_IndexExt_h */
95203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/* File EOF */
96