comparison h264.h @ 11102:3b135f70c097 libavcodec

Remove an apparently unneeded && !FRAME_MBAFF. This should speed the affected cases (MBAFF temporal direct MBs) up.
author michael
date Mon, 08 Feb 2010 04:24:50 +0000
parents 4aa724a692f5
children 0f7dcfca7b2e
comparison
equal deleted inserted replaced
11101:a82b9c88682f 11102:3b135f70c097
988 h->ref_cache[list][cache_idx ]= 988 h->ref_cache[list][cache_idx ]=
989 h->ref_cache[list][cache_idx+8]= (left_type[i]) ? LIST_NOT_USED : PART_NOT_AVAILABLE; 989 h->ref_cache[list][cache_idx+8]= (left_type[i]) ? LIST_NOT_USED : PART_NOT_AVAILABLE;
990 } 990 }
991 } 991 }
992 992
993 if((IS_DIRECT(mb_type) && !h->direct_spatial_mv_pred) && !FRAME_MBAFF) 993 if((IS_DIRECT(mb_type) && !h->direct_spatial_mv_pred))
994 continue; 994 continue;
995 995
996 if(USES_LIST(topleft_type, list)){ 996 if(USES_LIST(topleft_type, list)){
997 const int b_xy = h->mb2b_xy[topleft_xy] + 3 + h->b_stride + (topleft_partition & 2*h->b_stride); 997 const int b_xy = h->mb2b_xy[topleft_xy] + 3 + h->b_stride + (topleft_partition & 2*h->b_stride);
998 const int b8_xy= h->mb2b8_xy[topleft_xy] + 1 + (topleft_partition & h->b8_stride); 998 const int b8_xy= h->mb2b8_xy[topleft_xy] + 1 + (topleft_partition & h->b8_stride);