Mercurial > libavcodec.hg
comparison libxvid_rc.c @ 6481:493dc59d469a libavcodec
add FF_ prefix to all (frame)_TYPE usage
author | aurel |
---|---|
date | Sun, 09 Mar 2008 23:31:02 +0000 |
parents | c3f2379b80db |
children | 25dcd46b8160 |
comparison
equal
deleted
inserted
replaced
6480:6f01a499e785 | 6481:493dc59d469a |
---|---|
132 } | 132 } |
133 xvid_plg_data.quant= s->rc_context.dry_run_qscale; | 133 xvid_plg_data.quant= s->rc_context.dry_run_qscale; |
134 if(!dry_run) | 134 if(!dry_run) |
135 s->rc_context.dry_run_qscale= 0; | 135 s->rc_context.dry_run_qscale= 0; |
136 | 136 |
137 if(s->pict_type == B_TYPE) //FIXME this is not exactly identical to xvid | 137 if(s->pict_type == FF_B_TYPE) //FIXME this is not exactly identical to xvid |
138 return xvid_plg_data.quant * FF_QP2LAMBDA * s->avctx->b_quant_factor + s->avctx->b_quant_offset; | 138 return xvid_plg_data.quant * FF_QP2LAMBDA * s->avctx->b_quant_factor + s->avctx->b_quant_offset; |
139 else | 139 else |
140 return xvid_plg_data.quant * FF_QP2LAMBDA; | 140 return xvid_plg_data.quant * FF_QP2LAMBDA; |
141 } | 141 } |
142 | 142 |