LIBML
Version 3.2.4
LIBML DSP Software Library
|
#include "tpt_math.h"
Functions | |
uint32_t | tpt_dot_prod_u8 (uint8_t *aInDataA, uint8_t *aInDataB, uint32_t aCount) |
Dot production of U8 vectors. More... | |
uint32_t tpt_dot_prod_u8 | ( | uint8_t * | aInDataA, |
uint8_t * | aInDataB, | ||
uint32_t | aCount | ||
) |
Dot production of U8 vectors.
aInDataA | Points to the U8 format input vector. |
aInDataB | Points to the U8 format input vector. |
aCount | Size of the vectors. |
The output of multiplications is in 0.16 format and then added to an accumulator in 16.16 format. The return result is in 16.16 format.When the size of the vectors less than (2^15)-1, there is no risk to overflow.