Skip to content

DWT kernels on Q31 input values

Module: Transform Functions / DWT transforms

More...

Functions

Name
void plp_dwt_q32p_xpulpv2(void * args)
Q31 fixed-point DWT on real input data for XPULPV2 extension.
void plp_dwt_haar_q32p_xpulpv2(void * args)
Q31 Fixed-point DWT kernel optimized for Haar Wavelet for XPULPV2 extension.
void plp_dwt_haar_u_q32p_xpulpv2(void * args)
Q31 Fixed-point DWT kernel optimized for Un-normalized Haar Wavelet for XPULPV2 extension.
void plp_dwt_q32s_xpulpv2(const int32_t restrict pSrc, uint32_t length, const plp_dwt_wavelet_q32 wavelet, plp_dwt_extension_mode mode, int32_t restrict pDstA, int32_t *restrict pDstD)
Q31 fixed-point DWT on real input data for XPULPV2 extension.

Defines

Name
HAAR_COEF
HAAR_COEF
MAC_SHIFT
MAC_SHIFT
MAKE_HAAR(NAME, COEF, SHIFT)

Detailed Description

These kernels calculate the DWT transform on Q31 fixed point data.

Functions Documentation

function plp_dwt_q32p_xpulpv2

void plp_dwt_q32p_xpulpv2(
    void * args
)

Q31 fixed-point DWT on real input data for XPULPV2 extension.

Parameters:

Return: none

function plp_dwt_haar_q32p_xpulpv2

void plp_dwt_haar_q32p_xpulpv2(
    void * args
)

Q31 Fixed-point DWT kernel optimized for Haar Wavelet for XPULPV2 extension.

Parameters:

Return: none

function plp_dwt_haar_u_q32p_xpulpv2

void plp_dwt_haar_u_q32p_xpulpv2(
    void * args
)

Q31 Fixed-point DWT kernel optimized for Un-normalized Haar Wavelet for XPULPV2 extension.

Parameters:

Return: none

function plp_dwt_q32s_xpulpv2

void plp_dwt_q32s_xpulpv2(
    const int32_t *__restrict__ pSrc,
    uint32_t length,
    const plp_dwt_wavelet_q32 wavelet,
    plp_dwt_extension_mode mode,
    int32_t *__restrict__ pDstA,
    int32_t *__restrict__ pDstD
)

Q31 fixed-point DWT on real input data for XPULPV2 extension.

Parameters:

  • pSrc points to the input buffer (real data)
  • length length of input buffer
  • wavelet wavelet structure for calculating DWT
  • mode boundary extension mode
  • pDstA points to ouput buffer with Approximate coefficients
  • pDstD points to ouput buffer with Detailed coefficients

Return: none

32bit Fixed-point DWT for XPULPV2 extension.

Macros Documentation

define HAAR_COEF

#define HAAR_COEF ((int64_t) 0x5a82799a)

define HAAR_COEF

#define HAAR_COEF ((int64_t) 0x5a82799a)

define MAC_SHIFT

#define MAC_SHIFT 31U

define MAC_SHIFT

#define MAC_SHIFT 31U

define MAKE_HAAR

#define MAKE_HAAR(
    NAME,
    COEF,
    SHIFT
)


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