Skip to content

Basic Correlation

Module: Filtering Functions

More...

Modules

Name
BasicCorrelationKernels

Functions

Name
void plp_correlate_i16(const int16_t * pSrcA, const uint32_t srcALen, const int16_t * pSrcB, const uint32_t srcBLen, int32_t *restrict pRes)
Glue code for correlation of 16-bit integer vectors.
void plp_correlate_i32(const int32_t * pSrcA, const uint32_t srcALen, const int32_t * pSrcB, const uint32_t srcBLen, int32_t *restrict pRes)
Glue code for correlation of 32-bit integer vectors.
void plp_correlate_i8(const int8_t * pSrcA, const uint32_t srcALen, const int8_t * pSrcB, const uint32_t srcBLen, int32_t *restrict pRes)
Glue code for correlation of 8-bit integer vectors.
void plp_correlate_q16(const int16_t * pSrcA, const uint32_t srcALen, const int16_t * pSrcB, const uint32_t srcBLen, uint32_t fracBits, int32_t *restrict pRes)
Glue code for correlation of 16-bit fixed point vectors.
void plp_correlate_q32(const int32_t * pSrcA, const uint32_t srcALen, const int32_t * pSrcB, const uint32_t srcBLen, uint32_t fracBits, int32_t *restrict pRes)
Glue code for correlation of 32-bit fixed point vectors.
void plp_correlate_q8(const int8_t * pSrcA, const uint32_t srcALen, const int8_t * pSrcB, const uint32_t srcBLen, uint32_t fracBits, int32_t *restrict pRes)
Glue code for correlation of 8-bit fixed point vectors.

Detailed Description

This module contains the glue code for Basic Correlation. The kernel codes (kernels) are in the Moducle Basic Correlation Kernels.

Functions Documentation

function plp_correlate_i16

void plp_correlate_i16(
    const int16_t * pSrcA,
    const uint32_t srcALen,
    const int16_t * pSrcB,
    const uint32_t srcBLen,
    int32_t *__restrict__ pRes
)

Glue code for correlation of 16-bit integer vectors.

Parameters:

  • pSrcA points to the first input vector
  • srcALen Length of the first input vector
  • pSrcB points to the second input vector
  • srcBLen Length of the second input vector
  • pRes output result returned here

Return: none

function plp_correlate_i32

void plp_correlate_i32(
    const int32_t * pSrcA,
    const uint32_t srcALen,
    const int32_t * pSrcB,
    const uint32_t srcBLen,
    int32_t *__restrict__ pRes
)

Glue code for correlation of 32-bit integer vectors.

Parameters:

  • pSrcA points to the first input vector
  • srcALen Length of the first input vector
  • pSrcB points to the second input vector
  • srcBLen Length of the second input vector
  • pRes output result returned here

Return: none

function plp_correlate_i8

void plp_correlate_i8(
    const int8_t * pSrcA,
    const uint32_t srcALen,
    const int8_t * pSrcB,
    const uint32_t srcBLen,
    int32_t *__restrict__ pRes
)

Glue code for correlation of 8-bit integer vectors.

Parameters:

  • pSrcA points to the first input vector
  • srcALen Length of the first input vector
  • pSrcB points to the second input vector
  • srcBLen Length of the second input vector
  • pRes output result returned here

Return: none

function plp_correlate_q16

void plp_correlate_q16(
    const int16_t * pSrcA,
    const uint32_t srcALen,
    const int16_t * pSrcB,
    const uint32_t srcBLen,
    uint32_t fracBits,
    int32_t *__restrict__ pRes
)

Glue code for correlation of 16-bit fixed point vectors.

Parameters:

  • pSrcA points to the first input vector
  • srcALen Length of the first input vector
  • pSrcB points to the second input vector
  • srcBLen Length of the second input vector
  • pRes output result returned here

Return: none

function plp_correlate_q32

void plp_correlate_q32(
    const int32_t * pSrcA,
    const uint32_t srcALen,
    const int32_t * pSrcB,
    const uint32_t srcBLen,
    uint32_t fracBits,
    int32_t *__restrict__ pRes
)

Glue code for correlation of 32-bit fixed point vectors.

Parameters:

  • pSrcA points to the first input vector
  • srcALen Length of the first input vector
  • pSrcB points to the second input vector
  • srcBLen Length of the second input vector
  • pRes output result returned here

Return: none

function plp_correlate_q8

void plp_correlate_q8(
    const int8_t * pSrcA,
    const uint32_t srcALen,
    const int8_t * pSrcB,
    const uint32_t srcBLen,
    uint32_t fracBits,
    int32_t *__restrict__ pRes
)

Glue code for correlation of 8-bit fixed point vectors.

Parameters:

  • pSrcA points to the first input vector
  • srcALen Length of the first input vector
  • pSrcB points to the second input vector
  • srcBLen Length of the second input vector
  • pRes output result returned here

Return: none


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