Vector bitwise NOT

RISCV_DSP_ATTRIBUTE void riscv_not_u16 (const uint16_t *pSrc, uint16_t *pDst, uint32_t blockSize)
RISCV_DSP_ATTRIBUTE void riscv_not_u32 (const uint32_t *pSrc, uint32_t *pDst, uint32_t blockSize)
RISCV_DSP_ATTRIBUTE void riscv_not_u8 (const uint8_t *pSrc, uint8_t *pDst, uint32_t blockSize)
group Not

Compute the logical bitwise NOT.

There are separate functions for uint32_t, uint16_t, and uint8_t data types.

Functions

RISCV_DSP_ATTRIBUTE void riscv_not_u16 (const uint16_t *pSrc, uint16_t *pDst, uint32_t blockSize)

Compute the logical bitwise NOT of a fixed-point vector.

Parameters
  • pSrc[in] points to input vector

  • pDst[out] points to output vector

  • blockSize[in] number of samples in each vector

RISCV_DSP_ATTRIBUTE void riscv_not_u32 (const uint32_t *pSrc, uint32_t *pDst, uint32_t blockSize)

Compute the logical bitwise NOT of a fixed-point vector.

Parameters
  • pSrc[in] points to input vector

  • pDst[out] points to output vector

  • blockSize[in] number of samples in each vector

RISCV_DSP_ATTRIBUTE void riscv_not_u8 (const uint8_t *pSrc, uint8_t *pDst, uint32_t blockSize)

Compute the logical bitwise NOT of a fixed-point vector.

Parameters
  • pSrc[in] points to input vector

  • pDst[out] points to output vector

  • blockSize[in] number of samples in each vector