SupportConversion

void riscv_q7_to_q15_with_offset(const int8_t *src, int16_t *dst, int32_t block_size, int16_t offset)
group SupportConversion

Functions

void riscv_q7_to_q15_with_offset(const int8_t *src, int16_t *dst, int32_t block_size, int16_t offset)

Converts the elements from a s8 vector to a s16 vector with an added offset.

Output elements are ordered. The equation used for the conversion process is:

Description:

Parameters
  • src[in] pointer to the s8 input vector

  • dst[out] pointer to the s16 output vector

  • block_size[in] length of the input vector

  • offset[in] s16 offset to be added to each input vector element.