# HG changeset patch # User michael # Date 1166707429 0 # Node ID 671a64d357e0774c2025f94a450449cbb856c6e6 # Parent 5ed8f8fd71e99afbd9ec0fa820693565ef2e9500 dont randomly dissallow direct MBs some PSNR/bitrate gain for b frames with adaptive quant or QPRD diff -r 5ed8f8fd71e9 -r 671a64d357e0 h263.c --- a/h263.c Wed Dec 20 23:43:13 2006 +0000 +++ b/h263.c Thu Dec 21 13:23:49 2006 +0000 @@ -546,7 +546,6 @@ for(i=1; imb_num; i++){ int mb_xy= s->mb_index2xy[i]; if(qscale_table[mb_xy] != qscale_table[s->mb_index2xy[i-1]] && (s->mb_type[mb_xy]&CANDIDATE_MB_TYPE_DIRECT)){ - s->mb_type[mb_xy]&= ~CANDIDATE_MB_TYPE_DIRECT; s->mb_type[mb_xy]|= CANDIDATE_MB_TYPE_BIDIR; } }