From 4110eb4de4865a604143ea6bcc3eeec755b53cbf Mon Sep 17 00:00:00 2001 From: Clayton Smith Date: Fri, 13 Oct 2023 09:28:56 -0400 Subject: [PATCH] Add length checks to conv_k7 kernels --- kernels/volk/volk_8u_conv_k7_r2puppet_8u.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernels/volk/volk_8u_conv_k7_r2puppet_8u.h b/kernels/volk/volk_8u_conv_k7_r2puppet_8u.h index e154c54a1..c65d09f66 100644 --- a/kernels/volk/volk_8u_conv_k7_r2puppet_8u.h +++ b/kernels/volk/volk_8u_conv_k7_r2puppet_8u.h @@ -101,7 +101,7 @@ static inline void volk_8u_conv_k7_r2puppet_8u_spiral(unsigned char* syms, unsigned char* dec, unsigned int framebits) { - + if (framebits < 12) return; static int once = 1; int d_numstates = (1 << 6); @@ -183,7 +183,7 @@ static inline void volk_8u_conv_k7_r2puppet_8u_neonspiral(unsigned char* syms, unsigned char* dec, unsigned int framebits) { - + if (framebits < 12) return; static int once = 1; int d_numstates = (1 << 6); @@ -266,7 +266,7 @@ static inline void volk_8u_conv_k7_r2puppet_8u_neonspiral(unsigned char* syms, // unsigned char* dec, // unsigned int framebits) //{ -// +// if (framebits < 12) return; // // static int once = 1; // int d_numstates = (1 << 6); @@ -347,7 +347,7 @@ static inline void volk_8u_conv_k7_r2puppet_8u_generic(unsigned char* syms, unsigned char* dec, unsigned int framebits) { - + if (framebits < 12) return; static int once = 1; int d_numstates = (1 << 6);