M4OSA_CoreID.h revision 7c9d8018755adf1857571125ba1b3598c96ea506
1/*
2 * Copyright (C) 2004-2011 NXP Software
3 * Copyright (C) 2011 The Android Open Source Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17/**
18 ************************************************************************
19 * @file   M4OSA_CoreID.h
20 * @brief  defines the uniques component identifiers used for memory management
21 *         and optionID mechanism
22 * @note
23 *
24 ************************************************************************
25*/
26#ifndef __M4OSA_COREID_H__
27#define __M4OSA_COREID_H__
28
29/* CoreId are defined on 14 bits */
30/* we start from 0x0100, lower values are reserved for osal core components */
31
32/* reader shells*/
33#define M4READER_COMMON     0x0100
34#define M4READER_AVI        0x0101
35#define M4READER_AMR        0x0102
36#define M4READER_3GP        0x0103
37#define M4READER_NET        0x0104
38#define M4READER_3GP_HTTP   0x0105
39#define M4READER_MP3        0x0106
40#define M4READER_WAV        0x0107
41#define M4READER_MIDI       0x0108
42#define M4READER_ASF        0x0109
43#define M4READER_REAL        0x010A
44#define M4READER_AAC        0x010B
45#define M4READER_FLEX        0x010C
46#define M4READER_BBA        0x010D
47#define M4READER_SYNTHESIS_AUDIO    0x010E
48#define M4READER_JPEG        0x010F
49
50
51/* writer shells*/
52#define M4WRITER_COMMON     0x0110
53#define M4WRITER_AVI        0x0111
54#define M4WRITER_AMR        0x0112
55#define M4WRITER_3GP        0x0113
56#define M4WRITER_JPEG        0x0116
57#define M4WRITER_MP3        0x0117
58
59/* decoder shells */
60#define M4DECODER_COMMON    0x0120
61#define M4DECODER_JPEG      0x0121
62#define M4DECODER_MPEG4     0x0122
63#define M4DECODER_AUDIO     0x0123
64#define M4DECODER_AVC       0x0124
65#define M4DECODER_MIDI      0x0125
66#define M4DECODER_WMA        0x0126
67#define M4DECODER_WMV        0x0127
68#define M4DECODER_RMV        0x0128
69#define M4DECODER_RMA        0x0129
70#define M4DECODER_AAC       0x012A
71#define M4DECODER_BEATBREW  0x012B
72#define M4DECODER_EXTERNAL  0x012C
73
74/* encoder shells */
75#define M4ENCODER_COMMON    0x0130
76#define M4ENCODER_JPEG      0x0131
77#define M4ENCODER_MPEG4     0x0132
78#define M4ENCODER_AUDIO     0x0133
79#define M4ENCODER_VID_NULL  0x0134
80#define M4ENCODER_MJPEG        0x0135
81#define M4ENCODER_MP3        0x0136
82#define M4ENCODER_H264        0x0137
83#define M4ENCODER_AAC        0x0138
84#define M4ENCODER_AMRNB        0x0139
85#define M4ENCODER_AUD_NULL  0x013A
86#define M4ENCODER_EXTERNAL  0x013B
87
88/* cores */
89#define M4JPG_DECODER       0x0140
90#define M4JPG_ENCODER       0x0141
91
92#define M4MP4_DECODER       0x0142
93#define M4MP4_ENCODER       0x0143
94
95#define M4AVI_COMMON        0x0144
96#define M4AVI_READER        0x0145
97#define M4AVI_WRITER        0x0146
98
99#define M4HTTP_ENGINE       0x0147
100
101#define M4OSA_TMPFILE       0x0148
102#define M4TOOL_TIMER        0x0149
103
104#define M4AMR_READER        0x014A
105
106#define M4MP3_READER        0x014B
107
108#define M4WAV_READER        0x014C
109#define M4WAV_WRITER        0x014D
110#define M4WAV_COMMON        0x014E
111
112#define M4ADTS_READER        0x014F
113#define M4ADIF_READER        0x016A
114
115#define M4SPS               0x0150
116#define M4EXIF_DECODER      0x0151
117#define M4EXIF_ENCODER      0x0152
118#define M4GIF_DECODER       0x0153
119#define M4GIF_ENCODER       0x0154
120#define M4PNG_DECODER       0x0155
121#define M4PNG_ENCODER       0x0156
122#define M4WBMP_DECODER      0x0157
123#define M4WBMP_ENCODER      0x0158
124
125#define M4AMR_WRITER        0x0159    /**< no room to put it along M4AMR_READER */
126
127
128#define M4AVC_DECODER       0x015A
129#define M4AVC_ENCODER       0x015B
130
131#define M4ASF_READER        0x015C
132#define M4WMDRM_AGENT        0x015D
133#define M4MIDI_READER        0x0162    /**< no room before the presenters */
134#define M4RM_READER         0x163
135#define M4RMV_DECODER        0x164
136#define M4RMA_DECODER        0x165
137
138#define M4TOOL_XML            0x0166
139#define M4TOOL_EFR            0x0167    /**< Decryption module for Video Artist */
140#define M4IAL_FTN            0x0168    /* FTN implementation of the IAL */
141#define M4FTN                0x0169    /* FTN library */
142
143/* presenter */
144#define M4PRESENTER_AUDIO   0x0160
145#define M4PRESENTER_VIDEO   0x0161
146
147/* high level interfaces (vps, etc..)*/
148#define M4VPS               0x0170
149#define M4VTS               0x0171
150#define M4VXS               0x0172
151#define M4CALLBACK          0x0173
152#define M4VES               0x0174
153#define M4PREPROCESS_VIDEO  0x0175
154#define M4GRAB_AUDIO        0x0176
155#define M4GRAB_VIDEO        0x0177
156#define M4VSSAVI            0x0178
157#define M4VSS3GPP           0x0179
158#define M4PTO3GPP           0x017A
159#define M4PVX_PARSER        0x017B
160#define M4VCS                0x017C
161#define M4MCS                0x017D
162#define M4MNMC                0x0180    /**< mnm controller */
163#define M4TTEXT_PARSER      0x0181    /**< timed text */
164#define M4MM                0x0182    /**< Music manager */
165#define M4MDP                0x0183    /**< Metadata parser */
166#define M4MMSQLCORE            0x0184
167#define M4VPSIL                0x0185
168#define M4FILEIL            0x0186 /* IL file Interface */
169#define M4MU                0x0187
170#define M4VEE                0x0188  /**< Video effect engine */
171#define M4VA                0x0189 /* VideoArtist */
172#define M4JTS                0x018A
173#define M4JTSIL                0x018B
174#define M4AIR                0x018C  /**< AIR */
175#define M4SPE                0x018D  /**< Still picture editor */
176#define M4VS                0x018E    /**< Video Studio (xVSS) */
177#define M4VESIL                0x018F    /**< VES il */
178#define M4ID3                0x0190    /**< ID3 Tag Module */
179#define M4SC                0x0191    /**< Media Scanner */
180#define M4TG                0x0192  /**< Thumbnail Generator*/
181#define M4TS                0x0193    /**< Thumbnail storage */
182#define M4MB                0x0194    /**< Media browser */
183
184/* high level application (test or client app) */
185#define M4APPLI             0x0200
186#define M4VA_APPLI            0x0201    /**< Video Artist test application */
187
188/* external components (HW video codecs, etc.) */
189#define M4VD_EXTERNAL        0x0300
190#define M4VE_EXTERNAL        0x0301
191
192
193/* priority to combine with module ids */
194#define M4HIGH_PRIORITY     0xC000
195#define M4MEDIUM_PRIORITY   0x8000
196#define M4LOW_PRIORITY      0x4000
197#define M4DEFAULT_PRIORITY  0x0000
198
199
200#endif /*__M4OSA_COREID_H__*/
201
202