Andreas Huber | e6c4096 | 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 | #ifndef MEDIA_DEFS_H_ |
| 18 | |
| 19 | #define MEDIA_DEFS_H_ |
| 20 | |
| 21 | namespace android { |
| 22 | |
| 23 | extern const char *MEDIA_MIMETYPE_IMAGE_JPEG; |
| 24 | |
Andreas Huber | 072f524 | 2010-05-20 14:56:53 -0700 | [diff] [blame] | 25 | extern const char *MEDIA_MIMETYPE_VIDEO_VPX; |
Andreas Huber | e6c4096 | 2009-09-10 14:13:30 -0700 | [diff] [blame] | 26 | extern const char *MEDIA_MIMETYPE_VIDEO_AVC; |
| 27 | extern const char *MEDIA_MIMETYPE_VIDEO_MPEG4; |
| 28 | extern const char *MEDIA_MIMETYPE_VIDEO_H263; |
| 29 | extern const char *MEDIA_MIMETYPE_VIDEO_RAW; |
| 30 | |
| 31 | extern const char *MEDIA_MIMETYPE_AUDIO_AMR_NB; |
| 32 | extern const char *MEDIA_MIMETYPE_AUDIO_AMR_WB; |
| 33 | extern const char *MEDIA_MIMETYPE_AUDIO_MPEG; |
| 34 | extern const char *MEDIA_MIMETYPE_AUDIO_AAC; |
Andreas Huber | d0332ad | 2010-04-12 16:05:57 -0700 | [diff] [blame] | 35 | extern const char *MEDIA_MIMETYPE_AUDIO_QCELP; |
Andreas Huber | 388379f | 2010-05-07 10:35:13 -0700 | [diff] [blame] | 36 | extern const char *MEDIA_MIMETYPE_AUDIO_VORBIS; |
Andreas Huber | 520b2a7 | 2010-08-09 09:54:59 -0700 | [diff] [blame] | 37 | extern const char *MEDIA_MIMETYPE_AUDIO_G711_ALAW; |
| 38 | extern const char *MEDIA_MIMETYPE_AUDIO_G711_MLAW; |
Andreas Huber | e6c4096 | 2009-09-10 14:13:30 -0700 | [diff] [blame] | 39 | extern const char *MEDIA_MIMETYPE_AUDIO_RAW; |
Glenn Kasten | f9f223e | 2011-01-13 11:17:00 -0800 | [diff] [blame] | 40 | extern const char *MEDIA_MIMETYPE_AUDIO_FLAC; |
Gloria Wang | c5b0abf | 2011-02-02 14:12:49 -0800 | [diff] [blame] | 41 | extern const char *MEDIA_MIMETYPE_AUDIO_AAC_ADTS; |
Andreas Huber | e6c4096 | 2009-09-10 14:13:30 -0700 | [diff] [blame] | 42 | |
| 43 | extern const char *MEDIA_MIMETYPE_CONTAINER_MPEG4; |
Andreas Huber | 6bce6d8 | 2009-11-03 16:00:58 -0800 | [diff] [blame] | 44 | extern const char *MEDIA_MIMETYPE_CONTAINER_WAV; |
Andreas Huber | 388379f | 2010-05-07 10:35:13 -0700 | [diff] [blame] | 45 | extern const char *MEDIA_MIMETYPE_CONTAINER_OGG; |
Andreas Huber | 072f524 | 2010-05-20 14:56:53 -0700 | [diff] [blame] | 46 | extern const char *MEDIA_MIMETYPE_CONTAINER_MATROSKA; |
Andreas Huber | a557b24 | 2010-06-07 13:05:37 -0700 | [diff] [blame] | 47 | extern const char *MEDIA_MIMETYPE_CONTAINER_MPEG2TS; |
Andreas Huber | cabb7da | 2011-03-24 14:18:02 -0700 | [diff] [blame] | 48 | extern const char *MEDIA_MIMETYPE_CONTAINER_AVI; |
Andreas Huber | e6c4096 | 2009-09-10 14:13:30 -0700 | [diff] [blame] | 49 | |
Gloria Wang | c2c22e7 | 2010-11-01 15:53:16 -0700 | [diff] [blame] | 50 | extern const char *MEDIA_MIMETYPE_CONTAINER_WVM; |
| 51 | |
Gloria Wang | c6091dd | 2011-05-03 15:59:03 -0700 | [diff] [blame] | 52 | extern const char *MEDIA_MIMETYPE_TEXT_3GPP; |
| 53 | |
Andreas Huber | e6c4096 | 2009-09-10 14:13:30 -0700 | [diff] [blame] | 54 | } // namespace android |
| 55 | |
| 56 | #endif // MEDIA_DEFS_H_ |