iv
3.3.6 SendCommand.....................................................................................................................................94
3.3.7 GetParameter ......................................................................................................................................95
3.3.8 SetParameter .......................................................................................................................................95
3.3.9 GetConfig.............................................................................................................................................95
3.3.10 SetConfig.........................................................................................................................................96
3.3.11 GetExtensionIndex..........................................................................................................................96
3.3.12 GetState...........................................................................................................................................96
3.3.13 ComponentTunnelRequest ..............................................................................................................96
3.3.14 UseBuffer ........................................................................................................................................98
3.3.15 AllocateBuffer .................................................................................................................................98
3.3.16 FreeBuffer.......................................................................................................................................99
3.3.17 EmptyThisBuffer .............................................................................................................................99
3.3.18 FillThisBuffer..................................................................................................................................99
3.3.19 SetCallbacks..................................................................................................................................100
3.3.20 ComponentDeinit..........................................................................................................................100
3.4 CALLING SEQUENCES..............................................................................................................................101
3.4.1 Initialization.......................................................................................................................................101
3.4.2 Data Flow..........................................................................................................................................107
3.4.3 De-Initialization.................................................................................................................................110
3.4.4 Port Disablement and Enablement....................................................................................................112
3.4.5 Dynamic Port Reconfiguration..........................................................................................................114
3.4.6 Resource Management.......................................................................................................................116
4 OPENMAX IL DATA API............................................................................................................................120
4.1 AUDIO .....................................................................................................................................................120
4.1.1 Audio Use Case Examples.................................................................................................................120
4.1.2 Special Issues.....................................................................................................................................121
4.1.3 General Enumerations.......................................................................................................................121
4.1.4 OMX_AUDIO_PORTDEFINITIONTYPE.........................................................................................124
4.1.5 OMX_AUDIO_PARAM_PORTFORMATTYPE ................................................................................125
4.1.6 OMX_AUDIO_PARAM_PCMMODETYPE......................................................................................126
4.1.7 OMX_AUDIO_PARAM_MP3TYPE ..................................................................................................128
4.1.8 OMX_AUDIO_PARAM_AACPROFILETYPE ..................................................................................131
4.1.9 OMX_AUDIO_PARAM_VORBISTYPE.............................................................................................135
4.1.10 OMX_AUDIO_PARAM_WMATYPE ............................................................................................137
4.1.11 OMX_AUDIO_RATYPE ...............................................................................................................139
4.1.12 OMX_AUDIO_PARAM_SBCTYPE ..............................................................................................140
4.1.13 OMX_AUDIO_PARAM_ADPCMTYPE........................................................................................143
4.1.14 OMX_AUDIO_PARAM_G723TYPE ............................................................................................144
4.1.15 OMX_AUDIO_PARAM_G726TYPE ............................................................................................146
4.1.16 OMX_AUDIO_PARAM_G729TYPE ............................................................................................148
4.1.17 OMX_AUDIO_PARAM_AMRTYPE.............................................................................................150
4.1.18 OMX_AUDIO_PARAM_GSMFRTYPE........................................................................................153
4.1.19 OMX_AUDIO_PARAM_GSMEFRTYPE......................................................................................154
4.1.20 OMX_AUDIO_PARAM_GSMHRTYPE........................................................................................156
4.1.21 OMX_AUDIO_PARAM_TDMAFRTYPE......................................................................................158
4.1.22 OMX_AUDIO_PARAM_TDMAEFRTYPE...................................................................................159
4.1.23 OMX_AUDIO_PARAM_PDCFRTYPE ........................................................................................161
4.1.24 OMX_AUDIO_PARAM_PDCEFRTYPE......................................................................................162
4.1.25 OMX_AUDIO_PARAM_PDCHRTYPE........................................................................................164
4.1.26 OMX_AUDIO_PARAM_QCELP8TYPE.......................................................................................165
4.1.27 OMX_AUDIO_PARAM_QCELP13TYPE.....................................................................................167
4.1.28 OMX_AUDIO_PARAM_EVRCTYPE ...........................................................................................169
4.1.29 OMX_AUDIO_PARAMSMVTYPE ...............................................................................................172
4.1.30 OMX_AUDIO_PARAM_MIDITYPE ............................................................................................174
4.1.31 OMX_AUDIO_PARAM_MIDILOADUSERSOUNDTYPE...........................................................176