Lines Matching refs:luc
657 ushort *h_coarse, *h_fine, luc[4][16];
710 memset( luc, 0, cn*sizeof(luc[0]) );
745 if ( luc[c][k] <= j-r ) {
747 for ( luc[c][k] = j-r; luc[c][k] < MIN(j+r+1,n); ++luc[c][k] ) {
748 histogram_add( &h_fine[16*(n*(16*c+k)+luc[c][k])], H[c].fine[k] );
750 if ( luc[c][k] < j+r+1 ) {
752 luc[c][k] = (ushort)(j+r+1);
756 for ( ; luc[c][k] < j+r+1; ++luc[c][k] ) {
757 histogram_sub( &h_fine[16*(n*(16*c+k)+MAX(luc[c][k]-2*r-1,0))], H[c].fine[k] );
758 histogram_add( &h_fine[16*(n*(16*c+k)+MIN(luc[c][k],n-1))], H[c].fine[k] );