OMX_IndexExt.h revision c9a8a34e40b4e5ba76ace8879e479ebf5fbca3c5
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 */ 61203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin 62203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin /* Image parameters and configurations */ 63203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexExtImageStartUnused = OMX_IndexKhronosExtensions + 0x00500000, 64203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin 65203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin /* Video parameters and configurations */ 66203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexExtVideoStartUnused = OMX_IndexKhronosExtensions + 0x00600000, 67203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexParamNalStreamFormatSupported, /**< reference: OMX_NALSTREAMFORMATTYPE */ 68203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexParamNalStreamFormat, /**< reference: OMX_NALSTREAMFORMATTYPE */ 69203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexParamNalStreamFormatSelect, /**< reference: OMX_NALSTREAMFORMATTYPE */ 70203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexParamVideoVp8, /**< reference: OMX_VIDEO_PARAM_VP8TYPE */ 71203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexConfigVideoVp8ReferenceFrame, /**< reference: OMX_VIDEO_VP8REFERENCEFRAMETYPE */ 72203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexConfigVideoVp8ReferenceFrameType, /**< reference: OMX_VIDEO_VP8REFERENCEFRAMEINFOTYPE */ 73203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin 74203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin /* Image & Video common configurations */ 75203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexExtCommonStartUnused = OMX_IndexKhronosExtensions + 0x00700000, 76203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin 77203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin /* Other configurations */ 78203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexExtOtherStartUnused = OMX_IndexKhronosExtensions + 0x00800000, 79203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin 80203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin /* Time configurations */ 81203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexExtTimeStartUnused = OMX_IndexKhronosExtensions + 0x00900000, 82203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin 83203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin OMX_IndexExtMax = 0x7FFFFFFF 84203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin} OMX_INDEXEXTTYPE; 85203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin 86203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#ifdef __cplusplus 87203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin} 88203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#endif /* __cplusplus */ 89203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin 90203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin#endif /* OMX_IndexExt_h */ 91203f89a75a28222b1d9940227d266a3bdd7f99b9Kunter Gultekin/* File EOF */ 92