Home | History | Annotate | Download | only in libstagefright
      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_MPEG4 = "video/mp4v-es";
     27 const char *MEDIA_MIMETYPE_VIDEO_H263 = "video/3gpp";
     28 const char *MEDIA_MIMETYPE_VIDEO_MPEG2 = "video/mpeg2";
     29 const char *MEDIA_MIMETYPE_VIDEO_RAW = "video/raw";
     30 
     31 const char *MEDIA_MIMETYPE_AUDIO_AMR_NB = "audio/3gpp";
     32 const char *MEDIA_MIMETYPE_AUDIO_AMR_WB = "audio/amr-wb";
     33 const char *MEDIA_MIMETYPE_AUDIO_MPEG = "audio/mpeg";
     34 const char *MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_I = "audio/mpeg-L1";
     35 const char *MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_II = "audio/mpeg-L2";
     36 const char *MEDIA_MIMETYPE_AUDIO_AAC = "audio/mp4a-latm";
     37 const char *MEDIA_MIMETYPE_AUDIO_QCELP = "audio/qcelp";
     38 const char *MEDIA_MIMETYPE_AUDIO_VORBIS = "audio/vorbis";
     39 const char *MEDIA_MIMETYPE_AUDIO_G711_ALAW = "audio/g711-alaw";
     40 const char *MEDIA_MIMETYPE_AUDIO_G711_MLAW = "audio/g711-mlaw";
     41 const char *MEDIA_MIMETYPE_AUDIO_RAW = "audio/raw";
     42 const char *MEDIA_MIMETYPE_AUDIO_FLAC = "audio/flac";
     43 const char *MEDIA_MIMETYPE_AUDIO_AAC_ADTS = "audio/aac-adts";
     44 const char *MEDIA_MIMETYPE_AUDIO_MSGSM = "audio/gsm";
     45 
     46 const char *MEDIA_MIMETYPE_CONTAINER_MPEG4 = "video/mp4";
     47 const char *MEDIA_MIMETYPE_CONTAINER_WAV = "audio/x-wav";
     48 const char *MEDIA_MIMETYPE_CONTAINER_OGG = "application/ogg";
     49 const char *MEDIA_MIMETYPE_CONTAINER_MATROSKA = "video/x-matroska";
     50 const char *MEDIA_MIMETYPE_CONTAINER_MPEG2TS = "video/mp2ts";
     51 const char *MEDIA_MIMETYPE_CONTAINER_AVI = "video/avi";
     52 const char *MEDIA_MIMETYPE_CONTAINER_MPEG2PS = "video/mp2p";
     53 
     54 const char *MEDIA_MIMETYPE_CONTAINER_WVM = "video/wvm";
     55 
     56 const char *MEDIA_MIMETYPE_TEXT_3GPP = "text/3gpp-tt";
     57 const char *MEDIA_MIMETYPE_TEXT_SUBRIP = "application/x-subrip";
     58 
     59 }  // namespace android
     60