Skip to content

Commit

Permalink
Add length checks to conv_k7 kernels
Browse files Browse the repository at this point in the history
  • Loading branch information
argilo committed Oct 13, 2023
1 parent a26a1b8 commit 4110eb4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kernels/volk/volk_8u_conv_k7_r2puppet_8u.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4110eb4

Please sign in to comment.