Lines Matching refs:stabR
436 static inline int icvSmoothnessCostFunc( int da, int db, int maxR, const int* stabR, int scale ) in icvSmoothnessCostFunc() argument
438 return da == db ? 0 : (da == OCCLUDED || db == OCCLUDED ? maxR : stabR[da - db])*scale; in icvSmoothnessCostFunc()
532 const int* stabR = state2->smoothnessR + CUTOFF; in icvComputeEnergy() local
567 E += icvSmoothnessCostFunc(d, d1, maxR, stabR, stabI[left[x*3] - left[x*3+3]] ); in icvComputeEnergy()
572 E += icvSmoothnessCostFunc(d, d1, maxR, stabR, stabI[left[x*3] - left[x*3+step]] ); in icvComputeEnergy()
582 E += icvSmoothnessCostFunc(d, d1, maxR, stabR, stabI[right[x*3] - right[x*3+3]] ); in icvComputeEnergy()
587 … E += icvSmoothnessCostFunc(d, d1, maxR, stabR, stabI[right[x*3] - right[x*3+step]] ); in icvComputeEnergy()
672 const int* stabR = state2->smoothnessR + CUTOFF; in icvAlphaExpand() local
778 E0a = icvSmoothnessCostFunc( d, a, maxR, stabR, scale ); in icvAlphaExpand()
779 Ea0 = icvSmoothnessCostFunc( a, d1, maxR, stabR, scale ); in icvAlphaExpand()
780 E00 = icvSmoothnessCostFunc( d, d1, maxR, stabR, scale ); in icvAlphaExpand()
789 E0a = icvSmoothnessCostFunc( d, a, maxR, stabR, scale ); in icvAlphaExpand()
790 Ea0 = icvSmoothnessCostFunc( a, d1, maxR, stabR, scale ); in icvAlphaExpand()
791 E00 = icvSmoothnessCostFunc( d, d1, maxR, stabR, scale ); in icvAlphaExpand()