Mercurial > libavcodec.hg
comparison mpegvideo.h @ 1505:010f76d07a27 libavcodec
use lagrange multipler instead of qp for ratecontrol, this may break some things, tell me ASAP if u notice anything broken
quality which was 1..31 float is now a 1..FF_LAMBDA_MAX int, and FF_QP2LAMBDA * qp can be used to convert to the new range
author | michaelni |
---|---|
date | Tue, 07 Oct 2003 11:32:40 +0000 |
parents | 0355f2b3519a |
children | ad5461bad820 |
comparison
equal
deleted
inserted
replaced
1504:df7ab60d1ee0 | 1505:010f76d07a27 |
---|---|
352 uint8_t *pred_dir_table; ///< used to store pred_dir for partitioned decoding | 352 uint8_t *pred_dir_table; ///< used to store pred_dir for partitioned decoding |
353 uint8_t *allocated_edge_emu_buffer; | 353 uint8_t *allocated_edge_emu_buffer; |
354 uint8_t *edge_emu_buffer; ///< points into the middle of allocated_edge_emu_buffer | 354 uint8_t *edge_emu_buffer; ///< points into the middle of allocated_edge_emu_buffer |
355 | 355 |
356 int qscale; ///< QP | 356 int qscale; ///< QP |
357 float frame_qscale; ///< qscale from the frame level rc FIXME remove | 357 int lambda; ///< lagrange multipler used in rate distortion |
358 int lambda2; ///< (lambda*lambda) >> FF_LAMBDA_SHIFT | |
359 int *lambda_table; | |
358 int adaptive_quant; ///< use adaptive quantization | 360 int adaptive_quant; ///< use adaptive quantization |
359 int dquant; ///< qscale difference to prev qscale | 361 int dquant; ///< qscale difference to prev qscale |
360 int pict_type; ///< I_TYPE, P_TYPE, B_TYPE, ... | 362 int pict_type; ///< I_TYPE, P_TYPE, B_TYPE, ... |
361 int last_pict_type; | 363 int last_pict_type; |
362 int last_non_b_pict_type; ///< used for mpeg4 gmc b-frames & ratecontrol | 364 int last_non_b_pict_type; ///< used for mpeg4 gmc b-frames & ratecontrol |