Mercurial > libavcodec.hg
comparison mpegvideo.h @ 3939:16ace038f452 libavcodec
fix buffer underflows by reencoding the current frame with a higher QP
author | michael |
---|---|
date | Thu, 05 Oct 2006 19:27:18 +0000 |
parents | 730ad999e379 |
children | c8c591fe26f8 |
comparison
equal
deleted
inserted
replaced
3938:92d8a536268f | 3939:16ace038f452 |
---|---|
457 | 457 |
458 /* bit rate control */ | 458 /* bit rate control */ |
459 int64_t wanted_bits; | 459 int64_t wanted_bits; |
460 int64_t total_bits; | 460 int64_t total_bits; |
461 int frame_bits; ///< bits used for the current frame | 461 int frame_bits; ///< bits used for the current frame |
462 int next_lambda; ///< next lambda used for retrying to encode a frame | |
462 RateControlContext rc_context; ///< contains stuff only accessed in ratecontrol.c | 463 RateControlContext rc_context; ///< contains stuff only accessed in ratecontrol.c |
463 | 464 |
464 /* statistics, used for 2-pass encoding */ | 465 /* statistics, used for 2-pass encoding */ |
465 int mv_bits; | 466 int mv_bits; |
466 int header_bits; | 467 int header_bits; |