blob: 0be7261b46c0d3ac0af1b95c6662aa106ad01b07 [file] [log] [blame]
Andreas Hubere6c40962009-09-10 14:13:30 -07001/*
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
19namespace android {
20
21const char *MEDIA_MIMETYPE_IMAGE_JPEG = "image/jpeg";
22
Andreas Huber072f5242010-05-20 14:56:53 -070023const char *MEDIA_MIMETYPE_VIDEO_VPX = "video/x-vnd.on2.vp8";
Andreas Hubere6c40962009-09-10 14:13:30 -070024const char *MEDIA_MIMETYPE_VIDEO_AVC = "video/avc";
25const char *MEDIA_MIMETYPE_VIDEO_MPEG4 = "video/mp4v-es";
26const char *MEDIA_MIMETYPE_VIDEO_H263 = "video/3gpp";
27const char *MEDIA_MIMETYPE_VIDEO_RAW = "video/raw";
28
29const char *MEDIA_MIMETYPE_AUDIO_AMR_NB = "audio/3gpp";
30const char *MEDIA_MIMETYPE_AUDIO_AMR_WB = "audio/amr-wb";
31const char *MEDIA_MIMETYPE_AUDIO_MPEG = "audio/mpeg";
32const char *MEDIA_MIMETYPE_AUDIO_AAC = "audio/mp4a-latm";
Andreas Huberd0332ad2010-04-12 16:05:57 -070033const char *MEDIA_MIMETYPE_AUDIO_QCELP = "audio/qcelp";
Andreas Huber388379f2010-05-07 10:35:13 -070034const char *MEDIA_MIMETYPE_AUDIO_VORBIS = "audio/vorbis";
Andreas Huber520b2a72010-08-09 09:54:59 -070035const char *MEDIA_MIMETYPE_AUDIO_G711_ALAW = "audio/g711-alaw";
36const char *MEDIA_MIMETYPE_AUDIO_G711_MLAW = "audio/g711-mlaw";
Andreas Hubere6c40962009-09-10 14:13:30 -070037const char *MEDIA_MIMETYPE_AUDIO_RAW = "audio/raw";
Glenn Kastenf9f223e2011-01-13 11:17:00 -080038const char *MEDIA_MIMETYPE_AUDIO_FLAC = "audio/flac";
Gloria Wangc5b0abf2011-02-02 14:12:49 -080039const char *MEDIA_MIMETYPE_AUDIO_AAC_ADTS = "audio/aac-adts";
Andreas Hubere6c40962009-09-10 14:13:30 -070040
41const char *MEDIA_MIMETYPE_CONTAINER_MPEG4 = "video/mpeg4";
Andreas Huber6bce6d82009-11-03 16:00:58 -080042const char *MEDIA_MIMETYPE_CONTAINER_WAV = "audio/wav";
Andreas Huber388379f2010-05-07 10:35:13 -070043const char *MEDIA_MIMETYPE_CONTAINER_OGG = "application/ogg";
Andreas Huber072f5242010-05-20 14:56:53 -070044const char *MEDIA_MIMETYPE_CONTAINER_MATROSKA = "video/x-matroska";
Andreas Hubera557b242010-06-07 13:05:37 -070045const char *MEDIA_MIMETYPE_CONTAINER_MPEG2TS = "video/mp2ts";
Andreas Hubere6c40962009-09-10 14:13:30 -070046
Gloria Wangc2c22e72010-11-01 15:53:16 -070047const char *MEDIA_MIMETYPE_CONTAINER_WVM = "video/wvm";
48
Andreas Hubere6c40962009-09-10 14:13:30 -070049} // namespace android