AM273x MCU+ SDK  08.06.00

Detailed Description

HWA Paramset Config for compression and decompression.

HWA paramset config parameters for the Local compression and decompression block inside HWA_ParamConfig which is used with the HWA_ConfigParamSet() call.

Data Fields

uint8_t EGEKidx
 
uint8_t EGEKarrayLength
 
uint8_t scaleFactorBW
 
uint8_t BFPMantissaBW
 
uint8_t scaleFactor
 
uint8_t passSelect
 
uint8_t headerEnable
 
uint8_t method
 
uint8_t compressDecompress
 
uint8_t ditherEnable
 

Field Documentation

◆ EGEKidx

uint8_t HWA_AccelModeCompress::EGEKidx

4 bits values: the k-index used for HWA_COMPRESS_METHOND_EGE algorithm, if the first pass is bypassed sets the CMP_EGE_OPT_K_INDX bits of register CMPDCMP in paramset

◆ EGEKarrayLength

uint8_t HWA_AccelModeCompress::EGEKarrayLength

4 bits value: The size of K-array used in the EGE, valid range is 1 to 3. Applied to HWA_AccelModeCompress::method is set to HWA_COMPRESS_METHOND_EGE only sets the CMP_EGE_K_ARR_LEN bits of register CMPDCMP in paramset

◆ scaleFactorBW

uint8_t HWA_AccelModeCompress::scaleFactorBW

4 bits value: it specifies the number of bits for storing the scale both BFP and EG algorithm. If the input is 16-bit (real or complex), scaleFactorBW is set to 4, if the input is 32-bit (real or complex), the scaleFactorBW is set to 5. Valid range is 0 to 7. sets the CMP_SCALEFAC_BW bits of register CMPDCMP in paramset

◆ BFPMantissaBW

uint8_t HWA_AccelModeCompress::BFPMantissaBW

5 bits value: specify the number of bits for mantissa, applied to HWA_AccelModeCompress::method is set to HWA_COMPRESS_METHOD_BFP only sets the CMP_BFP_MANTISSA_BW bits of register CMPDCMP in paramset

◆ scaleFactor

uint8_t HWA_AccelModeCompress::scaleFactor

5 bits values: hard coded scale factor for BFP, only if first pass is disabled., sets the CMP_SCALEFAC bits of register CMPDCMP in paramset

◆ passSelect

uint8_t HWA_AccelModeCompress::passSelect

see HWA_COMPRESS_PATHSELECT macro for the correct values, sets the CMP_PASS_SEL bits of register CMPDCMP in paramset

◆ headerEnable

uint8_t HWA_AccelModeCompress::headerEnable

see HWA_FEATURE_BIT macro for the correct values, it enable/disable the header in the compressed data. sets the CMP_HEADER_EN bits of register CMPDCMP in paramset

◆ method

uint8_t HWA_AccelModeCompress::method

see HWA_COMPRESS_METHOD macro for the correct values, it selects one of the two compress algorithms. sets the CMP_METHOD bits of register CMPDCMP in paramset

◆ compressDecompress

uint8_t HWA_AccelModeCompress::compressDecompress

see HWA_CMP_DCMP macros for correct values. sets the CMP_DCMP bits of register CMPDCMP in paramset

◆ ditherEnable

uint8_t HWA_AccelModeCompress::ditherEnable

see HWA_FEATURE_BIT macros for correct values, the register bit enable/disable dithering. sets the CMP_DITHER_EN bits of register CMPDCMP in paramset