aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/nut.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-07 22:45:46 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-07 22:45:46 +0200
commit7a72695c05f12f21a62dc99fa64d1726fc11b236 (patch)
treee8f1a2813c4cd1fd8bd0ac5f764c7fd676ab85af /libavformat/nut.c
parent49440853d0c1e740daee0e2df1e65d5e67b1ad6b (diff)
parent36ef5369ee9b336febc2c270f8718cec4476cb85 (diff)
downloadffmpeg-7a72695c05f12f21a62dc99fa64d1726fc11b236.tar.gz
Merge commit '36ef5369ee9b336febc2c270f8718cec4476cb85'
* commit '36ef5369ee9b336febc2c270f8718cec4476cb85': Replace all CODEC_ID_* with AV_CODEC_ID_* lavc: add AV prefix to codec ids. Conflicts: doc/APIchanges doc/examples/decoding_encoding.c doc/examples/muxing.c ffmpeg.c ffprobe.c ffserver.c libavcodec/8svx.c libavcodec/avcodec.h libavcodec/dnxhd_parser.c libavcodec/dvdsubdec.c libavcodec/error_resilience.c libavcodec/h263dec.c libavcodec/libvorbisenc.c libavcodec/mjpeg_parser.c libavcodec/mjpegenc.c libavcodec/mpeg12.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/pcm.c libavcodec/r210dec.c libavcodec/utils.c libavcodec/v210dec.c libavcodec/version.h libavdevice/alsa-audio-dec.c libavdevice/bktr.c libavdevice/v4l2.c libavformat/asfdec.c libavformat/asfenc.c libavformat/avformat.h libavformat/avidec.c libavformat/caf.c libavformat/electronicarts.c libavformat/flacdec.c libavformat/flvdec.c libavformat/flvenc.c libavformat/framecrcenc.c libavformat/img2.c libavformat/img2dec.c libavformat/img2enc.c libavformat/ipmovie.c libavformat/isom.c libavformat/matroska.c libavformat/matroskadec.c libavformat/matroskaenc.c libavformat/mov.c libavformat/movenc.c libavformat/mp3dec.c libavformat/mpeg.c libavformat/mpegts.c libavformat/mxf.c libavformat/mxfdec.c libavformat/mxfenc.c libavformat/nsvdec.c libavformat/nut.c libavformat/oggenc.c libavformat/pmpdec.c libavformat/rawdec.c libavformat/rawenc.c libavformat/riff.c libavformat/sdp.c libavformat/utils.c libavformat/vocenc.c libavformat/wtv.c libavformat/xmv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/nut.c')
-rw-r--r--libavformat/nut.c162
1 files changed, 81 insertions, 81 deletions
diff --git a/libavformat/nut.c b/libavformat/nut.c
index 4684cbe20b..7e3c83a291 100644
--- a/libavformat/nut.c
+++ b/libavformat/nut.c
@@ -25,90 +25,90 @@
#include "internal.h"
const AVCodecTag ff_nut_subtitle_tags[] = {
- { CODEC_ID_TEXT , MKTAG('U', 'T', 'F', '8') },
- { CODEC_ID_SSA , MKTAG('S', 'S', 'A', 0 ) },
- { CODEC_ID_DVD_SUBTITLE, MKTAG('D', 'V', 'D', 'S') },
- { CODEC_ID_DVB_SUBTITLE, MKTAG('D', 'V', 'B', 'S') },
- { CODEC_ID_NONE , 0 }
+ { AV_CODEC_ID_TEXT , MKTAG('U', 'T', 'F', '8') },
+ { AV_CODEC_ID_SSA , MKTAG('S', 'S', 'A', 0 ) },
+ { AV_CODEC_ID_DVD_SUBTITLE, MKTAG('D', 'V', 'D', 'S') },
+ { AV_CODEC_ID_DVB_SUBTITLE, MKTAG('D', 'V', 'B', 'S') },
+ { AV_CODEC_ID_NONE , 0 }
};
const AVCodecTag ff_nut_video_tags[] = {
- { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 15 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 15 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 16 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 16 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(15 , 'B', 'G', 'R') },
- { CODEC_ID_RAWVIDEO, MKTAG(15 , 'R', 'G', 'B') },
- { CODEC_ID_RAWVIDEO, MKTAG(16 , 'B', 'G', 'R') },
- { CODEC_ID_RAWVIDEO, MKTAG(16 , 'R', 'G', 'B') },
- { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 12 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 12 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(12 , 'B', 'G', 'R') },
- { CODEC_ID_RAWVIDEO, MKTAG(12 , 'R', 'G', 'B') },
- { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 'A') },
- { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 0 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 'A') },
- { CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 0 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('A', 'B', 'G', 'R') },
- { CODEC_ID_RAWVIDEO, MKTAG( 0 , 'B', 'G', 'R') },
- { CODEC_ID_RAWVIDEO, MKTAG('A', 'R', 'G', 'B') },
- { CODEC_ID_RAWVIDEO, MKTAG( 0 , 'R', 'G', 'B') },
- { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 24 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 24 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('4', '1', '1', 'P') },
- { CODEC_ID_RAWVIDEO, MKTAG('4', '2', '2', 'P') },
- { CODEC_ID_RAWVIDEO, MKTAG('4', '2', '2', 'P') },
- { CODEC_ID_RAWVIDEO, MKTAG('4', '4', '0', 'P') },
- { CODEC_ID_RAWVIDEO, MKTAG('4', '4', '0', 'P') },
- { CODEC_ID_RAWVIDEO, MKTAG('4', '4', '4', 'P') },
- { CODEC_ID_RAWVIDEO, MKTAG('4', '4', '4', 'P') },
- { CODEC_ID_RAWVIDEO, MKTAG('B', '1', 'W', '0') },
- { CODEC_ID_RAWVIDEO, MKTAG('B', '0', 'W', '1') },
- { CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 8 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 8 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 4 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 4 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('B', '4', 'B', 'Y') },
- { CODEC_ID_RAWVIDEO, MKTAG('R', '4', 'B', 'Y') },
- { CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 48 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 48 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(48 , 'B', 'G', 'R') },
- { CODEC_ID_RAWVIDEO, MKTAG(48 , 'R', 'G', 'B') },
- { CODEC_ID_RAWVIDEO, MKTAG('B', 'R', 'A', 64 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('R', 'B', 'A', 64 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(64 , 'B', 'R', 'A') },
- { CODEC_ID_RAWVIDEO, MKTAG(64 , 'R', 'B', 'A') },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 11 , 10 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(10 , 11 , '3', 'Y') },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 10 , 10 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(10 , 10 , '3', 'Y') },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 0 , 10 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(10 , 0 , '3', 'Y') },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 11 , 12 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(12 , 11 , '3', 'Y') },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 10 , 12 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(12 , 10 , '3', 'Y') },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 0 , 12 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(12 , 0 , '3', 'Y') },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 11 , 14 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(14 , 11 , '3', 'Y') },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 10 , 14 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(14 , 10 , '3', 'Y') },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 0 , 14 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(14 , 0 , '3', 'Y') },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '1', 0 , 16 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(16 , 0 , '1', 'Y') },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 11 , 16 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(16 , 11 , '3', 'Y') },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 10 , 16 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(16 , 10 , '3', 'Y') },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 0 , 16 ) },
- { CODEC_ID_RAWVIDEO, MKTAG(16 , 0 , '3', 'Y') },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '4', 11 , 8 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '4', 10 , 8 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '4', 0 , 8 ) },
- { CODEC_ID_RAWVIDEO, MKTAG('Y', '2', 0 , 8 ) },
- { CODEC_ID_NONE , 0 }
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 15 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 15 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 16 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 16 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(15 , 'B', 'G', 'R') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(15 , 'R', 'G', 'B') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(16 , 'B', 'G', 'R') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(16 , 'R', 'G', 'B') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 12 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 12 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(12 , 'B', 'G', 'R') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(12 , 'R', 'G', 'B') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 'A') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 0 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 'A') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 0 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('A', 'B', 'G', 'R') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG( 0 , 'B', 'G', 'R') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('A', 'R', 'G', 'B') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG( 0 , 'R', 'G', 'B') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 24 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 24 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('4', '1', '1', 'P') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('4', '2', '2', 'P') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('4', '2', '2', 'P') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('4', '4', '0', 'P') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('4', '4', '0', 'P') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('4', '4', '4', 'P') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('4', '4', '4', 'P') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('B', '1', 'W', '0') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('B', '0', 'W', '1') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 8 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 8 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 4 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 4 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('B', '4', 'B', 'Y') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('R', '4', 'B', 'Y') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 48 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 48 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(48 , 'B', 'G', 'R') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(48 , 'R', 'G', 'B') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'R', 'A', 64 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('R', 'B', 'A', 64 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(64 , 'B', 'R', 'A') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(64 , 'R', 'B', 'A') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 11 , 10 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(10 , 11 , '3', 'Y') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 10 , 10 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(10 , 10 , '3', 'Y') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 0 , 10 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(10 , 0 , '3', 'Y') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 11 , 12 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(12 , 11 , '3', 'Y') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 10 , 12 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(12 , 10 , '3', 'Y') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 0 , 12 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(12 , 0 , '3', 'Y') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 11 , 14 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(14 , 11 , '3', 'Y') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 10 , 14 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(14 , 10 , '3', 'Y') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 0 , 14 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(14 , 0 , '3', 'Y') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '1', 0 , 16 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(16 , 0 , '1', 'Y') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 11 , 16 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(16 , 11 , '3', 'Y') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 10 , 16 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(16 , 10 , '3', 'Y') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 0 , 16 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG(16 , 0 , '3', 'Y') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '4', 11 , 8 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '4', 10 , 8 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '4', 0 , 8 ) },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', '2', 0 , 8 ) },
+ { AV_CODEC_ID_NONE , 0 }
};
void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val){