1 /* 2 * Copyright (C) 2009 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 #ifndef MEDIA_DEFS_H_ 18 19 #define MEDIA_DEFS_H_ 20 21 namespace android { 22 23 extern const char *MEDIA_MIMETYPE_IMAGE_JPEG; 24 25 extern const char *MEDIA_MIMETYPE_VIDEO_VP8; 26 extern const char *MEDIA_MIMETYPE_VIDEO_VP9; 27 extern const char *MEDIA_MIMETYPE_VIDEO_AVC; 28 extern const char *MEDIA_MIMETYPE_VIDEO_HEVC; 29 extern const char *MEDIA_MIMETYPE_VIDEO_MPEG4; 30 extern const char *MEDIA_MIMETYPE_VIDEO_H263; 31 extern const char *MEDIA_MIMETYPE_VIDEO_MPEG2; 32 extern const char *MEDIA_MIMETYPE_VIDEO_RAW; 33 34 extern const char *MEDIA_MIMETYPE_AUDIO_AMR_NB; 35 extern const char *MEDIA_MIMETYPE_AUDIO_AMR_WB; 36 extern const char *MEDIA_MIMETYPE_AUDIO_MPEG; // layer III 37 extern const char *MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_I; 38 extern const char *MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_II; 39 extern const char *MEDIA_MIMETYPE_AUDIO_MIDI; 40 extern const char *MEDIA_MIMETYPE_AUDIO_AAC; 41 extern const char *MEDIA_MIMETYPE_AUDIO_QCELP; 42 extern const char *MEDIA_MIMETYPE_AUDIO_VORBIS; 43 extern const char *MEDIA_MIMETYPE_AUDIO_OPUS; 44 extern const char *MEDIA_MIMETYPE_AUDIO_G711_ALAW; 45 extern const char *MEDIA_MIMETYPE_AUDIO_G711_MLAW; 46 extern const char *MEDIA_MIMETYPE_AUDIO_RAW; 47 extern const char *MEDIA_MIMETYPE_AUDIO_FLAC; 48 extern const char *MEDIA_MIMETYPE_AUDIO_AAC_ADTS; 49 extern const char *MEDIA_MIMETYPE_AUDIO_MSGSM; 50 extern const char *MEDIA_MIMETYPE_AUDIO_AC3; 51 extern const char *MEDIA_MIMETYPE_AUDIO_EAC3; 52 53 extern const char *MEDIA_MIMETYPE_CONTAINER_MPEG4; 54 extern const char *MEDIA_MIMETYPE_CONTAINER_WAV; 55 extern const char *MEDIA_MIMETYPE_CONTAINER_OGG; 56 extern const char *MEDIA_MIMETYPE_CONTAINER_MATROSKA; 57 extern const char *MEDIA_MIMETYPE_CONTAINER_MPEG2TS; 58 extern const char *MEDIA_MIMETYPE_CONTAINER_AVI; 59 extern const char *MEDIA_MIMETYPE_CONTAINER_MPEG2PS; 60 61 extern const char *MEDIA_MIMETYPE_CONTAINER_WVM; 62 63 extern const char *MEDIA_MIMETYPE_TEXT_3GPP; 64 extern const char *MEDIA_MIMETYPE_TEXT_SUBRIP; 65 extern const char *MEDIA_MIMETYPE_TEXT_VTT; 66 extern const char *MEDIA_MIMETYPE_TEXT_CEA_608; 67 extern const char *MEDIA_MIMETYPE_DATA_TIMED_ID3; 68 69 } // namespace android 70 71 #endif // MEDIA_DEFS_H_ 72