comparison mpegvideo.h @ 411:5c8b3a717929 libavcodec

workaround dc_scale bug in old ffmpeg msmpeg4v3 encoder (set workaround_bugs=1 for this)
author michaelni
date Tue, 21 May 2002 23:13:57 +0000
parents ba9c3b8088c0
children 718a22dc121f
comparison
equal deleted inserted replaced
410:8aba98b353f0 411:5c8b3a717929
97 int force_input_type;/* 0= no force, otherwise I_TYPE, P_TYPE, ... */ 97 int force_input_type;/* 0= no force, otherwise I_TYPE, P_TYPE, ... */
98 int max_b_frames; /* max number of b-frames for encoding */ 98 int max_b_frames; /* max number of b-frames for encoding */
99 float b_quant_factor;/* qscale factor between ips and b frames */ 99 float b_quant_factor;/* qscale factor between ips and b frames */
100 int rc_strategy; 100 int rc_strategy;
101 int b_frame_strategy; 101 int b_frame_strategy;
102 int workaround_bugs; /* workaround bugs in encoders which cannot be detected automatically */
102 /* the following fields are managed internally by the encoder */ 103 /* the following fields are managed internally by the encoder */
103 104
104 /* bit output */ 105 /* bit output */
105 PutBitContext pb; 106 PutBitContext pb;
106 107
489 int msmpeg4_decode_picture_header(MpegEncContext * s); 490 int msmpeg4_decode_picture_header(MpegEncContext * s);
490 int msmpeg4_decode_ext_header(MpegEncContext * s, int buf_size); 491 int msmpeg4_decode_ext_header(MpegEncContext * s, int buf_size);
491 int msmpeg4_decode_mb(MpegEncContext *s, 492 int msmpeg4_decode_mb(MpegEncContext *s,
492 DCTELEM block[6][64]); 493 DCTELEM block[6][64]);
493 int msmpeg4_decode_init_vlc(MpegEncContext *s); 494 int msmpeg4_decode_init_vlc(MpegEncContext *s);
495 void ff_old_msmpeg4_dc_scale(MpegEncContext *s);
494 496
495 /* mjpegenc.c */ 497 /* mjpegenc.c */
496 498
497 int mjpeg_init(MpegEncContext *s); 499 int mjpeg_init(MpegEncContext *s);
498 void mjpeg_close(MpegEncContext *s); 500 void mjpeg_close(MpegEncContext *s);