nohalo with one less multiply per channel

This commit is contained in:
Nicolas Robidoux 2010-05-20 15:56:32 +00:00
parent f026cbb125
commit 6031d690af
1 changed files with 6 additions and 3 deletions

View File

@ -608,9 +608,12 @@ nohalo_subdivision (const double uno_two,
const double val_uno_one_1 =
.25 * ( dos_two + dos_thr + tre_two + tre_thr )
+
.125 * ( dos_two_x - dos_thr_x + tre_two_x - tre_thr_x )
+
.125 * ( dos_two_y + dos_thr_y - tre_two_y - tre_thr_y );
.125
*
( dos_two_x - dos_thr_x + tre_two_x - tre_thr_x
+
dos_two_y + dos_thr_y - tre_two_y - tre_thr_y
);
/*
* Return the sixteen LBB stencil values: