Mercurial > libavcodec.hg
comparison avcodec.h @ 647:22b22723805e libavcodec
support decoding of the last mpeg "packet" even if no startcode is immedeatly afterwards (fixes bugs with mpeg in avi)
new behavior is only activated if CODEC_FLAG_NOT_TRUNCATED is set
author | michaelni |
---|---|
date | Fri, 06 Sep 2002 22:30:16 +0000 |
parents | 57b9a37546a0 |
children | c7647afc3ce5 |
comparison
equal
deleted
inserted
replaced
646:f87dc45d921d | 647:22b22723805e |
---|---|
117 #define CODEC_FLAG_PASS2 0x0400 /* use internal 2pass ratecontrol in second pass mode */ | 117 #define CODEC_FLAG_PASS2 0x0400 /* use internal 2pass ratecontrol in second pass mode */ |
118 #define CODEC_FLAG_EXTERN_HUFF 0x1000 /* use external huffman table (for mjpeg) */ | 118 #define CODEC_FLAG_EXTERN_HUFF 0x1000 /* use external huffman table (for mjpeg) */ |
119 #define CODEC_FLAG_GRAY 0x2000 /* only decode/encode grayscale */ | 119 #define CODEC_FLAG_GRAY 0x2000 /* only decode/encode grayscale */ |
120 #define CODEC_FLAG_EMU_EDGE 0x4000/* dont draw edges */ | 120 #define CODEC_FLAG_EMU_EDGE 0x4000/* dont draw edges */ |
121 #define CODEC_FLAG_DR1 0x8000 /* dr1 */ | 121 #define CODEC_FLAG_DR1 0x8000 /* dr1 */ |
122 #define CODEC_FLAG_NOT_TRUNCATED 0x00010000 /* input bitstream is not truncated, except before a startcode */ | |
122 /* codec capabilities */ | 123 /* codec capabilities */ |
123 | 124 |
124 /* decoder can use draw_horiz_band callback */ | 125 /* decoder can use draw_horiz_band callback */ |
125 #define CODEC_CAP_DRAW_HORIZ_BAND 0x0001 | 126 #define CODEC_CAP_DRAW_HORIZ_BAND 0x0001 |
126 #define CODEC_CAP_DR1 0x0002 /* direct rendering method 1 */ | 127 #define CODEC_CAP_DR1 0x0002 /* direct rendering method 1 */ |