Home
last modified time | relevance | path

Searched refs:P_P2 (Results 1 – 9 of 9) sorted by relevance

/dports/science/afni/afni-AFNI_21.3.16/src/
H A Dmri_floatvec.c8 #undef P_P2
13 #define P_P2(x) ((x)*((x)+1.0)*((x)-1.0)*0.1666667) macro
52 + P_P1(fx)*fv->ar[ip1] + P_P2(fx)*fv->ar[ip2] ; in interp_floatvec()
H A Dmri_shifter.c35 #define P_P2(x) ((x)*((x)+1.0)*((x)-1.0)) macro
94 wt_p1 = P_P1(xx) ; wt_p2 = P_P2(xx) ; in shifter()
H A Dmri_warp.c241 #define P_P2(x) ((x)*((x)+1)*((x)-1)) in mri_warp_bicubic() macro
244 wt_p1 = P_P1(fx) ; wt_p2 = P_P2(fx) ; /* in the x-direction */ in mri_warp_bicubic()
269 + P_P1(fy) * f_jp1 + P_P2(fy) * f_jp2 ) / 36.0 ; in mri_warp_bicubic()
443 wt_p1 = P_P1(fx) ; wt_p2 = P_P2(fx) ; /* in the x-direction */ in mri_warp_bicubic_point()
468 + P_P1(fy) * f_jp1 + P_P2(fy) * f_jp2 ) / 36.0 ; in mri_warp_bicubic_point()
H A Dmri_rota.c30 #define P_P2(x) ((x)*((x)+1.0)*((x)-1.0)) macro
61 p_p2[ii] = P_P2(yy) ; in mri_rota()
136 wt_p1 = P_P1(fx) ; wt_p2 = P_P2(fx) ; in mri_rota()
191 + P_P1(fy) * f_jp1 + P_P2(fy) * f_jp2 ) * THIRTYSIX ; in mri_rota()
H A Dthd_dset_to_grayplot.c350 #undef P_P2
355 #define P_P2(x) ((x)*((x)+1.0f)*((x)-1.0f)) macro
409 wt_p1 = P_P1(fx) ; wt_p2 = P_P2(fx) ; in resample_1D_float()
H A Dmri_affine.c19 #define P_P2(x) ((x)*((x)+1.0)*((x)-1.0)) macro
120 wt_p1 = P_P1(fx) ; wt_p2 = P_P2(fx) ; in mri_affine_bicubic()
169 + P_P1(fy) * f_jp1 + P_P2(fy) * f_jp2 ) * THIRTYSIX ; in mri_affine_bicubic()
H A Dmri_warp3D.c54 #undef P_P2
59 #define P_P2(x) ((x)*((x)+1)*((x)-1)) macro
202 wt_p1 = P_P1(fx) ; wt_p2 = P_P2(fx) ; in mri_warp3D_cubic()
222 wt_p1 = P_P1(fy) ; wt_p2 = P_P2(fy) ; in mri_warp3D_cubic()
239 wt_p1 = P_P1(fz) ; wt_p2 = P_P2(fz) ; in mri_warp3D_cubic()
H A Dmri_genalign_util.c202 #undef P_P2
207 #define P_P2(x) ((x)*((x)+1)*((x)-1)) macro
264 wt_p1 = P_P1(fx) ; wt_p2 = P_P2(fx) ; in GA_interp_cubic()
284 wt_p1 = P_P1(fy) ; wt_p2 = P_P2(fy) ; in GA_interp_cubic()
298 wt_p1 = P_P1(fz) ; wt_p2 = P_P2(fz) ; in GA_interp_cubic()
H A Dthd_shift2.c592 #define P_P2(x) ((x)*((x)+1.0)*((x)-1.0)*0.1666667) macro
615 wt_p1 = P_P1(aa) ; wt_p2 = P_P2(aa) ; in cub_shift()