Class ConvolveImageUnrolled_SB_MT_S16_I16_Div
java.lang.Object
boofcv.alg.filter.convolve.noborder.ConvolveImageUnrolled_SB_MT_S16_I16_Div
@Generated("boofcv.alg.filter.convolve.noborder.ConvolveImageUnrolled_SB_S16_I16_Div")
public class ConvolveImageUnrolled_SB_MT_S16_I16_Div
extends Object
Unrolls the convolution kernel to reduce array accessing and save often used variables to the stack.
Unrolling the image being convolved resulting in an additional 10% performance boost on a Core i7 processor, see commented out code below. Due to the added complexity it was decided that this performance boost was not worth it. By comparison, unrolling the kernel causes a performance boost between 2 and 3 times.
DO NOT MODIFY. Automatically generated code created by GenerateConvolvedUnrolled_SB
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
convolve
(Kernel2D_S32 kernel, GrayS16 image, GrayI16 dest, int divisor, GrowArray<DogArray_I32> work) static void
convolve11
(Kernel2D_S32 kernel, GrayS16 src, GrayI16 dest, int divisor, @Nullable GrowArray<DogArray_I32> workspaces) static void
convolve3
(Kernel2D_S32 kernel, GrayS16 src, GrayI16 dest, int divisor, @Nullable GrowArray<DogArray_I32> workspaces) static void
convolve5
(Kernel2D_S32 kernel, GrayS16 src, GrayI16 dest, int divisor, @Nullable GrowArray<DogArray_I32> workspaces) static void
convolve7
(Kernel2D_S32 kernel, GrayS16 src, GrayI16 dest, int divisor, @Nullable GrowArray<DogArray_I32> workspaces) static void
convolve9
(Kernel2D_S32 kernel, GrayS16 src, GrayI16 dest, int divisor, @Nullable GrowArray<DogArray_I32> workspaces) static boolean
horizontal
(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest, int divisor) static void
horizontal11
(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest, int divisor) static void
horizontal3
(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest, int divisor) static void
horizontal5
(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest, int divisor) static void
horizontal7
(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest, int divisor) static void
horizontal9
(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest, int divisor) static boolean
vertical
(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest, int divisor, GrowArray<DogArray_I32> work) static void
vertical11
(Kernel1D_S32 kernel, GrayS16 src, GrayI16 dst, int divisor, @Nullable GrowArray<DogArray_I32> workspaces) static void
vertical3
(Kernel1D_S32 kernel, GrayS16 src, GrayI16 dst, int divisor, @Nullable GrowArray<DogArray_I32> workspaces) static void
vertical5
(Kernel1D_S32 kernel, GrayS16 src, GrayI16 dst, int divisor, @Nullable GrowArray<DogArray_I32> workspaces) static void
vertical7
(Kernel1D_S32 kernel, GrayS16 src, GrayI16 dst, int divisor, @Nullable GrowArray<DogArray_I32> workspaces) static void
vertical9
(Kernel1D_S32 kernel, GrayS16 src, GrayI16 dst, int divisor, @Nullable GrowArray<DogArray_I32> workspaces)
-
Constructor Details
-
ConvolveImageUnrolled_SB_MT_S16_I16_Div
public ConvolveImageUnrolled_SB_MT_S16_I16_Div()
-
-
Method Details
-
horizontal
-
vertical
public static boolean vertical(Kernel1D_S32 kernel, GrayS16 image, GrayI16 dest, int divisor, GrowArray<DogArray_I32> work) -
convolve
public static boolean convolve(Kernel2D_S32 kernel, GrayS16 image, GrayI16 dest, int divisor, GrowArray<DogArray_I32> work) -
horizontal3
-
horizontal5
-
horizontal7
-
horizontal9
-
horizontal11
-
vertical3
public static void vertical3(Kernel1D_S32 kernel, GrayS16 src, GrayI16 dst, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> workspaces) -
vertical5
public static void vertical5(Kernel1D_S32 kernel, GrayS16 src, GrayI16 dst, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> workspaces) -
vertical7
public static void vertical7(Kernel1D_S32 kernel, GrayS16 src, GrayI16 dst, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> workspaces) -
vertical9
public static void vertical9(Kernel1D_S32 kernel, GrayS16 src, GrayI16 dst, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> workspaces) -
vertical11
public static void vertical11(Kernel1D_S32 kernel, GrayS16 src, GrayI16 dst, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> workspaces) -
convolve3
public static void convolve3(Kernel2D_S32 kernel, GrayS16 src, GrayI16 dest, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> workspaces) -
convolve5
public static void convolve5(Kernel2D_S32 kernel, GrayS16 src, GrayI16 dest, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> workspaces) -
convolve7
public static void convolve7(Kernel2D_S32 kernel, GrayS16 src, GrayI16 dest, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> workspaces) -
convolve9
public static void convolve9(Kernel2D_S32 kernel, GrayS16 src, GrayI16 dest, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> workspaces) -
convolve11
public static void convolve11(Kernel2D_S32 kernel, GrayS16 src, GrayI16 dest, int divisor, @Nullable @Nullable GrowArray<DogArray_I32> workspaces)
-