Andreas Huber | 18291bc | 2009-09-10 14:13:30 -0700 | [diff] [blame] | 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 | |
Andreas Huber | 093437c | 2010-05-20 14:56:53 -0700 | [diff] [blame] | 23 | const char *MEDIA_MIMETYPE_VIDEO_VPX = "video/x-vnd.on2.vp8"; |
Andreas Huber | 18291bc | 2009-09-10 14:13:30 -0700 | [diff] [blame] | 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_RAW = "video/raw"; |
| 28 | |
| 29 | const char *MEDIA_MIMETYPE_AUDIO_AMR_NB = "audio/3gpp"; |
| 30 | const char *MEDIA_MIMETYPE_AUDIO_AMR_WB = "audio/amr-wb"; |
| 31 | const char *MEDIA_MIMETYPE_AUDIO_MPEG = "audio/mpeg"; |
| 32 | const char *MEDIA_MIMETYPE_AUDIO_AAC = "audio/mp4a-latm"; |
Andreas Huber | 81f82c3 | 2010-04-12 16:05:57 -0700 | [diff] [blame] | 33 | const char *MEDIA_MIMETYPE_AUDIO_QCELP = "audio/qcelp"; |
Andreas Huber | ee7ff20 | 2010-05-07 10:35:13 -0700 | [diff] [blame] | 34 | const char *MEDIA_MIMETYPE_AUDIO_VORBIS = "audio/vorbis"; |
Andreas Huber | 42d66f2 | 2010-08-09 09:54:59 -0700 | [diff] [blame^] | 35 | const char *MEDIA_MIMETYPE_AUDIO_G711_ALAW = "audio/g711-alaw"; |
| 36 | const char *MEDIA_MIMETYPE_AUDIO_G711_MLAW = "audio/g711-mlaw"; |
Andreas Huber | 18291bc | 2009-09-10 14:13:30 -0700 | [diff] [blame] | 37 | const char *MEDIA_MIMETYPE_AUDIO_RAW = "audio/raw"; |
| 38 | |
| 39 | const char *MEDIA_MIMETYPE_CONTAINER_MPEG4 = "video/mpeg4"; |
Andreas Huber | 0dba737 | 2009-11-03 16:00:58 -0800 | [diff] [blame] | 40 | const char *MEDIA_MIMETYPE_CONTAINER_WAV = "audio/wav"; |
Andreas Huber | ee7ff20 | 2010-05-07 10:35:13 -0700 | [diff] [blame] | 41 | const char *MEDIA_MIMETYPE_CONTAINER_OGG = "application/ogg"; |
Andreas Huber | 093437c | 2010-05-20 14:56:53 -0700 | [diff] [blame] | 42 | const char *MEDIA_MIMETYPE_CONTAINER_MATROSKA = "video/x-matroska"; |
Andreas Huber | cda17c6 | 2010-06-07 13:05:37 -0700 | [diff] [blame] | 43 | const char *MEDIA_MIMETYPE_CONTAINER_MPEG2TS = "video/mp2ts"; |
Andreas Huber | 18291bc | 2009-09-10 14:13:30 -0700 | [diff] [blame] | 44 | |
| 45 | } // namespace android |