Skip to content

Var

Module: Statistics Functions

Modules

Name
Var Kernels

Functions

Name
void plp_var_f32(const float restrict pSrc, uint32_t blockSize, float restrict pRes)
Glue code for var value of a 32-bit float vector.
void plp_var_q16(const int16_t restrict pSrc, uint32_t blockSize, uint32_t fracBits, int16_t restrict pRes)
Glue code for var value of a 16-bit integer vector.
void plp_var_q32(const int32_t restrict pSrc, uint32_t blockSize, uint32_t fracBits, int32_t restrict pRes)
Glue code for var value of a 32-bit integer vector.
void plp_var_q8(const int8_t restrict pSrc, uint32_t blockSize, uint32_t fracBits, int8_t restrict pRes)
Glue code for var value of a 8-bit integer vector.

Functions Documentation

function plp_var_f32

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

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

Parameters:

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

Return: none

Glue code for Statisical variance of a 32-bit float vector.

function plp_var_q16

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

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

Parameters:

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

Return: none

Glue code for Statisical variance of a 16-bit fixed point vector.

function plp_var_q32

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

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

Parameters:

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

Return: none

Glue code for Statisical variance of a 32-bit fixed point vector.

function plp_var_q8

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

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

Parameters:

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

Return: none

Glue code for Statisical variance of a 8-bit fixed point vector.


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