X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2FAPI%2Fxran__compression_8h.html;fp=docs%2FAPI%2Fxran__compression_8h.html;h=07f35ea604f68d090c51cd52a5925fb0df09385b;hb=870e1b86b0c74169b215c166dee787c7c1a20d06;hp=0000000000000000000000000000000000000000;hpb=298022ce50fa8133cc880507170c4b7120d227b5;p=o-du%2Fphy.git diff --git a/docs/API/xran__compression_8h.html b/docs/API/xran__compression_8h.html new file mode 100644 index 0000000..07f35ea --- /dev/null +++ b/docs/API/xran__compression_8h.html @@ -0,0 +1,536 @@ + + + + + + + +o-du/phy: xran_compression.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
o-du/phy +
+
Intel O-RAN/X-RAN Generated Doxygen Documentation
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Data Structures | +Functions
+
+
xran_compression.h File Reference
+
+
+ +

External API for compading with the use BFP algorithm. +More...

+
#include <stdint.h>
+
+Include dependency graph for xran_compression.h:
+
+
+ + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Data Structures

struct  xranlib_compress_request
 Request structure containing pointer to data and its length. More...
 
struct  xranlib_compress_response
 Response structure containing pointer to data and its length. More...
 
struct  xranlib_decompress_request
 Request structure containing pointer to data and its length. More...
 
struct  xranlib_decompress_response
 Response structure containing pointer to data and its length. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

int16_t xranlib_companding_version (char *version, int buffer_size)
 Report the version number for the xranlib_companding library. More...
 
int xranlib_compress (const struct xranlib_compress_request *request, struct xranlib_compress_response *response)
 Compress functions - it converts a 16-bit linear PCM value to 8-bt A-law. More...
 
int xranlib_compress_sse (const struct xranlib_compress_request *request, struct xranlib_compress_response *response)
 
int xranlib_compress_avx2 (const struct xranlib_compress_request *request, struct xranlib_compress_response *response)
 
int xranlib_compress_avx512 (const struct xranlib_compress_request *request, struct xranlib_compress_response *response)
 
int xranlib_compress_avx512_bfw (const struct xranlib_compress_request *request, struct xranlib_compress_response *response)
 
int xranlib_decompress (const struct xranlib_decompress_request *request, struct xranlib_decompress_response *response)
 Decompress function - it converts an A-law value to 16-bit linear PCM. More...
 
int xranlib_decompress_sse (const struct xranlib_decompress_request *request, struct xranlib_decompress_response *response)
 
int xranlib_decompress_avx2 (const struct xranlib_decompress_request *request, struct xranlib_decompress_response *response)
 
int xranlib_decompress_avx512 (const struct xranlib_decompress_request *request, struct xranlib_decompress_response *response)
 
+

Detailed Description

+

External API for compading with the use BFP algorithm.

+ +

Definition in file xran_compression.h.

+

Function Documentation

+ +

◆ xranlib_companding_version()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int16_t xranlib_companding_version (char * version,
int buffer_size 
)
+
+ +

Report the version number for the xranlib_companding library.

+
Parameters
+ + + +
[in]versionPointer to a char buffer where the version string should be copied.
[in]buffer_sizeThe length of the string buffer, must be at least xranlib_SDK_VERSION_STRING_MAX_LEN characters.
+
+
+
Returns
0 if the version string was populated, otherwise -1.
+ +
+
+ +

◆ xranlib_compress()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int xranlib_compress (const struct xranlib_compress_requestrequest,
struct xranlib_compress_responseresponse 
)
+
+ +

Compress functions - it converts a 16-bit linear PCM value to 8-bt A-law.

+
Parameters
+ + + +
[in]requestStructure containing the input data and data length.
[out]responseStructure containing the output data and data length.
+
+
+
Returns
0 for success, -1 for error
+ +
+
+ +

◆ xranlib_compress_avx2()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int xranlib_compress_avx2 (const struct xranlib_compress_requestrequest,
struct xranlib_compress_responseresponse 
)
+
+ +
+
+ +

◆ xranlib_compress_avx512()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int xranlib_compress_avx512 (const struct xranlib_compress_requestrequest,
struct xranlib_compress_responseresponse 
)
+
+ +

Definition at line 729 of file xran_compression.cpp.

+
+Here is the call graph for this function:
+
+
+ + + + + + + + + + + +
+
+Here is the caller graph for this function:
+
+
+ + + +
+ +
+
+ +

◆ xranlib_compress_avx512_bfw()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int xranlib_compress_avx512_bfw (const struct xranlib_compress_requestrequest,
struct xranlib_compress_responseresponse 
)
+
+ +

Definition at line 783 of file xran_compression.cpp.

+
+Here is the call graph for this function:
+
+
+ + + + +
+
+Here is the caller graph for this function:
+
+
+ + + + +
+ +
+
+ +

◆ xranlib_compress_sse()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int xranlib_compress_sse (const struct xranlib_compress_requestrequest,
struct xranlib_compress_responseresponse 
)
+
+ +
+
+ +

◆ xranlib_decompress()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int xranlib_decompress (const struct xranlib_decompress_requestrequest,
struct xranlib_decompress_responseresponse 
)
+
+ +

Decompress function - it converts an A-law value to 16-bit linear PCM.

+
Parameters
+ + + +
[in]requestStructure containing the input data and data length.
[out]responseStructure containing the output data and data length.
+
+
+
Returns
0 for success, -1 for error.
+ +
+
+ +

◆ xranlib_decompress_avx2()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int xranlib_decompress_avx2 (const struct xranlib_decompress_requestrequest,
struct xranlib_decompress_responseresponse 
)
+
+ +
+
+ +

◆ xranlib_decompress_avx512()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int xranlib_decompress_avx512 (const struct xranlib_decompress_requestrequest,
struct xranlib_decompress_responseresponse 
)
+
+ +

Definition at line 834 of file xran_compression.cpp.

+
+Here is the call graph for this function:
+
+
+ + + + + + + + + + +
+
+Here is the caller graph for this function:
+
+
+ + + +
+ +
+
+ +

◆ xranlib_decompress_sse()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int xranlib_decompress_sse (const struct xranlib_decompress_requestrequest,
struct xranlib_decompress_responseresponse 
)
+
+ +
+
+
+ + + +