return;
}
- M32( &h->mb.cache.non_zero_count[x264_scan8[ 0+p*16]] ) = 0;
- M32( &h->mb.cache.non_zero_count[x264_scan8[ 2+p*16]] ) = 0;
- M32( &h->mb.cache.non_zero_count[x264_scan8[ 8+p*16]] ) = 0;
- M32( &h->mb.cache.non_zero_count[x264_scan8[10+p*16]] ) = 0;
+ CLEAR_16x16_NNZ( p );
h->dctf.sub16x16_dct( dct4x4, p_src, p_dst );
#define CLEAR_16x16_NNZ( p ) \
do\
{\
- M32( &h->mb.cache.non_zero_count[x264_scan8[16*p+ 0]] ) = 0;\
- M32( &h->mb.cache.non_zero_count[x264_scan8[16*p+ 2]] ) = 0;\
- M32( &h->mb.cache.non_zero_count[x264_scan8[16*p+ 8]] ) = 0;\
- M32( &h->mb.cache.non_zero_count[x264_scan8[16*p+10]] ) = 0;\
+ M32( &h->mb.cache.non_zero_count[x264_scan8[16*p] + 0*8] ) = 0;\
+ M32( &h->mb.cache.non_zero_count[x264_scan8[16*p] + 1*8] ) = 0;\
+ M32( &h->mb.cache.non_zero_count[x264_scan8[16*p] + 2*8] ) = 0;\
+ M32( &h->mb.cache.non_zero_count[x264_scan8[16*p] + 3*8] ) = 0;\
} while(0)
/* A special for loop that iterates branchlessly over each set