changeset 4315:671a64d357e0 libavcodec

dont randomly dissallow direct MBs some PSNR/bitrate gain for b frames with adaptive quant or QPRD
author michael
date Thu, 21 Dec 2006 13:23:49 +0000
parents 5ed8f8fd71e9
children fabb67829f3f
files h263.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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; i<s->mb_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;
             }
         }