1 /*--------------------------------------------------------------------------
2 Copyright (c) 2009, 2015, 2018 The Linux Foundation. All rights reserved.
3 
4 Redistribution and use in source and binary forms, with or without
5 modification, are permitted provided that the following conditions are met:
6     * Redistributions of source code must retain the above copyright
7       notice, this list of conditions and the following disclaimer.
8     * Redistributions in binary form must reproduce the above copyright
9       notice, this list of conditions and the following disclaimer in the
10       documentation and/or other materials provided with the distribution.
11     * Neither the name of The Linux Foundation nor
12       the names of its contributors may be used to endorse or promote
13       products derived from this software without specific prior written
14       permission.
15 
16 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 NON-INFRINGEMENT ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
20 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
21 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
23 OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
25 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 --------------------------------------------------------------------------*/
28 /*============================================================================
29                             O p e n M A X   w r a p p e r s
30                              O p e n  M A X   C o r e
31 
32 *//** @file QOMX_AudioIndexExtensions.h
33   This module contains the index extensions for Audio
34 
35 *//*========================================================================*/
36 
37 
38 #ifndef __H_QOMX_AUDIOINDEXEXTENSIONS_H__
39 #define __H_QOMX_AUDIOINDEXEXTENSIONS_H__
40 
41 /*========================================================================
42 
43                      INCLUDE FILES FOR MODULE
44 
45 ========================================================================== */
46 #include <OMX_Core.h>
47 
48 /*========================================================================
49 
50                       DEFINITIONS AND DECLARATIONS
51 
52 ========================================================================== */
53 
54 #if defined( __cplusplus )
55 extern "C"
56 {
57 #endif /* end of macro __cplusplus */
58 
59 /**
60  * Enumeration used to define Qualcomm's vendor extensions for
61  * audio. The audio extensions occupy a range of
62  * 0x7F100000-0x7F1FFFFF, inclusive.
63  */
64 typedef enum QOMX_AUDIO_EXTENSIONS_INDEXTYPE
65 {
66     QOMX_IndexParamAudioAmrWbPlus       = 0x7F200000, /**< "OMX.Qualcomm.index.audio.amrwbplus" */
67     QOMX_IndexParamAudioWma10Pro        = 0x7F200001, /**< "OMX.Qualcomm.index.audio.wma10pro" */
68     QOMX_IndexParamAudioSessionId       = 0x7F200002, /**< "OMX.Qualcomm.index.audio.sessionId" */
69     QOMX_IndexParamAudioVoiceRecord     = 0x7F200003, /**< "OMX.Qualcomm.index.audio.VoiceRecord" */
70     QOMX_IndexConfigAudioDualMono       = 0x7F200004, /**< "OMX.Qualcomm.index.audio.dualmono" */
71     QOMX_IndexParamAudioAc3             = 0x7F200005, /**< "OMX.Qualcomm.index.audio.ac3" */
72     QOMX_IndexParamAudioAc3PostProc     = 0x7F200006, /**< "OMX.Qualcomm.index.audio.postproc.ac3" */
73     QOMX_IndexParamAudioAacSelectMixCoef = 0x7F200007, /** "OMX.Qualcomm.index.audio.aac_sel_mix_coef**/
74     QOMX_IndexParamAudioAlac            = 0x7F200008, /** "OMX.Qualcomm.index.audio.alac" */
75     QOMX_IndexParamAudioApe             = 0x7F200009, /** "OMX.Qualcomm.index.audio.ape" */
76     QOMX_IndexParamAudioFlacDec         = 0x7F20000A, /** "OMX.Qualcomm.index.audio.flacdec**/
77     QOMX_IndexParamAudioDsdDec          = 0x7F20000B, /** "OMX.Qualcomm.index.audio.Dsddec**/
78     QOMX_IndexParamAudioMpegh           = 0x7F20000C, /** "OMX.Qualcomm.index.audio.mpegh**/
79     QOMX_IndexParamAudioMpeghHeader     = 0x7F20000D, /** "OMX.Qualcomm.index.audio.MpeghHeader"**/
80     QOMX_IndexParamAudioChannelMask     = 0x7F20000E, /** "OMX.Qualcomm.index.audio.ChannelMask"**/
81     QOMX_IndexParamAudioBinauralMode    = 0x7F20000F, /** "OMX.Qualcomm.index.audio.BinauralMode"**/
82     QOMX_IndexParamAudioRotation        = 0x7F200010, /** "OMX.Qualcomm.index.audio.Rotation"**/
83     QOMX_IndexParamAudioUnused          = 0x7F2FFFFF
84 } QOMX_AUDIO_EXTENSIONS_INDEXTYPE;
85 
86 #if defined( __cplusplus )
87 }
88 #endif /* end of macro __cplusplus */
89 
90 #endif /* end of macro __H_QOMX_AUDIOINDEXEXTENSIONS_H__ */
91