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