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 */
62e91cd213d439c076051b1fb02c8bc40c11791dbbJean-Michel Trivi    OMX_IndexParamAudioAndroidAacPresentation,      /**< reference: OMX_AUDIO_PARAM_ANDROID_AACPRESENTATIONTYPE */
63806f23de71be2494cfabbe08d11c09606966a5d5Rachad    OMX_IndexParamAudioAndroidEac3,                 /**< reference: OMX_AUDIO_PARAM_ANDROID_EAC3TYPE */
64203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
65203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    /* Image parameters and configurations */
66203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexExtImageStartUnused = OMX_IndexKhronosExtensions + 0x00500000,
67203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
68203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    /* Video parameters and configurations */
69203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexExtVideoStartUnused = OMX_IndexKhronosExtensions + 0x00600000,
70203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexParamNalStreamFormatSupported,         /**< reference: OMX_NALSTREAMFORMATTYPE */
71203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexParamNalStreamFormat,                  /**< reference: OMX_NALSTREAMFORMATTYPE */
72203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexParamNalStreamFormatSelect,            /**< reference: OMX_NALSTREAMFORMATTYPE */
73203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexParamVideoVp8,                         /**< reference: OMX_VIDEO_PARAM_VP8TYPE */
74203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexConfigVideoVp8ReferenceFrame,          /**< reference: OMX_VIDEO_VP8REFERENCEFRAMETYPE */
75203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexConfigVideoVp8ReferenceFrameType,      /**< reference: OMX_VIDEO_VP8REFERENCEFRAMEINFOTYPE */
765b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev    OMX_IndexParamVideoAndroidVp8Encoder,           /**< reference: OMX_VIDEO_PARAM_ANDROID_VP8ENCODERTYPE */
77184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_IndexParamVideoHevc,                        /**< reference: OMX_VIDEO_PARAM_HEVCTYPE */
78184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad    OMX_IndexParamSliceSegments,                    /**< reference: OMX_VIDEO_SLICESEGMENTSTYPE */
79203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
80203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    /* Image & Video common configurations */
81203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexExtCommonStartUnused = OMX_IndexKhronosExtensions + 0x00700000,
82203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
83203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    /* Other configurations */
84203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexExtOtherStartUnused = OMX_IndexKhronosExtensions + 0x00800000,
8576d4c5cf733bbc15026611d555eb1497e5ab25d4Lajos Molnar    OMX_IndexConfigAutoFramerateConversion,         /**< reference: OMX_CONFIG_BOOLEANTYPE */
86203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
87203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    /* Time configurations */
88203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexExtTimeStartUnused = OMX_IndexKhronosExtensions + 0x00900000,
89203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
90203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin    OMX_IndexExtMax = 0x7FFFFFFF
91203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin} OMX_INDEXEXTTYPE;
92203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
93203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#ifdef __cplusplus
94203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin}
95203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#endif /* __cplusplus */
96203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin
97203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#endif /* OMX_IndexExt_h */
98203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/* File EOF */
99