Home | History | Annotate | Download | only in src

Lines Matching refs:ushort

548     ushort coarse[16];
549 ushort fine[16][16];
558 *((ushort*) h.fine + x) op;
575 static inline void histogram_add( const ushort x[16], ushort y[16] )
583 static inline void histogram_add( const ushort x[16], ushort y[16] )
591 static inline void histogram_add( const ushort x[16], ushort y[16] )
593 *(vector ushort*) &y[0] = vec_add( *(vector ushort*) &y[0], *(vector ushort*) &x[0] );
594 *(vector ushort*) &y[8] = vec_add( *(vector ushort*) &y[8], *(vector ushort*) &x[8] );
597 static inline void histogram_add( const ushort x[16], ushort y[16] )
601 y[i] = (ushort)(y[i] + x[i]);
610 static inline void histogram_sub( const ushort x[16], ushort y[16] )
618 static inline void histogram_sub( const ushort x[16], ushort y[16] )
626 static inline void histogram_sub( const ushort x[16], ushort y[16] )
628 *(vector ushort*) &y[0] = vec_sub( *(vector ushort*) &y[0], *(vector ushort*) &x[0] );
629 *(vector ushort*) &y[8] = vec_sub( *(vector ushort*) &y[8], *(vector ushort*) &x[8] );
632 static inline void histogram_sub( const ushort x[16], ushort y[16] )
636 y[i] = (ushort)(y[i] - x[i]);
640 static inline void histogram_muladd( int a, const ushort x[16],
641 ushort y[16] )
645 y[i] = (ushort)(y[i] + a * x[i]);
657 ushort *h_coarse, *h_fine, luc[4][16];
670 h_coarse = (ushort*) cvAlloc( 1 * 16 * n * cn * sizeof(ushort) );
671 h_fine = (ushort*) cvAlloc( 16 * 16 * n * cn * sizeof(ushort) );
672 memset( h_coarse, 0, 1 * 16 * n * cn * sizeof(ushort) );
673 memset( h_fine, 0, 16 * 16 * n * cn * sizeof(ushort) );
730 ushort* segment;
746 memset( &H[c].fine[k], 0, 16 * sizeof(ushort) );
752 luc[c][k] = (ushort)(j+r+1);