MediaDefs.h revision 94705aff3c9eef58cbb72ec6fe5d2dcfd9481646
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 21namespace android { 22 23extern const char *MEDIA_MIMETYPE_IMAGE_JPEG; 24 25extern const char *MEDIA_MIMETYPE_VIDEO_VP8; 26extern const char *MEDIA_MIMETYPE_VIDEO_VP9; 27extern const char *MEDIA_MIMETYPE_VIDEO_AVC; 28extern const char *MEDIA_MIMETYPE_VIDEO_MPEG4; 29extern const char *MEDIA_MIMETYPE_VIDEO_H263; 30extern const char *MEDIA_MIMETYPE_VIDEO_MPEG2; 31extern const char *MEDIA_MIMETYPE_VIDEO_RAW; 32 33extern const char *MEDIA_MIMETYPE_AUDIO_AMR_NB; 34extern const char *MEDIA_MIMETYPE_AUDIO_AMR_WB; 35extern const char *MEDIA_MIMETYPE_AUDIO_MPEG; // layer III 36extern const char *MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_I; 37extern const char *MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_II; 38extern const char *MEDIA_MIMETYPE_AUDIO_AAC; 39extern const char *MEDIA_MIMETYPE_AUDIO_QCELP; 40extern const char *MEDIA_MIMETYPE_AUDIO_VORBIS; 41extern const char *MEDIA_MIMETYPE_AUDIO_G711_ALAW; 42extern const char *MEDIA_MIMETYPE_AUDIO_G711_MLAW; 43extern const char *MEDIA_MIMETYPE_AUDIO_RAW; 44extern const char *MEDIA_MIMETYPE_AUDIO_FLAC; 45extern const char *MEDIA_MIMETYPE_AUDIO_AAC_ADTS; 46extern const char *MEDIA_MIMETYPE_AUDIO_MSGSM; 47 48extern const char *MEDIA_MIMETYPE_CONTAINER_MPEG4; 49extern const char *MEDIA_MIMETYPE_CONTAINER_WAV; 50extern const char *MEDIA_MIMETYPE_CONTAINER_OGG; 51extern const char *MEDIA_MIMETYPE_CONTAINER_MATROSKA; 52extern const char *MEDIA_MIMETYPE_CONTAINER_MPEG2TS; 53extern const char *MEDIA_MIMETYPE_CONTAINER_AVI; 54extern const char *MEDIA_MIMETYPE_CONTAINER_MPEG2PS; 55 56extern const char *MEDIA_MIMETYPE_CONTAINER_WVM; 57 58extern const char *MEDIA_MIMETYPE_TEXT_3GPP; 59extern const char *MEDIA_MIMETYPE_TEXT_SUBRIP; 60 61} // namespace android 62 63#endif // MEDIA_DEFS_H_ 64