MediaDefs.cpp revision 093437c388e5dff6903a3d43f2ca9f8a1ba4744a
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
19namespace android {
20
21const char *MEDIA_MIMETYPE_IMAGE_JPEG = "image/jpeg";
22
23const char *MEDIA_MIMETYPE_VIDEO_VPX = "video/x-vnd.on2.vp8";
24const 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";
33const char *MEDIA_MIMETYPE_AUDIO_QCELP = "audio/qcelp";
34const char *MEDIA_MIMETYPE_AUDIO_VORBIS = "audio/vorbis";
35const char *MEDIA_MIMETYPE_AUDIO_RAW = "audio/raw";
36
37const char *MEDIA_MIMETYPE_CONTAINER_MPEG4 = "video/mpeg4";
38const char *MEDIA_MIMETYPE_CONTAINER_WAV = "audio/wav";
39const char *MEDIA_MIMETYPE_CONTAINER_OGG = "application/ogg";
40const char *MEDIA_MIMETYPE_CONTAINER_MATROSKA = "video/x-matroska";
41
42}  // namespace android
43