OpenCV
Open Source Computer Vision
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
arithm.hpp File Reference
#include <opencv2/core.hpp>
Include dependency graph for arithm.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  cv
 
namespace  cv::fastcv
 

Macros

#define FCV_CMP_EQ(val1, val2)
 
#define FCV_OPTYPE(depth, op)
 

Functions

void cv::fastcv::arithmetic_op (InputArray src1, InputArray src2, OutputArray dst, int op)
 Arithmetic add and subtract operations for two matrices It is optimized for Qualcomm's processors.
 
void cv::fastcv::gemm (InputArray src1, InputArray src2, OutputArray dst, float alpha=1.0, InputArray src3=noArray(), float beta=0.0)
 Matrix multiplication of two float type matrices R = a*A*B + b*C where A,B,C,R are matrices and a,b are constants It is optimized for Qualcomm's processors.
 
void cv::fastcv::matmuls8s32 (InputArray src1, InputArray src2, OutputArray dst)
 Matrix multiplication of two int8_t type matrices uses signed integer input/output whereas cv::gemm uses floating point input/output matmuls8s32 provides enhanced speed on Qualcomm's processors.
 

Macro Definition Documentation

◆ FCV_CMP_EQ

#define FCV_CMP_EQ ( val1,
val2 )
Value:
(fabs(val1 - val2) < FLT_EPSILON)

◆ FCV_OPTYPE

#define FCV_OPTYPE ( depth,
op )
Value:
((depth<<3) + op)