Mercurial > libavformat.hg
comparison mov.c @ 1677:2a85c82b8538 libavformat
add codec_id <-> codec_tag tables to AVIn/OutputFormat
author | michael |
---|---|
date | Sun, 21 Jan 2007 01:39:17 +0000 |
parents | a782462e2497 |
children | 0d0826c53aec |
comparison
equal
deleted
inserted
replaced
1676:507177b7444c | 1677:2a85c82b8538 |
---|---|
64 | 64 |
65 | 65 |
66 #undef NDEBUG | 66 #undef NDEBUG |
67 #include <assert.h> | 67 #include <assert.h> |
68 | 68 |
69 static const CodecTag mov_video_tags[] = { | 69 static const AVCodecTag mov_video_tags[] = { |
70 /* { CODEC_ID_, MKTAG('c', 'v', 'i', 'd') }, *//* Cinepak */ | 70 /* { CODEC_ID_, MKTAG('c', 'v', 'i', 'd') }, *//* Cinepak */ |
71 /* { CODEC_ID_H263, MKTAG('r', 'a', 'w', ' ') }, *//* Uncompressed RGB */ | 71 /* { CODEC_ID_H263, MKTAG('r', 'a', 'w', ' ') }, *//* Uncompressed RGB */ |
72 /* { CODEC_ID_H263, MKTAG('Y', 'u', 'v', '2') }, *//* Uncompressed YUV422 */ | 72 /* { CODEC_ID_H263, MKTAG('Y', 'u', 'v', '2') }, *//* Uncompressed YUV422 */ |
73 /* { CODEC_ID_RAWVIDEO, MKTAG('A', 'V', 'U', 'I') }, *//* YUV with alpha-channel (AVID Uncompressed) */ | 73 /* { CODEC_ID_RAWVIDEO, MKTAG('A', 'V', 'U', 'I') }, *//* YUV with alpha-channel (AVID Uncompressed) */ |
74 /* Graphics */ | 74 /* Graphics */ |
125 { CODEC_ID_WMV3, MKTAG('v', 'c', '-', '1') }, /* SMPTE RP 2025 */ | 125 { CODEC_ID_WMV3, MKTAG('v', 'c', '-', '1') }, /* SMPTE RP 2025 */ |
126 { CODEC_ID_PNG, MKTAG('p', 'n', 'g', ' ') }, | 126 { CODEC_ID_PNG, MKTAG('p', 'n', 'g', ' ') }, |
127 { CODEC_ID_NONE, 0 }, | 127 { CODEC_ID_NONE, 0 }, |
128 }; | 128 }; |
129 | 129 |
130 static const CodecTag mov_audio_tags[] = { | 130 static const AVCodecTag mov_audio_tags[] = { |
131 { CODEC_ID_PCM_S32BE, MKTAG('i', 'n', '3', '2') }, | 131 { CODEC_ID_PCM_S32BE, MKTAG('i', 'n', '3', '2') }, |
132 { CODEC_ID_PCM_S24BE, MKTAG('i', 'n', '2', '4') }, | 132 { CODEC_ID_PCM_S24BE, MKTAG('i', 'n', '2', '4') }, |
133 { CODEC_ID_PCM_S16BE, MKTAG('N', 'O', 'N', 'E') }, /* uncompressed */ | 133 { CODEC_ID_PCM_S16BE, MKTAG('N', 'O', 'N', 'E') }, /* uncompressed */ |
134 { CODEC_ID_PCM_S16BE, MKTAG('t', 'w', 'o', 's') }, /* 16 bits */ | 134 { CODEC_ID_PCM_S16BE, MKTAG('t', 'w', 'o', 's') }, /* 16 bits */ |
135 { CODEC_ID_PCM_U8, MKTAG('r', 'a', 'w', ' ') }, /* 8 bits unsigned */ | 135 { CODEC_ID_PCM_U8, MKTAG('r', 'a', 'w', ' ') }, /* 8 bits unsigned */ |