VisionServer  v2.1.1-1-g21dc5465
FRC vision library
neon.h File Reference
#include <stdint.h>
#include <opencv2/opencv.hpp>
#include "extensions.h"
+ Include dependency graph for neon.h:

Go to the source code of this file.

Macros

#define ENABLE_WRAPPER_DIM_SAFETY   true
 

Functions

void memcpy_threshold_asm (uint8_t const *src, uint8_t *dest, int32_t size, uint8_t thresh)
 
void memcpy_threshold_binary_asm (uint8_t const *src, uint8_t *dest, int32_t size, uint8_t thresh)
 
void memcpy_compare3_add_asm (uint8_t const *primary, uint8_t const *cmp1, uint8_t const *cmp2, uint8_t const *add, uint8_t *dest, int32_t size)
 
void memcpy_wst_asm (uint8_t const *primary, uint8_t const *ch2, uint8_t const *ch3, uint8_t *dest, int32_t size, uint8_t alpha, uint8_t beta, uint8_t gamma)
 
void memcpy_deinterlace_wstb_asm (uint8_t const *framebuff_3C, uint8_t *dest, int32_t size, uint8_t offset, uint8_t alpha, uint8_t beta, uint8_t thresh)
 
void memcpy_deinterlace_togray_asm (uint8_t const *framebuff_3C, uint8_t *dest, int32_t size)
 
void memcpy_bitwise_or_asm (uint8_t const *a, uint8_t const *b, uint8_t *dest, int32_t size)
 
void memcpy_bitwise_or_3c_asm (uint8_t const *a_3C, uint8_t const *b, uint8_t *dest_3C, int32_t size)
 
void memcpy_add_asm (uint8_t const *a, uint8_t const *b, uint8_t *dest, int32_t size)
 
void memcpy_add_3c_asm (uint8_t const *a_3C, uint8_t const *b, uint8_t *dest_3C, int32_t size)
 
void memcpy_add_3c2_asm (uint8_t const *a_3C, uint8_t const *b, uint8_t *dest_3C, int32_t size)
 
void memcpy_subtract_asm (uint8_t const *base, uint8_t const *sub, uint8_t *dest, int32_t size)
 
void neon_threshold (const cv::Mat &src, cv::Mat &dest, uint8_t thresh)
 
void neon_threshold_binary (const cv::Mat &src, cv::Mat &dest, uint8_t thresh)
 
void neon_compare3_add (const cv::Mat &primary, const cv::Mat &comp1, const cv::Mat &comp2, const cv::Mat &add, cv::Mat &dest)
 
void neon_wst (const cv::Mat &primary, const cv::Mat &ch1, uint8_t alpha, const cv::Mat &ch2, uint8_t beta, cv::Mat &dest, uint8_t gamma=0)
 
void neon_deinterlace_wstb (const cv::Mat &frame_3C, cv::Mat &dest, vs2::BGR primary, uint8_t alpha=0xFF, uint8_t beta=0xFF, uint8_t thresh=0x7F)
 
void neon_deinterlace_cvt2gray (const cv::Mat &frame_3C, cv::Mat &dest)
 
void neon_bitwise_or (const cv::Mat &a, const cv::Mat &b, cv::Mat &dest)
 
void neon_add (const cv::Mat &a, const cv::Mat &b, cv::Mat &dest)
 
void neon_subtract (const cv::Mat &src, const cv::Mat &sub, cv::Mat &dest)
 

Macro Definition Documentation

◆ ENABLE_WRAPPER_DIM_SAFETY

#define ENABLE_WRAPPER_DIM_SAFETY   true

Definition at line 7 of file neon.h.

Function Documentation

◆ memcpy_threshold_asm()

void memcpy_threshold_asm ( uint8_t const *  src,
uint8_t *  dest,
int32_t  size,
uint8_t  thresh 
)

◆ memcpy_threshold_binary_asm()

void memcpy_threshold_binary_asm ( uint8_t const *  src,
uint8_t *  dest,
int32_t  size,
uint8_t  thresh 
)

◆ memcpy_compare3_add_asm()

void memcpy_compare3_add_asm ( uint8_t const *  primary,
uint8_t const *  cmp1,
uint8_t const *  cmp2,
uint8_t const *  add,
uint8_t *  dest,
int32_t  size 
)

◆ memcpy_wst_asm()

void memcpy_wst_asm ( uint8_t const *  primary,
uint8_t const *  ch2,
uint8_t const *  ch3,
uint8_t *  dest,
int32_t  size,
uint8_t  alpha,
uint8_t  beta,
uint8_t  gamma 
)

◆ memcpy_deinterlace_wstb_asm()

void memcpy_deinterlace_wstb_asm ( uint8_t const *  framebuff_3C,
uint8_t *  dest,
int32_t  size,
uint8_t  offset,
uint8_t  alpha,
uint8_t  beta,
uint8_t  thresh 
)

◆ memcpy_deinterlace_togray_asm()

void memcpy_deinterlace_togray_asm ( uint8_t const *  framebuff_3C,
uint8_t *  dest,
int32_t  size 
)

◆ memcpy_bitwise_or_asm()

void memcpy_bitwise_or_asm ( uint8_t const *  a,
uint8_t const *  b,
uint8_t *  dest,
int32_t  size 
)

◆ memcpy_bitwise_or_3c_asm()

void memcpy_bitwise_or_3c_asm ( uint8_t const *  a_3C,
uint8_t const *  b,
uint8_t *  dest_3C,
int32_t  size 
)

◆ memcpy_add_asm()

void memcpy_add_asm ( uint8_t const *  a,
uint8_t const *  b,
uint8_t *  dest,
int32_t  size 
)

◆ memcpy_add_3c_asm()

void memcpy_add_3c_asm ( uint8_t const *  a_3C,
uint8_t const *  b,
uint8_t *  dest_3C,
int32_t  size 
)

◆ memcpy_add_3c2_asm()

void memcpy_add_3c2_asm ( uint8_t const *  a_3C,
uint8_t const *  b,
uint8_t *  dest_3C,
int32_t  size 
)

◆ memcpy_subtract_asm()

void memcpy_subtract_asm ( uint8_t const *  base,
uint8_t const *  sub,
uint8_t *  dest,
int32_t  size 
)

◆ neon_threshold()

void neon_threshold ( const cv::Mat &  src,
cv::Mat &  dest,
uint8_t  thresh 
)
inline

Definition at line 106 of file neon.h.

◆ neon_threshold_binary()

void neon_threshold_binary ( const cv::Mat &  src,
cv::Mat &  dest,
uint8_t  thresh 
)
inline

Definition at line 121 of file neon.h.

◆ neon_compare3_add()

void neon_compare3_add ( const cv::Mat &  primary,
const cv::Mat &  comp1,
const cv::Mat &  comp2,
const cv::Mat &  add,
cv::Mat &  dest 
)
inline

Definition at line 136 of file neon.h.

◆ neon_wst()

void neon_wst ( const cv::Mat &  primary,
const cv::Mat &  ch1,
uint8_t  alpha,
const cv::Mat &  ch2,
uint8_t  beta,
cv::Mat &  dest,
uint8_t  gamma = 0 
)
inline

Definition at line 161 of file neon.h.

◆ neon_deinterlace_wstb()

void neon_deinterlace_wstb ( const cv::Mat &  frame_3C,
cv::Mat &  dest,
vs2::BGR  primary,
uint8_t  alpha = 0xFF,
uint8_t  beta = 0xFF,
uint8_t  thresh = 0x7F 
)
inline

Definition at line 185 of file neon.h.

◆ neon_deinterlace_cvt2gray()

void neon_deinterlace_cvt2gray ( const cv::Mat &  frame_3C,
cv::Mat &  dest 
)
inline

Definition at line 200 of file neon.h.

◆ neon_bitwise_or()

void neon_bitwise_or ( const cv::Mat &  a,
const cv::Mat &  b,
cv::Mat &  dest 
)
inline

Definition at line 215 of file neon.h.

◆ neon_add()

void neon_add ( const cv::Mat &  a,
const cv::Mat &  b,
cv::Mat &  dest 
)
inline

Definition at line 257 of file neon.h.

◆ neon_subtract()

void neon_subtract ( const cv::Mat &  src,
const cv::Mat &  sub,
cv::Mat &  dest 
)
inline

Definition at line 311 of file neon.h.