o-du/phy
Intel O-RAN/X-RAN Generated Doxygen Documentation
Data Structures | Functions
BlockFloatCompanderBFW Namespace Reference

Data Structures

struct  CompressedData
 
struct  ExpandedData
 

Functions

void BlockFloatCompress_Basic (const ExpandedData &dataIn, CompressedData *dataOut)
 Reference compression. More...
 
void BlockFloatExpand_Basic (const CompressedData &dataIn, ExpandedData *dataOut)
 Reference expansion. More...
 

Function Documentation

◆ BlockFloatCompress_Basic()

void BlockFloatCompress_Basic ( const ExpandedData dataIn,
BlockFloatCompanderBFW::CompressedData dataOut 
)

Reference compression.

Find max abs value for this RB

ARS data by exponent and pack bytes in Network order This uses a sliding buffer where one or more bytes are extracted after the insertion of each compressed sample

Definition at line 640 of file xran_compression.cpp.

Here is the caller graph for this function:

◆ BlockFloatExpand_Basic()

void BlockFloatExpand_Basic ( const CompressedData dataIn,
BlockFloatCompanderBFW::ExpandedData dataOut 
)

Reference expansion.

byteBuffer currently has enough data in it to extract a sample Shift left first to set sign bit at MSB, then shift right to sign extend down to iqWidth. Finally recast to int16.

Definition at line 687 of file xran_compression.cpp.