Vector Fill

void riscv_fill_f32(float32_t value, float32_t *pDst, uint32_t blockSize)
void riscv_fill_q15(q15_t value, q15_t *pDst, uint32_t blockSize)
void riscv_fill_q31(q31_t value, q31_t *pDst, uint32_t blockSize)
void riscv_fill_q7(q7_t value, q7_t *pDst, uint32_t blockSize)
group Fill

Fills the destination vector with a constant value.

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

Functions

void riscv_fill_f32(float32_t value, float32_t *pDst, uint32_t blockSize)

Fills a constant value into a floating-point vector.

Return

none

Parameters
  • [in] value: input value to be filled

  • [out] pDst: points to output vector

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

void riscv_fill_q15(q15_t value, q15_t *pDst, uint32_t blockSize)

Fills a constant value into a Q15 vector.

Return

none

Parameters
  • [in] value: input value to be filled

  • [out] pDst: points to output vector

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

void riscv_fill_q31(q31_t value, q31_t *pDst, uint32_t blockSize)

Fills a constant value into a Q31 vector.

Return

none

Parameters
  • [in] value: input value to be filled

  • [out] pDst: points to output vector

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

void riscv_fill_q7(q7_t value, q7_t *pDst, uint32_t blockSize)

Fills a constant value into a Q7 vector.

Return

none

Parameters
  • [in] value: input value to be filled

  • [out] pDst: points to output vector

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