Skip to content

Mean

Module: Statistics Functions

Modules

Name
MeanKernels

Functions

Name
void plp_mean_f32(const float restrict pSrc, uint32_t blockSize, float restrict pRes)
Glue code for mean value of a 32-bit float vector.
void plp_mean_i16(const int16_t restrict pSrc, uint32_t blockSize, int16_t restrict pRes)
Glue code for mean value of a 16-bit integer vector.
void plp_mean_i32(const int32_t restrict pSrc, uint32_t blockSize, int32_t restrict pRes)
Glue code for mean value of a 32-bit integer vector.
void plp_mean_i8(const int8_t restrict pSrc, uint32_t blockSize, int8_t restrict pRes)
Glue code for mean value of a 8-bit integer vector.

Functions Documentation

function plp_mean_f32

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

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

Parameters:

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

Return: none

function plp_mean_i16

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

Glue code for mean value of a 16-bit integer vector.

Parameters:

  • pSrc points to the input vector
  • pRes mean value returned here

Return: none

function plp_mean_i32

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

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

Parameters:

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

Return: none

function plp_mean_i8

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

Glue code for mean value of a 8-bit integer vector.

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