Mercurial > libavcodec.hg
comparison mpeg12.c @ 936:caa77cd960c0 libavcodec
qpel encoding
4mv+b frames encoding finally fixed
chroma ME
5 comparission functions for ME
b frame encoding speedup
wmv2 codec (unfinished)
user specified diamond size for EPZS
author | michaelni |
---|---|
date | Fri, 27 Dec 2002 23:51:46 +0000 |
parents | 8254eac24488 |
children | 9be53be2d1a9 |
comparison
equal
deleted
inserted
replaced
935:c9bbd35064b6 | 936:caa77cd960c0 |
---|---|
524 for(mv=-(8<<f_code); mv<(8<<f_code); mv++){ | 524 for(mv=-(8<<f_code); mv<(8<<f_code); mv++){ |
525 fcode_tab[mv+MAX_MV]= f_code; | 525 fcode_tab[mv+MAX_MV]= f_code; |
526 } | 526 } |
527 } | 527 } |
528 } | 528 } |
529 s->mv_penalty= mv_penalty; | 529 s->me.mv_penalty= mv_penalty; |
530 s->fcode_tab= fcode_tab; | 530 s->fcode_tab= fcode_tab; |
531 s->min_qcoeff=-255; | 531 s->min_qcoeff=-255; |
532 s->max_qcoeff= 255; | 532 s->max_qcoeff= 255; |
533 s->intra_quant_bias= 3<<(QUANT_BIAS_SHIFT-3); //(a + x*3/8)/x | 533 s->intra_quant_bias= 3<<(QUANT_BIAS_SHIFT-3); //(a + x*3/8)/x |
534 s->inter_quant_bias= 0; | 534 s->inter_quant_bias= 0; |