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 #include <media/stagefright/MediaDefs.h> 18 19 namespace android { 20 21 const char *MEDIA_MIMETYPE_IMAGE_JPEG = "image/jpeg"; 22 23 const char *MEDIA_MIMETYPE_VIDEO_VP8 = "video/x-vnd.on2.vp8"; 24 const char *MEDIA_MIMETYPE_VIDEO_VP9 = "video/x-vnd.on2.vp9"; 25 const char *MEDIA_MIMETYPE_VIDEO_AVC = "video/avc"; 26 const char *MEDIA_MIMETYPE_VIDEO_HEVC = "video/hevc"; 27 const char *MEDIA_MIMETYPE_VIDEO_MPEG4 = "video/mp4v-es"; 28 const char *MEDIA_MIMETYPE_VIDEO_H263 = "video/3gpp"; 29 const char *MEDIA_MIMETYPE_VIDEO_MPEG2 = "video/mpeg2"; 30 const char *MEDIA_MIMETYPE_VIDEO_RAW = "video/raw"; 31 const char *MEDIA_MIMETYPE_VIDEO_DOLBY_VISION = "video/dolby-vision"; 32 33 const char *MEDIA_MIMETYPE_AUDIO_AMR_NB = "audio/3gpp"; 34 const char *MEDIA_MIMETYPE_AUDIO_AMR_WB = "audio/amr-wb"; 35 const char *MEDIA_MIMETYPE_AUDIO_MPEG = "audio/mpeg"; 36 const char *MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_I = "audio/mpeg-L1"; 37 const char *MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_II = "audio/mpeg-L2"; 38 const char *MEDIA_MIMETYPE_AUDIO_MIDI = "audio/midi"; 39 const char *MEDIA_MIMETYPE_AUDIO_AAC = "audio/mp4a-latm"; 40 const char *MEDIA_MIMETYPE_AUDIO_QCELP = "audio/qcelp"; 41 const char *MEDIA_MIMETYPE_AUDIO_VORBIS = "audio/vorbis"; 42 const char *MEDIA_MIMETYPE_AUDIO_OPUS = "audio/opus"; 43 const char *MEDIA_MIMETYPE_AUDIO_G711_ALAW = "audio/g711-alaw"; 44 const char *MEDIA_MIMETYPE_AUDIO_G711_MLAW = "audio/g711-mlaw"; 45 const char *MEDIA_MIMETYPE_AUDIO_RAW = "audio/raw"; 46 const char *MEDIA_MIMETYPE_AUDIO_FLAC = "audio/flac"; 47 const char *MEDIA_MIMETYPE_AUDIO_AAC_ADTS = "audio/aac-adts"; 48 const char *MEDIA_MIMETYPE_AUDIO_MSGSM = "audio/gsm"; 49 const char *MEDIA_MIMETYPE_AUDIO_AC3 = "audio/ac3"; 50 const char *MEDIA_MIMETYPE_AUDIO_EAC3 = "audio/eac3"; 51 52 const char *MEDIA_MIMETYPE_CONTAINER_MPEG4 = "video/mp4"; 53 const char *MEDIA_MIMETYPE_CONTAINER_WAV = "audio/x-wav"; 54 const char *MEDIA_MIMETYPE_CONTAINER_OGG = "application/ogg"; 55 const char *MEDIA_MIMETYPE_CONTAINER_MATROSKA = "video/x-matroska"; 56 const char *MEDIA_MIMETYPE_CONTAINER_MPEG2TS = "video/mp2ts"; 57 const char *MEDIA_MIMETYPE_CONTAINER_AVI = "video/avi"; 58 const char *MEDIA_MIMETYPE_CONTAINER_MPEG2PS = "video/mp2p"; 59 60 const char *MEDIA_MIMETYPE_CONTAINER_WVM = "video/wvm"; 61 62 const char *MEDIA_MIMETYPE_TEXT_3GPP = "text/3gpp-tt"; 63 const char *MEDIA_MIMETYPE_TEXT_SUBRIP = "application/x-subrip"; 64 const char *MEDIA_MIMETYPE_TEXT_VTT = "text/vtt"; 65 const char *MEDIA_MIMETYPE_TEXT_CEA_608 = "text/cea-608"; 66 const char *MEDIA_MIMETYPE_TEXT_CEA_708 = "text/cea-708"; 67 const char *MEDIA_MIMETYPE_DATA_TIMED_ID3 = "application/x-id3v4"; 68 69 } // namespace android 70