Skip to content

DWT kernels on real input values

Module: Transform Functions / DWT transforms

More...

Functions

Name
void plp_dwt_f32p_xpulpv2(void * args)
Floating-point DWT on real input data for XPULPV2 extension.
void plp_dwt_haar_f32p_xpulpv2(void * args)
Floating-point DWT kernel optimized for Haar Wavelet on real input data for XPULPV2 extension.
void plp_dwt_f32s_xpulpv2(const float32_t restrict pSrc, uint32_t length, const plp_dwt_wavelet_f32 wavelet, plp_dwt_extension_mode mode, float32_t restrict pDstA, float32_t *restrict pDstD)
Floating-point DWT on real input data for XPULPV2 extension.
void plp_dwt_haar_f32s_xpulpv2(const float32_t restrict pSrc, uint32_t length, plp_dwt_extension_mode mode, float32_t restrict pDstA, float32_t *restrict pDstD)
Floating-point DWT kernel optimized for Haar Wavelet on real input data for XPULPV2 extension.
void plp_dwt_q16s_rv32im(const int16_t restrict pSrc, uint32_t length, const plp_dwt_wavelet_q16 wavelet, plp_dwt_extension_mode mode, int16_t restrict pDstA, int16_t *restrict pDstD)
16bit fixed-point DWT on real input data.
void plp_dwt_haar_q16s_rv32im(const int16_t restrict pSrc, uint32_t length, plp_dwt_extension_mode mode, int16_t restrict pDstA, int16_t *restrict pDstD)
16bit fixed-point DWT kernel optimized for Haar Wavelet on real input data.
void plp_dwt_q32s_rv32im(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)
Q32 Fixed-point DWT on real input data.
void plp_dwt_q8s_rv32im(const int8_t restrict pSrc, uint32_t length, const plp_dwt_wavelet_q8 wavelet, plp_dwt_extension_mode mode, int8_t restrict pDstA, int8_t *restrict pDstD)
8bit fixed-point DWT on real input data
void plp_dwt_haar_q8s_rv32im(const int8_t restrict pSrc, uint32_t length, plp_dwt_extension_mode mode, int8_t restrict pDstA, int8_t *restrict pDstD)
8bit fixed-point DWT kernel optimized for Haar Wavelet on real input data.

Defines

Name
MAKE_HAAR(NAME, COEF, SHIFT)

Detailed Description

These kernels calculate the DWT transform on real input data.

Functions Documentation

function plp_dwt_f32p_xpulpv2

void plp_dwt_f32p_xpulpv2(
    void * args
)

Floating-point DWT on real input data for XPULPV2 extension.

Parameters:

Return: none

function plp_dwt_haar_f32p_xpulpv2

void plp_dwt_haar_f32p_xpulpv2(
    void * args
)

Floating-point DWT kernel optimized for Haar Wavelet on real input data for XPULPV2 extension.

Parameters:

Return: none

function plp_dwt_f32s_xpulpv2

void plp_dwt_f32s_xpulpv2(
    const float32_t *__restrict__ pSrc,
    uint32_t length,
    const plp_dwt_wavelet_f32 wavelet,
    plp_dwt_extension_mode mode,
    float32_t *__restrict__ pDstA,
    float32_t *__restrict__ pDstD
)

Floating-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

function plp_dwt_haar_f32s_xpulpv2

void plp_dwt_haar_f32s_xpulpv2(
    const float32_t *__restrict__ pSrc,
    uint32_t length,
    plp_dwt_extension_mode mode,
    float32_t *__restrict__ pDstA,
    float32_t *__restrict__ pDstD
)

Floating-point DWT kernel optimized for Haar Wavelet on real input data for XPULPV2 extension.

Parameters:

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

Return: none

function plp_dwt_q16s_rv32im

void plp_dwt_q16s_rv32im(
    const int16_t *__restrict__ pSrc,
    uint32_t length,
    const plp_dwt_wavelet_q16 wavelet,
    plp_dwt_extension_mode mode,
    int16_t *__restrict__ pDstA,
    int16_t *__restrict__ pDstD
)

16bit fixed-point DWT on real input data.

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

16bit Fixed-point DWT.

function plp_dwt_haar_q16s_rv32im

void plp_dwt_haar_q16s_rv32im(
    const int16_t *__restrict__ pSrc,
    uint32_t length,
    plp_dwt_extension_mode mode,
    int16_t *__restrict__ pDstA,
    int16_t *__restrict__ pDstD
)

16bit fixed-point DWT kernel optimized for Haar Wavelet on real input data.

Parameters:

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

Return: none

16bit Fixed-point DWT kernel optimized for Haar Wavelet on real input data.

function plp_dwt_q32s_rv32im

void plp_dwt_q32s_rv32im(
    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
)

Q32 Fixed-point DWT on real input data.

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.

function plp_dwt_q8s_rv32im

void plp_dwt_q8s_rv32im(
    const int8_t *__restrict__ pSrc,
    uint32_t length,
    const plp_dwt_wavelet_q8 wavelet,
    plp_dwt_extension_mode mode,
    int8_t *__restrict__ pDstA,
    int8_t *__restrict__ pDstD
)

8bit fixed-point DWT on real input data

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

8bit Fixed-point DWT.

function plp_dwt_haar_q8s_rv32im

void plp_dwt_haar_q8s_rv32im(
    const int8_t *__restrict__ pSrc,
    uint32_t length,
    plp_dwt_extension_mode mode,
    int8_t *__restrict__ pDstA,
    int8_t *__restrict__ pDstD
)

8bit fixed-point DWT kernel optimized for Haar Wavelet on real input data.

Parameters:

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

Return: none

8bit Fixed-point DWT kernel optimized for Haar Wavelet on real input data.

Macros Documentation

define MAKE_HAAR

#define MAKE_HAAR(
    NAME,
    COEF,
    SHIFT
)


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