X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2FAPI%2Fnamespace_block_float_compander.html;fp=docs%2FAPI%2Fnamespace_block_float_compander.html;h=9dca61bd059b1524d3a2b03d2ccbca559a17347e;hb=870e1b86b0c74169b215c166dee787c7c1a20d06;hp=0000000000000000000000000000000000000000;hpb=298022ce50fa8133cc880507170c4b7120d227b5;p=o-du%2Fphy.git diff --git a/docs/API/namespace_block_float_compander.html b/docs/API/namespace_block_float_compander.html new file mode 100644 index 0000000..9dca61b --- /dev/null +++ b/docs/API/namespace_block_float_compander.html @@ -0,0 +1,636 @@ + + +
+ + + + +
+ o-du/phy
+
+ Intel O-RAN/X-RAN Generated Doxygen Documentation
+ |
+
+Data Structures | |
struct | CompressedData |
struct | ExpandedData |
+Functions | |
void | BlockFloatCompress_Basic (const ExpandedData &dataIn, CompressedData *dataOut) |
Reference compression. More... | |
void | BlockFloatCompress_8b_AVX512 (const ExpandedData &dataIn, CompressedData *dataOut) |
8 bit compression More... | |
void | BlockFloatCompress_9b_AVX512 (const ExpandedData &dataIn, CompressedData *dataOut) |
9 bit compression More... | |
void | BlockFloatCompress_10b_AVX512 (const ExpandedData &dataIn, CompressedData *dataOut) |
10 bit compression More... | |
void | BlockFloatCompress_12b_AVX512 (const ExpandedData &dataIn, CompressedData *dataOut) |
12 bit compression More... | |
void | BlockFloatExpand_Basic (const CompressedData &dataIn, ExpandedData *dataOut) |
Reference expansion. More... | |
void | BlockFloatExpand_8b_AVX512 (const CompressedData &dataIn, ExpandedData *dataOut) |
8 bit expansion More... | |
void | BlockFloatExpand_9b_AVX512 (const CompressedData &dataIn, ExpandedData *dataOut) |
9 bit expansion More... | |
void | BlockFloatExpand_10b_AVX512 (const CompressedData &dataIn, ExpandedData *dataOut) |
10 bit expansion More... | |
void | BlockFloatExpand_12b_AVX512 (const CompressedData &dataIn, ExpandedData *dataOut) |
12 bit expansion More... | |
Intel compiler frequently complains about templates not being declared in an external header. Templates are used throughout this project's source files to define local type-specific versions of functions. Defining every one of these in a header is unnecessary, so the warnings about this are turned off globally.
+void BlockFloatCompress_10b_AVX512 | +( | +const ExpandedData & | +dataIn, | +
+ | + | CompressedData * | +dataOut | +
+ | ) | ++ |
10 bit compression
+Compute exponent and store for later use
+Shift 1RB by corresponding exponent and write exponent and data to output Output data is packed exponent first followed by corresponding compressed RB
+Apply exponent shift
+Pack compressed data network byte order
+Store exponent first
+Now have 1 RB worth of bytes separated into 3 chunks (1 per lane) Use three offset stores to join
+ +Definition at line 395 of file xran_compression.cpp.
+void BlockFloatCompress_12b_AVX512 | +( | +const ExpandedData & | +dataIn, | +
+ | + | CompressedData * | +dataOut | +
+ | ) | ++ |
12 bit compression
+Compute exponent and store for later use
+Shift 1RB by corresponding exponent and write exponent and data to output Output data is packed exponent first followed by corresponding compressed RB
+Apply exponent shift
+Pack compressed data network byte order
+Store exponent first
+Now have 1 RB worth of bytes separated into 3 chunks (1 per lane) Use three offset stores to join
+ +Definition at line 431 of file xran_compression.cpp.
+void BlockFloatCompress_8b_AVX512 | +( | +const ExpandedData & | +dataIn, | +
+ | + | CompressedData * | +dataOut | +
+ | ) | ++ |
8 bit compression
+Compute exponent and store for later use
+Shift 1RB by corresponding exponent and write exponent and data to output
+Store exponent first
+Store compressed RB
+ +Definition at line 335 of file xran_compression.cpp.
+void BlockFloatCompress_9b_AVX512 | +( | +const ExpandedData & | +dataIn, | +
+ | + | CompressedData * | +dataOut | +
+ | ) | ++ |
9 bit compression
+Compute exponent and store for later use
+Shift 1RB by corresponding exponent and write exponent and data to output Output data is packed exponent first followed by corresponding compressed RB
+Apply exponent shift
+Pack compressed data network byte order
+Store exponent first
+Now have 1 RB worth of bytes separated into 3 chunks (1 per lane) Use three offset stores to join
+ +Definition at line 359 of file xran_compression.cpp.
+void BlockFloatCompress_Basic | +( | +const ExpandedData & | +dataIn, | +
+ | + | 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 558 of file xran_compression.cpp.
+void BlockFloatExpand_10b_AVX512 | +( | +const CompressedData & | +dataIn, | +
+ | + | ExpandedData * | +dataOut | +
+ | ) | ++ |
10 bit expansion
+Unpack network order packed data
+Apply exponent scaling (by appropriate arithmetic shift right)
+Write expanded data to output
+ +Definition at line 510 of file xran_compression.cpp.
+void BlockFloatExpand_12b_AVX512 | +( | +const CompressedData & | +dataIn, | +
+ | + | ExpandedData * | +dataOut | +
+ | ) | ++ |
12 bit expansion
+Unpack network order packed data
+Apply exponent scaling (by appropriate arithmetic shift right)
+Write expanded data to output
+ +Definition at line 534 of file xran_compression.cpp.
+void BlockFloatExpand_8b_AVX512 | +( | +const CompressedData & | +dataIn, | +
+ | + | ExpandedData * | +dataOut | +
+ | ) | ++ |
8 bit expansion
+Expand 1RB of data
+Write expanded data to output
+ +Definition at line 467 of file xran_compression.cpp.
+void BlockFloatExpand_9b_AVX512 | +( | +const CompressedData & | +dataIn, | +
+ | + | ExpandedData * | +dataOut | +
+ | ) | ++ |
9 bit expansion
+Unpack network order packed data
+Apply exponent scaling (by appropriate arithmetic shift right)
+Write expanded data to output
+ +Definition at line 486 of file xran_compression.cpp.
+void BlockFloatExpand_Basic | +( | +const CompressedData & | +dataIn, | +
+ | + | 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 605 of file xran_compression.cpp.
+