Vector Copy

void riscv_copy_f32(const float32_t *pSrc, float32_t *pDst, uint32_t blockSize)
void riscv_copy_q15(const q15_t *pSrc, q15_t *pDst, uint32_t blockSize)
void riscv_copy_q31(const q31_t *pSrc, q31_t *pDst, uint32_t blockSize)
void riscv_copy_q7(const q7_t *pSrc, q7_t *pDst, uint32_t blockSize)
group copy

Copies sample by sample from source vector to destination vector.

There are separate functions for floating point, Q31, Q15, and Q7 data types.

Functions

void riscv_copy_f32(const float32_t *pSrc, float32_t *pDst, uint32_t blockSize)

Copies the elements of a floating-point vector.

Return

none

Parameters
  • [in] pSrc: points to input vector

  • [out] pDst: points to output vector

  • [in] blockSize: number of samples in each vector

void riscv_copy_q15(const q15_t *pSrc, q15_t *pDst, uint32_t blockSize)

Copies the elements of a Q15 vector.

Return

none

Parameters
  • [in] pSrc: points to input vector

  • [out] pDst: points to output vector

  • [in] blockSize: number of samples in each vector

void riscv_copy_q31(const q31_t *pSrc, q31_t *pDst, uint32_t blockSize)

Copies the elements of a Q31 vector.

Return

none

Parameters
  • [in] pSrc: points to input vector

  • [out] pDst: points to output vector

  • [in] blockSize: number of samples in each vector

void riscv_copy_q7(const q7_t *pSrc, q7_t *pDst, uint32_t blockSize)

Copies the elements of a Q7 vector.

Return

none

Parameters
  • [in] pSrc: points to input vector

  • [out] pDst: points to output vector

  • [in] blockSize: number of samples in each vector