comparison avcodec.h @ 1092:f59c3f66363b libavcodec

MpegEncContext.(i)dct_* -> DspContext.(i)dct_* bitexact cleanup
author michaelni
date Mon, 03 Mar 2003 14:54:00 +0000
parents 03df246fb06b
children c7604e6291c5
comparison
equal deleted inserted replaced
1091:03df246fb06b 1092:f59c3f66363b
14 14
15 #include "common.h" 15 #include "common.h"
16 16
17 #define LIBAVCODEC_VERSION_INT 0x000406 17 #define LIBAVCODEC_VERSION_INT 0x000406
18 #define LIBAVCODEC_VERSION "0.4.6" 18 #define LIBAVCODEC_VERSION "0.4.6"
19 #define LIBAVCODEC_BUILD 4659 19 #define LIBAVCODEC_BUILD 4660
20 #define LIBAVCODEC_BUILD_STR "4659" 20 #define LIBAVCODEC_BUILD_STR "4660"
21 21
22 enum CodecID { 22 enum CodecID {
23 CODEC_ID_NONE, 23 CODEC_ID_NONE,
24 CODEC_ID_MPEG1VIDEO, 24 CODEC_ID_MPEG1VIDEO,
25 CODEC_ID_H263, 25 CODEC_ID_H263,
157 #define CODEC_FLAG_INTERLACED_DCT 0x00040000 /* use interlaced dct */ 157 #define CODEC_FLAG_INTERLACED_DCT 0x00040000 /* use interlaced dct */
158 #define CODEC_FLAG_LOW_DELAY 0x00080000 /* force low delay / will fail on b frames */ 158 #define CODEC_FLAG_LOW_DELAY 0x00080000 /* force low delay / will fail on b frames */
159 #define CODEC_FLAG_ALT_SCAN 0x00100000 /* use alternate scan */ 159 #define CODEC_FLAG_ALT_SCAN 0x00100000 /* use alternate scan */
160 #define CODEC_FLAG_TRELLIS_QUANT 0x00200000 /* use trellis quantization */ 160 #define CODEC_FLAG_TRELLIS_QUANT 0x00200000 /* use trellis quantization */
161 #define CODEC_FLAG_GLOBAL_HEADER 0x00400000 /* place global headers in extradata instead of every keyframe */ 161 #define CODEC_FLAG_GLOBAL_HEADER 0x00400000 /* place global headers in extradata instead of every keyframe */
162 #define CODEC_FLAG_BITEXACT 0x00800000 /* use only bitexact stuff (except (i)dct) */
162 163
163 /* codec capabilities */ 164 /* codec capabilities */
164 165
165 #define CODEC_CAP_DRAW_HORIZ_BAND 0x0001 /* decoder can use draw_horiz_band callback */ 166 #define CODEC_CAP_DRAW_HORIZ_BAND 0x0001 /* decoder can use draw_horiz_band callback */
166 #define CODEC_CAP_DR1 0x0002 /* direct rendering method 1 */ 167 #define CODEC_CAP_DR1 0x0002 /* direct rendering method 1 */
1165 unsigned avcodec_version(void); 1166 unsigned avcodec_version(void);
1166 /* returns LIBAVCODEC_BUILD constant */ 1167 /* returns LIBAVCODEC_BUILD constant */
1167 unsigned avcodec_build(void); 1168 unsigned avcodec_build(void);
1168 void avcodec_init(void); 1169 void avcodec_init(void);
1169 1170
1170 void avcodec_set_bit_exact(void);
1171
1172 void register_avcodec(AVCodec *format); 1171 void register_avcodec(AVCodec *format);
1173 AVCodec *avcodec_find_encoder(enum CodecID id); 1172 AVCodec *avcodec_find_encoder(enum CodecID id);
1174 AVCodec *avcodec_find_encoder_by_name(const char *name); 1173 AVCodec *avcodec_find_encoder_by_name(const char *name);
1175 AVCodec *avcodec_find_decoder(enum CodecID id); 1174 AVCodec *avcodec_find_decoder(enum CodecID id);
1176 AVCodec *avcodec_find_decoder_by_name(const char *name); 1175 AVCodec *avcodec_find_decoder_by_name(const char *name);