Skip to content

MeanKernels

Module: Statistics Functions / Mean

Functions

Name
void plp_mean_f32s_xpulpv2(const float restrict pSrc, uint32_t blockSize, float restrict pRes)
Mean value of a 32-bit float vector for XPULPV2 extension.
void plp_mean_i16s_rv32im(const int16_t restrict pSrc, uint32_t blockSize, int16_t restrict pRes)
Mean value of a 16-bit integer vector for RV32IM extension.
void plp_mean_i16s_xpulpv2(const int16_t restrict pSrc, uint32_t blockSize, int16_t restrict pRes)
Mean value of a 16-bit integer vector for XPULPV2 extension.
void plp_mean_i32s_rv32im(const int32_t restrict pSrc, uint32_t blockSize, int32_t restrict pRes)
Mean value of a 32-bit integer vector for RV32IM extension.
void plp_mean_i32s_xpulpv2(const int32_t restrict pSrc, uint32_t blockSize, int32_t restrict pRes)
Mean value of a 32-bit integer vector for XPULPV2 extension.
void plp_mean_i8s_rv32im(const int8_t restrict pSrc, uint32_t blockSize, int8_t restrict pRes)
Mean value of a 8-bit integer vector for RV32IM extension.
void plp_mean_i8s_xpulpv2(const int8_t restrict pSrc, uint32_t blockSize, int8_t restrict pRes)
Mean value of a 8-bit integer vector for XPULPV2 extension.

Functions Documentation

function plp_mean_f32s_xpulpv2

void plp_mean_f32s_xpulpv2(
    const float *__restrict__ pSrc,
    uint32_t blockSize,
    float *__restrict__ pRes
)

Mean value of a 32-bit float vector for XPULPV2 extension.

Parameters:

  • pSrc points to the input vector
  • blockSize number of samples in input vector
  • pRes mean value returned here

Return: none

Glue code for mean value of a 32-bit float vector.

function plp_mean_i16s_rv32im

void plp_mean_i16s_rv32im(
    const int16_t *__restrict__ pSrc,
    uint32_t blockSize,
    int16_t *__restrict__ pRes
)

Mean value of a 16-bit integer vector for RV32IM extension.

Parameters:

  • pSrc points to the input vector
  • blockSize number of samples in input vector
  • pRes mean value returned here

Return: none

function plp_mean_i16s_xpulpv2

void plp_mean_i16s_xpulpv2(
    const int16_t *__restrict__ pSrc,
    uint32_t blockSize,
    int16_t *__restrict__ pRes
)

Mean value of a 16-bit integer vector for XPULPV2 extension.

Parameters:

  • pSrc points to the input vector
  • blockSize number of samples in input vector
  • pRes mean value returned here

Return: none

function plp_mean_i32s_rv32im

void plp_mean_i32s_rv32im(
    const int32_t *__restrict__ pSrc,
    uint32_t blockSize,
    int32_t *__restrict__ pRes
)

Mean value of a 32-bit integer vector for RV32IM extension.

Parameters:

  • pSrc points to the input vector
  • blockSize number of samples in input vector
  • pRes mean value returned here

Return: none

function plp_mean_i32s_xpulpv2

void plp_mean_i32s_xpulpv2(
    const int32_t *__restrict__ pSrc,
    uint32_t blockSize,
    int32_t *__restrict__ pRes
)

Mean value of a 32-bit integer vector for XPULPV2 extension.

Parameters:

  • pSrc points to the input vector
  • blockSize number of samples in input vector
  • pRes mean value returned here

Return: none

function plp_mean_i8s_rv32im

void plp_mean_i8s_rv32im(
    const int8_t *__restrict__ pSrc,
    uint32_t blockSize,
    int8_t *__restrict__ pRes
)

Mean value of a 8-bit integer vector for RV32IM extension.

Parameters:

  • pSrc points to the input vector
  • blockSize number of samples in input vector
  • pRes mean value returned here

Return: none

function plp_mean_i8s_xpulpv2

void plp_mean_i8s_xpulpv2(
    const int8_t *__restrict__ pSrc,
    uint32_t blockSize,
    int8_t *__restrict__ pRes
)

Mean value of a 8-bit integer vector for XPULPV2 extension.

Parameters:

  • pSrc points to the input vector
  • blockSize number of samples in input vector
  • pRes mean value returned here

Return: none


Updated on 2023-03-01 at 16:16:32 +0000