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_VPX = "video/x-vnd.on2.vp8";
     24 const char *MEDIA_MIMETYPE_VIDEO_AVC = "video/avc";
     25 const char *MEDIA_MIMETYPE_VIDEO_MPEG4 = "video/mp4v-es";
     26 const char *MEDIA_MIMETYPE_VIDEO_H263 = "video/3gpp";
     27 const char *MEDIA_MIMETYPE_VIDEO_MPEG2 = "video/mpeg2";
     28 const char *MEDIA_MIMETYPE_VIDEO_RAW = "video/raw";
     29 
     30 const char *MEDIA_MIMETYPE_AUDIO_AMR_NB = "audio/3gpp";
     31 const char *MEDIA_MIMETYPE_AUDIO_AMR_WB = "audio/amr-wb";
     32 const char *MEDIA_MIMETYPE_AUDIO_MPEG = "audio/mpeg";
     33 const char *MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_I = "audio/mpeg-L1";
     34 const char *MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_II = "audio/mpeg-L2";
     35 const char *MEDIA_MIMETYPE_AUDIO_AAC = "audio/mp4a-latm";
     36 const char *MEDIA_MIMETYPE_AUDIO_QCELP = "audio/qcelp";
     37 const char *MEDIA_MIMETYPE_AUDIO_VORBIS = "audio/vorbis";
     38 const char *MEDIA_MIMETYPE_AUDIO_G711_ALAW = "audio/g711-alaw";
     39 const char *MEDIA_MIMETYPE_AUDIO_G711_MLAW = "audio/g711-mlaw";
     40 const char *MEDIA_MIMETYPE_AUDIO_RAW = "audio/raw";
     41 const char *MEDIA_MIMETYPE_AUDIO_FLAC = "audio/flac";
     42 const char *MEDIA_MIMETYPE_AUDIO_AAC_ADTS = "audio/aac-adts";
     43 
     44 const char *MEDIA_MIMETYPE_CONTAINER_MPEG4 = "video/mpeg4";
     45 const char *MEDIA_MIMETYPE_CONTAINER_WAV = "audio/wav";
     46 const char *MEDIA_MIMETYPE_CONTAINER_OGG = "application/ogg";
     47 const char *MEDIA_MIMETYPE_CONTAINER_MATROSKA = "video/x-matroska";
     48 const char *MEDIA_MIMETYPE_CONTAINER_MPEG2TS = "video/mp2ts";
     49 const char *MEDIA_MIMETYPE_CONTAINER_AVI = "video/avi";
     50 const char *MEDIA_MIMETYPE_CONTAINER_MPEG2PS = "video/mp2p";
     51 
     52 const char *MEDIA_MIMETYPE_CONTAINER_WVM = "video/wvm";
     53 
     54 const char *MEDIA_MIMETYPE_TEXT_3GPP = "text/3gpp-tt";
     55 
     56 }  // namespace android
     57