Skip to content

BasicCorrelationKernels

Module: Filtering Functions / Basic Correlation

Functions

Name
void plp_correlate_i16s_rv32im(const int16_t * pSrcA, const uint32_t srcALen, const int16_t * pSrcB, const uint32_t srcBLen, int32_t * pRes)
Correlation of 16-bit integer vectors kernel for RV32IM extension.
void plp_correlate_i16s_xpulpv2(const int16_t * pSrcA, const uint32_t srcALen, const int16_t * pSrcB, const uint32_t srcBLen, int32_t * pRes)
Correlation of 16-bit integer vectors kernel for XPULPV2 extension.
void plp_correlate_i32s_rv32im(const int32_t * pSrcA, const uint32_t srcALen, const int32_t * pSrcB, const uint32_t srcBLen, int32_t * pRes)
Correlation of 32-bit integer vectors kernel for RV32IM extension.
void plp_correlate_i32s_xpulpv2(const int32_t * pSrcA, const uint32_t srcALen, const int32_t * pSrcB, const uint32_t srcBLen, int32_t * pRes)
Correlation of 32-bit integer vectors kernel for XPULPV2 extension.
void plp_correlate_i8s_rv32im(const int8_t * pSrcA, const uint32_t srcALen, const int8_t * pSrcB, const uint32_t srcBLen, int32_t * pRes)
Correlation of 8-bit integer vectors kernel for RV32IM extension.
void plp_correlate_i8s_xpulpv2(const int8_t * pSrcA, const uint32_t srcALen, const int8_t * pSrcB, const uint32_t srcBLen, int32_t * pRes)
Correlation of 8-bit integer vectors kernel for XPULPV2 extension.
void plp_correlate_q16s_rv32im(const int16_t * pSrcA, const uint32_t srcALen, const int16_t * pSrcB, const uint32_t srcBLen, uint32_t fracBits, int32_t * pRes)
Correlation of 16-bit fixed point vectors kernel for RV32IM extension.
void plp_correlate_q16s_xpulpv2(const int16_t * pSrcA, const uint32_t srcALen, const int16_t * pSrcB, const uint32_t srcBLen, uint32_t fracBits, int32_t * pRes)
Correlation of 16-bit fixed point vectors kernel for XPULPV2 extension.
void plp_correlate_q32s_rv32im(const int32_t * pSrcA, const uint32_t srcALen, const int32_t * pSrcB, const uint32_t srcBLen, uint32_t fracBits, int32_t * pRes)
Correlation of 32-bit fixed point vectors kernel for RV32IM extension.
void plp_correlate_q32s_xpulpv2(const int32_t * pSrcA, const uint32_t srcALen, const int32_t * pSrcB, const uint32_t srcBLen, uint32_t fracBits, int32_t * pRes)
Correlation of 32-bit fixed point vectors kernel for XPULPV2 extension.
void plp_correlate_q8s_rv32im(const int8_t * pSrcA, const uint32_t srcALen, const int8_t * pSrcB, const uint32_t srcBLen, uint32_t fracBits, int32_t * pRes)
Correlation of 8-bit fixed point vectors kernel for RV32IM extension.
void plp_correlate_q8s_xpulpv2(const int8_t * pSrcA, const uint32_t srcALen, const int8_t * pSrcB, const uint32_t srcBLen, uint32_t fracBits, int32_t * pRes)
Correlation of 8-bit fixed point vectors kernel for XPULPV2 extension.

Functions Documentation

function plp_correlate_i16s_rv32im

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

Correlation of 16-bit integer vectors kernel for RV32IM extension.

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_i16s_xpulpv2

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

Correlation of 16-bit integer vectors kernel for XPULPV2 extension.

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_i32s_rv32im

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

Correlation of 32-bit integer vectors kernel for RV32IM extension.

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_i32s_xpulpv2

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

Correlation of 32-bit integer vectors kernel for XPULPV2 extension.

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_i8s_rv32im

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

Correlation of 8-bit integer vectors kernel for RV32IM extension.

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_i8s_xpulpv2

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

Correlation of 8-bit integer vectors kernel for XPULPV2 extension.

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_q16s_rv32im

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

Correlation of 16-bit fixed point vectors kernel for RV32IM extension.

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

Correlation of 16-bit integer vectors kernel for RV32IM extension.

function plp_correlate_q16s_xpulpv2

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

Correlation of 16-bit fixed point vectors kernel for XPULPV2 extension.

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

Correlation of 16-bit integer vectors kernel for XPULPV2 extension.

function plp_correlate_q32s_rv32im

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

Correlation of 32-bit fixed point vectors kernel for RV32IM extension.

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

Correlation of 32-bit integer vectors kernel for RV32IM extension.

function plp_correlate_q32s_xpulpv2

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

Correlation of 32-bit fixed point vectors kernel for XPULPV2 extension.

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_q8s_rv32im

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

Correlation of 8-bit fixed point vectors kernel for RV32IM extension.

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 ocdutput result returned here

Return: none

Correlation of 8-bit integer vectors kernel for RV32IM extension.

function plp_correlate_q8s_xpulpv2

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

Correlation of 8-bit fixed point vectors kernel for XPULPV2 extension.

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

Correlation of 8-bit integer vectors kernel for XPULPV2 extension.


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