vector subtraction
Module: Basic Math Functions
Modules
Name |
---|
vector subtraction Kernels |
Functions
Name | |
---|---|
void | plp_sub_f32(const float32_t * pSrcA, const float32_t * pSrcB, float32_t * pDst, uint32_t blockSize) Glue code of vector substraction for 32-bit floats. |
void | plp_sub_i16(const int16_t * pSrcA, const int16_t * pSrcB, int32_t * pDst, uint32_t blockSize) Glue code of vector substraction for 16-bit integers. |
void | plp_sub_i32(const int32_t * pSrcA, const int32_t * pSrcB, int32_t * pDst, uint32_t blockSize) Glue code of vector substraction for 32-bit integers. |
void | plp_sub_i8(const int8_t * pSrcA, const int8_t * pSrcB, int32_t * pDst, uint32_t blockSize) Glue code of vector substraction for 8-bit integers. |
Detailed Description
This module contains the glue code for vector subtraction. The kernel codes (kernels) are in the Module vector subtraction Kernels. Element-by-element subtraction of two vectors. pDst[n] = pSrcA[n] - pSrcB[n], 0 <= n < blockSize.
Functions Documentation
function plp_sub_f32
void plp_sub_f32(
const float32_t * pSrcA,
const float32_t * pSrcB,
float32_t * pDst,
uint32_t blockSize
)
Glue code of vector substraction for 32-bit floats.
Parameters:
- pSrcA points to the first input vector
- pSrcB points to the second input vector
- pDst points to the output vector
- blockSize number of samples in each vector
Return: none
function plp_sub_i16
void plp_sub_i16(
const int16_t * pSrcA,
const int16_t * pSrcB,
int32_t * pDst,
uint32_t blockSize
)
Glue code of vector substraction for 16-bit integers.
Parameters:
- pSrcA points to the first input vector
- pSrcB points to the second input vector
- pDst points to the output vector
- blockSize number of samples in each vector
Return: none
function plp_sub_i32
void plp_sub_i32(
const int32_t * pSrcA,
const int32_t * pSrcB,
int32_t * pDst,
uint32_t blockSize
)
Glue code of vector substraction for 32-bit integers.
Parameters:
- pSrcA points to the first input vector
- pSrcB points to the second input vector
- pDst points to the output vector
- blockSize number of samples in each vector
Return: none
function plp_sub_i8
void plp_sub_i8(
const int8_t * pSrcA,
const int8_t * pSrcB,
int32_t * pDst,
uint32_t blockSize
)
Glue code of vector substraction for 8-bit integers.
Parameters:
- pSrcA points to the first input vector
- pSrcB points to the second input vector
- pDst points to the output vector
- blockSize number of samples in each vector
Return: none
Updated on 2023-03-01 at 16:16:32 +0000