1826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev/*
26eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal * Copyright (c) 2008 The Khronos Group Inc.
36eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal *
4826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev * Permission is hereby granted, free of charge, to any person obtaining
5826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev * a copy of this software and associated documentation files (the
6826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev * "Software"), to deal in the Software without restriction, including
7826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev * without limitation the rights to use, copy, modify, merge, publish,
8826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev * distribute, sublicense, and/or sell copies of the Software, and to
9826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev * permit persons to whom the Software is furnished to do so, subject
106eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal * to the following conditions:
11826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev * The above copyright notice and this permission notice shall be included
126eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal * in all copies or substantial portions of the Software.
136eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal *
14826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
206eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev *
22826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev */
23826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
24826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev/** @file OMX_Index.h - OpenMax IL version 1.1.2
25826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev *  The OMX_Index header file contains the definitions for both applications
26826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev *  and components .
27826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev */
28826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
29826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
30826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev#ifndef OMX_Index_h
31826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev#define OMX_Index_h
32826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
33826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev#ifdef __cplusplus
34826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchevextern "C" {
35826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev#endif /* __cplusplus */
36826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
37826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
38826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev/* Each OMX header must include all required header files to allow the
39826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev *  header to compile without errors.  The includes below are required
406eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal *  for this header file to compile successfully
41826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev */
42826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev#include <OMX_Types.h>
43826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
44826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
45826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev/** The OMX_INDEXTYPE enumeration is used to select a structure when either
466eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal *  getting or setting parameters and/or configuration data.  Each entry in
476eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal *  this enumeration maps to an OMX specified structure.  When the
48826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev *  OMX_GetParameter, OMX_SetParameter, OMX_GetConfig or OMX_SetConfig methods
49826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev *  are used, the second parameter will always be an entry from this enumeration
50826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev *  and the third entry will be the structure shown in the comments for the entry.
516eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal *  For example, if the application is initializing a cropping function, the
526eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal *  OMX_SetConfig command would have OMX_IndexConfigCommonInputCrop as the second parameter
536eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal *  and would send a pointer to an initialized OMX_RECTTYPE structure as the
54826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev *  third parameter.
556eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal *
56826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev *  The enumeration entries named with the OMX_Config prefix are sent using
57826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev *  the OMX_SetConfig command and the enumeration entries named with the
58826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev *  OMX_PARAM_ prefix are sent using the OMX_SetParameter command.
59826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev */
60826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchevtypedef enum OMX_INDEXTYPE {
61826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
62826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexComponentStartUnused = 0x01000000,
63826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamPriorityMgmt,             /**< reference: OMX_PRIORITYMGMTTYPE */
64826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioInit,                /**< reference: OMX_PORT_PARAM_TYPE */
65826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamImageInit,                /**< reference: OMX_PORT_PARAM_TYPE */
66826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoInit,                /**< reference: OMX_PORT_PARAM_TYPE */
67826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamOtherInit,                /**< reference: OMX_PORT_PARAM_TYPE */
68826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamNumAvailableStreams,      /**< reference: OMX_PARAM_U32TYPE */
69826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamActiveStream,             /**< reference: OMX_PARAM_U32TYPE */
70826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamSuspensionPolicy,         /**< reference: OMX_PARAM_SUSPENSIONPOLICYTYPE */
71826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamComponentSuspended,       /**< reference: OMX_PARAM_SUSPENSIONTYPE */
726eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal    OMX_IndexConfigCapturing,               /**< reference: OMX_CONFIG_BOOLEANTYPE */
736eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal    OMX_IndexConfigCaptureMode,             /**< reference: OMX_CONFIG_CAPTUREMODETYPE */
746eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal    OMX_IndexAutoPauseAfterCapture,         /**< reference: OMX_CONFIG_BOOLEANTYPE */
75826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamContentURI,               /**< reference: OMX_PARAM_CONTENTURITYPE */
766eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal    OMX_IndexParamCustomContentPipe,        /**< reference: OMX_PARAM_CONTENTPIPETYPE */
77826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamDisableResourceConcealment, /**< reference: OMX_RESOURCECONCEALMENTTYPE */
78826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigMetadataItemCount,       /**< reference: OMX_CONFIG_METADATAITEMCOUNTTYPE */
79826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigContainerNodeCount,      /**< reference: OMX_CONFIG_CONTAINERNODECOUNTTYPE */
80826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigMetadataItem,            /**< reference: OMX_CONFIG_METADATAITEMTYPE */
81826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCounterNodeID,           /**< reference: OMX_CONFIG_CONTAINERNODEIDTYPE */
82826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamMetadataFilterType,       /**< reference: OMX_PARAM_METADATAFILTERTYPE */
83826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamMetadataKeyFilter,        /**< reference: OMX_PARAM_METADATAFILTERTYPE */
84826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigPriorityMgmt,            /**< reference: OMX_PRIORITYMGMTTYPE */
85826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamStandardComponentRole,    /**< reference: OMX_PARAM_COMPONENTROLETYPE */
86826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
87826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexPortStartUnused = 0x02000000,
88826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamPortDefinition,           /**< reference: OMX_PARAM_PORTDEFINITIONTYPE */
896eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal    OMX_IndexParamCompBufferSupplier,       /**< reference: OMX_PARAM_BUFFERSUPPLIERTYPE */
90826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexReservedStartUnused = 0x03000000,
91826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
92826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    /* Audio parameters and configurations */
93826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexAudioStartUnused = 0x04000000,
94826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioPortFormat,          /**< reference: OMX_AUDIO_PARAM_PORTFORMATTYPE */
95826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioPcm,                 /**< reference: OMX_AUDIO_PARAM_PCMMODETYPE */
96826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioAac,                 /**< reference: OMX_AUDIO_PARAM_AACPROFILETYPE */
97826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioRa,                  /**< reference: OMX_AUDIO_PARAM_RATYPE */
98826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioMp3,                 /**< reference: OMX_AUDIO_PARAM_MP3TYPE */
99826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioAdpcm,               /**< reference: OMX_AUDIO_PARAM_ADPCMTYPE */
100826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioG723,                /**< reference: OMX_AUDIO_PARAM_G723TYPE */
101826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioG729,                /**< reference: OMX_AUDIO_PARAM_G729TYPE */
102826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioAmr,                 /**< reference: OMX_AUDIO_PARAM_AMRTYPE */
103826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioWma,                 /**< reference: OMX_AUDIO_PARAM_WMATYPE */
104826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioSbc,                 /**< reference: OMX_AUDIO_PARAM_SBCTYPE */
105826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioMidi,                /**< reference: OMX_AUDIO_PARAM_MIDITYPE */
106826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioGsm_FR,              /**< reference: OMX_AUDIO_PARAM_GSMFRTYPE */
107826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioMidiLoadUserSound,   /**< reference: OMX_AUDIO_PARAM_MIDILOADUSERSOUNDTYPE */
108826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioG726,                /**< reference: OMX_AUDIO_PARAM_G726TYPE */
109826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioGsm_EFR,             /**< reference: OMX_AUDIO_PARAM_GSMEFRTYPE */
110826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioGsm_HR,              /**< reference: OMX_AUDIO_PARAM_GSMHRTYPE */
111826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioPdc_FR,              /**< reference: OMX_AUDIO_PARAM_PDCFRTYPE */
112826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioPdc_EFR,             /**< reference: OMX_AUDIO_PARAM_PDCEFRTYPE */
113826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioPdc_HR,              /**< reference: OMX_AUDIO_PARAM_PDCHRTYPE */
114826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioTdma_FR,             /**< reference: OMX_AUDIO_PARAM_TDMAFRTYPE */
115826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioTdma_EFR,            /**< reference: OMX_AUDIO_PARAM_TDMAEFRTYPE */
116826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioQcelp8,              /**< reference: OMX_AUDIO_PARAM_QCELP8TYPE */
117826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioQcelp13,             /**< reference: OMX_AUDIO_PARAM_QCELP13TYPE */
118826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioEvrc,                /**< reference: OMX_AUDIO_PARAM_EVRCTYPE */
119826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioSmv,                 /**< reference: OMX_AUDIO_PARAM_SMVTYPE */
120826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamAudioVorbis,              /**< reference: OMX_AUDIO_PARAM_VORBISTYPE */
121826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
122826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioMidiImmediateEvent, /**< reference: OMX_AUDIO_CONFIG_MIDIIMMEDIATEEVENTTYPE */
123826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioMidiControl,        /**< reference: OMX_AUDIO_CONFIG_MIDICONTROLTYPE */
124826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioMidiSoundBankProgram, /**< reference: OMX_AUDIO_CONFIG_MIDISOUNDBANKPROGRAMTYPE */
125826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioMidiStatus,         /**< reference: OMX_AUDIO_CONFIG_MIDISTATUSTYPE */
126826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioMidiMetaEvent,      /**< reference: OMX_AUDIO_CONFIG_MIDIMETAEVENTTYPE */
127826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioMidiMetaEventData,  /**< reference: OMX_AUDIO_CONFIG_MIDIMETAEVENTDATATYPE */
128826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioVolume,             /**< reference: OMX_AUDIO_CONFIG_VOLUMETYPE */
129826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioBalance,            /**< reference: OMX_AUDIO_CONFIG_BALANCETYPE */
130826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioChannelMute,        /**< reference: OMX_AUDIO_CONFIG_CHANNELMUTETYPE */
131826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioMute,               /**< reference: OMX_AUDIO_CONFIG_MUTETYPE */
132826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioLoudness,           /**< reference: OMX_AUDIO_CONFIG_LOUDNESSTYPE */
133826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioEchoCancelation,    /**< reference: OMX_AUDIO_CONFIG_ECHOCANCELATIONTYPE */
134826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioNoiseReduction,     /**< reference: OMX_AUDIO_CONFIG_NOISEREDUCTIONTYPE */
135826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioBass,               /**< reference: OMX_AUDIO_CONFIG_BASSTYPE */
136826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioTreble,             /**< reference: OMX_AUDIO_CONFIG_TREBLETYPE */
137826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioStereoWidening,     /**< reference: OMX_AUDIO_CONFIG_STEREOWIDENINGTYPE */
138826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioChorus,             /**< reference: OMX_AUDIO_CONFIG_CHORUSTYPE */
139826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioEqualizer,          /**< reference: OMX_AUDIO_CONFIG_EQUALIZERTYPE */
140826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioReverberation,      /**< reference: OMX_AUDIO_CONFIG_REVERBERATIONTYPE */
141826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigAudioChannelVolume,      /**< reference: OMX_AUDIO_CONFIG_CHANNELVOLUMETYPE */
142826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
143826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    /* Image specific parameters and configurations */
144826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexImageStartUnused = 0x05000000,
145826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamImagePortFormat,          /**< reference: OMX_IMAGE_PARAM_PORTFORMATTYPE */
146826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamFlashControl,             /**< reference: OMX_IMAGE_PARAM_FLASHCONTROLTYPE */
147826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigFocusControl,            /**< reference: OMX_IMAGE_CONFIG_FOCUSCONTROLTYPE */
148826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamQFactor,                  /**< reference: OMX_IMAGE_PARAM_QFACTORTYPE */
149826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamQuantizationTable,        /**< reference: OMX_IMAGE_PARAM_QUANTIZATIONTABLETYPE */
150826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamHuffmanTable,             /**< reference: OMX_IMAGE_PARAM_HUFFMANTTABLETYPE */
151826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigFlashControl,            /**< reference: OMX_IMAGE_PARAM_FLASHCONTROLTYPE */
152826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
153826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    /* Video specific parameters and configurations */
154826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexVideoStartUnused = 0x06000000,
155826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoPortFormat,          /**< reference: OMX_VIDEO_PARAM_PORTFORMATTYPE */
156826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoQuantization,        /**< reference: OMX_VIDEO_PARAM_QUANTIZATIONTYPE */
157826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoFastUpdate,          /**< reference: OMX_VIDEO_PARAM_VIDEOFASTUPDATETYPE */
158826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoBitrate,             /**< reference: OMX_VIDEO_PARAM_BITRATETYPE */
159826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoMotionVector,        /**< reference: OMX_VIDEO_PARAM_MOTIONVECTORTYPE */
160826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoIntraRefresh,        /**< reference: OMX_VIDEO_PARAM_INTRAREFRESHTYPE */
161826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoErrorCorrection,     /**< reference: OMX_VIDEO_PARAM_ERRORCORRECTIONTYPE */
162826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoVBSMC,               /**< reference: OMX_VIDEO_PARAM_VBSMCTYPE */
163826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoMpeg2,               /**< reference: OMX_VIDEO_PARAM_MPEG2TYPE */
164826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoMpeg4,               /**< reference: OMX_VIDEO_PARAM_MPEG4TYPE */
165826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoWmv,                 /**< reference: OMX_VIDEO_PARAM_WMVTYPE */
166826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoRv,                  /**< reference: OMX_VIDEO_PARAM_RVTYPE */
167826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoAvc,                 /**< reference: OMX_VIDEO_PARAM_AVCTYPE */
168826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoH263,                /**< reference: OMX_VIDEO_PARAM_H263TYPE */
169826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoProfileLevelQuerySupported, /**< reference: OMX_VIDEO_PARAM_PROFILELEVELTYPE */
170826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoProfileLevelCurrent, /**< reference: OMX_VIDEO_PARAM_PROFILELEVELTYPE */
171826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigVideoBitrate,            /**< reference: OMX_VIDEO_CONFIG_BITRATETYPE */
172826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigVideoFramerate,          /**< reference: OMX_CONFIG_FRAMERATETYPE */
173826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigVideoIntraVOPRefresh,    /**< reference: OMX_CONFIG_INTRAREFRESHVOPTYPE */
174826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigVideoIntraMBRefresh,     /**< reference: OMX_CONFIG_MACROBLOCKERRORMAPTYPE */
175826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigVideoMBErrorReporting,   /**< reference: OMX_CONFIG_MBERRORREPORTINGTYPE */
176826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoMacroblocksPerFrame, /**< reference: OMX_PARAM_MACROBLOCKSTYPE */
177826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigVideoMacroBlockErrorMap, /**< reference: OMX_CONFIG_MACROBLOCKERRORMAPTYPE */
178826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamVideoSliceFMO,            /**< reference: OMX_VIDEO_PARAM_AVCSLICEFMO */
179826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigVideoAVCIntraPeriod,     /**< reference: OMX_VIDEO_CONFIG_AVCINTRAPERIOD */
180826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigVideoNalSize,            /**< reference: OMX_VIDEO_CONFIG_NALSIZE */
181826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
182826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    /* Image & Video common Configurations */
183826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexCommonStartUnused = 0x07000000,
184826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamCommonDeblocking,         /**< reference: OMX_PARAM_DEBLOCKINGTYPE */
185826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamCommonSensorMode,         /**< reference: OMX_PARAM_SENSORMODETYPE */
186826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamCommonInterleave,         /**< reference: OMX_PARAM_INTERLEAVETYPE */
187826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonColorFormatConversion, /**< reference: OMX_CONFIG_COLORCONVERSIONTYPE */
188826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonScale,             /**< reference: OMX_CONFIG_SCALEFACTORTYPE */
189826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonImageFilter,       /**< reference: OMX_CONFIG_IMAGEFILTERTYPE */
190826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonColorEnhancement,  /**< reference: OMX_CONFIG_COLORENHANCEMENTTYPE */
191826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonColorKey,          /**< reference: OMX_CONFIG_COLORKEYTYPE */
192826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonColorBlend,        /**< reference: OMX_CONFIG_COLORBLENDTYPE */
193826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonFrameStabilisation,/**< reference: OMX_CONFIG_FRAMESTABTYPE */
194826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonRotate,            /**< reference: OMX_CONFIG_ROTATIONTYPE */
195826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonMirror,            /**< reference: OMX_CONFIG_MIRRORTYPE */
196826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonOutputPosition,    /**< reference: OMX_CONFIG_POINTTYPE */
197826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonInputCrop,         /**< reference: OMX_CONFIG_RECTTYPE */
198826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonOutputCrop,        /**< reference: OMX_CONFIG_RECTTYPE */
199826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonDigitalZoom,       /**< reference: OMX_CONFIG_SCALEFACTORTYPE */
200826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonOpticalZoom,       /**< reference: OMX_CONFIG_SCALEFACTORTYPE*/
201826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonWhiteBalance,      /**< reference: OMX_CONFIG_WHITEBALCONTROLTYPE */
202826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonExposure,          /**< reference: OMX_CONFIG_EXPOSURECONTROLTYPE */
203826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonContrast,          /**< reference: OMX_CONFIG_CONTRASTTYPE */
204826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonBrightness,        /**< reference: OMX_CONFIG_BRIGHTNESSTYPE */
205826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonBacklight,         /**< reference: OMX_CONFIG_BACKLIGHTTYPE */
206826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonGamma,             /**< reference: OMX_CONFIG_GAMMATYPE */
207826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonSaturation,        /**< reference: OMX_CONFIG_SATURATIONTYPE */
208826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonLightness,         /**< reference: OMX_CONFIG_LIGHTNESSTYPE */
209826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonExclusionRect,     /**< reference: OMX_CONFIG_RECTTYPE */
210826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonDithering,         /**< reference: OMX_CONFIG_DITHERTYPE */
211826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonPlaneBlend,        /**< reference: OMX_CONFIG_PLANEBLENDTYPE */
212826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonExposureValue,     /**< reference: OMX_CONFIG_EXPOSUREVALUETYPE */
213826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonOutputSize,        /**< reference: OMX_FRAMESIZETYPE */
214826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamCommonExtraQuantData,     /**< reference: OMX_OTHER_EXTRADATATYPE */
215826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonFocusRegion,       /**< reference: OMX_CONFIG_FOCUSREGIONTYPE */
216826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonFocusStatus,       /**< reference: OMX_PARAM_FOCUSSTATUSTYPE */
217826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigCommonTransitionEffect,  /**< reference: OMX_CONFIG_TRANSITIONEFFECTTYPE */
218826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
219826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    /* Reserved Configuration range */
220826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexOtherStartUnused = 0x08000000,
221826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexParamOtherPortFormat,          /**< reference: OMX_OTHER_PARAM_PORTFORMATTYPE */
222826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigOtherPower,              /**< reference: OMX_OTHER_CONFIG_POWERTYPE */
223826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigOtherStats,              /**< reference: OMX_OTHER_CONFIG_STATSTYPE */
224826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
225826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
226826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    /* Reserved Time range */
227826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexTimeStartUnused = 0x09000000,
228826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigTimeScale,               /**< reference: OMX_TIME_CONFIG_SCALETYPE */
229826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigTimeClockState,          /**< reference: OMX_TIME_CONFIG_CLOCKSTATETYPE */
230826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigTimeActiveRefClock,      /**< reference: OMX_TIME_CONFIG_ACTIVEREFCLOCKTYPE */
231826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigTimeCurrentMediaTime,    /**< reference: OMX_TIME_CONFIG_TIMESTAMPTYPE (read only) */
232826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigTimeCurrentWallTime,     /**< reference: OMX_TIME_CONFIG_TIMESTAMPTYPE (read only) */
233826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigTimeCurrentAudioReference, /**< reference: OMX_TIME_CONFIG_TIMESTAMPTYPE (write only) */
234826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigTimeCurrentVideoReference, /**< reference: OMX_TIME_CONFIG_TIMESTAMPTYPE (write only) */
235826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigTimeMediaTimeRequest,    /**< reference: OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE (write only) */
236826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigTimeClientStartTime,     /**<reference:  OMX_TIME_CONFIG_TIMESTAMPTYPE (write only) */
237826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigTimePosition,            /**< reference: OMX_TIME_CONFIG_TIMESTAMPTYPE */
238826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexConfigTimeSeekMode,            /**< reference: OMX_TIME_CONFIG_SEEKMODETYPE */
239826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
240826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
2416eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal    OMX_IndexKhronosExtensions = 0x6F000000, /**< Reserved region for introducing Khronos Standard Extensions */
242826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    /* Vendor specific area */
243826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexVendorStartUnused = 0x7F000000,
2446eec4d1ea65df853450a6e158718981cba900bf6Shashank Mittal    /* Vendor specific structures should be in the range of 0x7F000000
245826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev       to 0x7FFFFFFE.  This range is not broken out by vendor, so
246826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev       private indexes are not guaranteed unique and therefore should
247826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev       only be sent to the appropriate component. */
248826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
249826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev    OMX_IndexMax = 0x7FFFFFFF
250826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
251826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev} OMX_INDEXTYPE;
252826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
253826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev#ifdef __cplusplus
254826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev}
255826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev#endif /* __cplusplus */
256826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev
257826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev#endif
258826ececcbea342f7a0b92ec61847f1c95d384e05Iliyan Malchev/* File EOF */
259