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 */ 645761a9abdb560b15379501ecf52d5bb01e7cc708Wonsik Kim OMX_IndexParamAudioProfileQuerySupported, /**< reference: OMX_AUDIO_PARAM_ANDROID_PROFILETYPE */ 65203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin 66203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin /* Image parameters and configurations */ 67203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexExtImageStartUnused = OMX_IndexKhronosExtensions + 0x00500000, 68203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin 69203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin /* Video parameters and configurations */ 70203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexExtVideoStartUnused = OMX_IndexKhronosExtensions + 0x00600000, 71203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexParamNalStreamFormatSupported, /**< reference: OMX_NALSTREAMFORMATTYPE */ 72203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexParamNalStreamFormat, /**< reference: OMX_NALSTREAMFORMATTYPE */ 73203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexParamNalStreamFormatSelect, /**< reference: OMX_NALSTREAMFORMATTYPE */ 74203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexParamVideoVp8, /**< reference: OMX_VIDEO_PARAM_VP8TYPE */ 75203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexConfigVideoVp8ReferenceFrame, /**< reference: OMX_VIDEO_VP8REFERENCEFRAMETYPE */ 76203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexConfigVideoVp8ReferenceFrameType, /**< reference: OMX_VIDEO_VP8REFERENCEFRAMEINFOTYPE */ 775b155b84a24e0c7018e68a70c25de6c806c7ed4dAlex Glaznev OMX_IndexParamVideoAndroidVp8Encoder, /**< reference: OMX_VIDEO_PARAM_ANDROID_VP8ENCODERTYPE */ 78184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad OMX_IndexParamVideoHevc, /**< reference: OMX_VIDEO_PARAM_HEVCTYPE */ 79184077dee460d235c2f9ed3e6ecf9a6df06ae80cRachad OMX_IndexParamSliceSegments, /**< reference: OMX_VIDEO_SLICESEGMENTSTYPE */ 80dbadc8459b225acfca672b4301347d805a532fe0Hangyu Kuang OMX_IndexConfigAndroidIntraRefresh, /**< reference: OMX_VIDEO_CONFIG_ANDROID_INTRAREFRESHTYPE */ 813717b164fad9308483fd75eff85fdefb21a9bd12Praveen Chavan OMX_IndexParamAndroidVideoTemporalLayering, /**< reference: OMX_VIDEO_PARAM_ANDROID_TEMPORALLAYERINGTYPE */ 823717b164fad9308483fd75eff85fdefb21a9bd12Praveen Chavan OMX_IndexConfigAndroidVideoTemporalLayering, /**< reference: OMX_VIDEO_CONFIG_ANDROID_TEMPORALLAYERINGTYPE */ 83203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin 84203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin /* Image & Video common configurations */ 85203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexExtCommonStartUnused = OMX_IndexKhronosExtensions + 0x00700000, 86203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin 87203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin /* Other configurations */ 88203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexExtOtherStartUnused = OMX_IndexKhronosExtensions + 0x00800000, 8976d4c5cf733bbc15026611d555eb1497e5ab25d4Lajos Molnar OMX_IndexConfigAutoFramerateConversion, /**< reference: OMX_CONFIG_BOOLEANTYPE */ 9049bf8f78a8979de8c76265c1c3c3a1f8637e713cRonghua Wu OMX_IndexConfigPriority, /**< reference: OMX_PARAM_U32TYPE */ 91a39c205f87c6feebefc4a73043c3b1278373dbd3Ronghua Wu OMX_IndexConfigOperatingRate, /**< reference: OMX_PARAM_U32TYPE in Q16 format for video and in Hz for audio */ 921017a1eaa7e47e15b4f834e7d7b91e9cd2d09f35Lajos Molnar OMX_IndexParamConsumerUsageBits, /**< reference: OMX_PARAM_U32TYPE */ 93203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin 94203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin /* Time configurations */ 95203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexExtTimeStartUnused = OMX_IndexKhronosExtensions + 0x00900000, 96203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin 97203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexExtMax = 0x7FFFFFFF 98203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin} OMX_INDEXEXTTYPE; 99203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin 100203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#ifdef __cplusplus 101203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin} 102203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#endif /* __cplusplus */ 103203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin 104203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#endif /* OMX_IndexExt_h */ 105203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/* File EOF */ 106