UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
radaudio_common.h File Reference
#include "rrCore.h"
#include "radaudio_sse.h"

Go to the source code of this file.

Classes

struct  radaudio_cpu_features
 
struct  radaudio_block_header_biases
 
struct  radaudio_stream_header_unpacked
 
struct  radaudio_nonzero_blockmode_descriptor
 
struct  radaudio_block_data
 
struct  radaudio_rate_info
 
struct  radaudio_block_header_unpacked
 
struct  radaudio_huff_symbol
 
struct  radaudio_huff_code
 
struct  radaudio_huffman
 

Macros

#define MAX_VALID_VERSION   1
 
#define FFT_ALIGN(type, name)   RAD_ALIGN(type, name, 64)
 
#define RADAUDIO_PI   3.1415926535897932384626433832795028
 
#define RADAUDIO_LONG_BLOCK_LEN   1024
 
#define RADAUDIO_SHORT_BLOCK_LEN   128
 
#define MAX_BANDS   24
 
#define MAX_COEFFS   1024
 
#define MAX_SUBBANDS   72
 
#define MAX_SUBBANDS_QUANTIZED   56
 
#define MAX_MDCT_SAMPLES   2048
 
#define MAX_RADAUD_CHANNELS   2
 
#define MAX_COEFF_PER_BAND   512
 
#define MAX_COEFF_PER_SUBBAND   32
 
#define MAX_RUNLEN   240
 
#define END_OF_ZERORUN   255
 
#define COARSE_RUNLEN_THRESHOLD   60
 
#define PREDICT_FIRST_BAND_EXP   0
 
#define MAX_FINE_ENERGY_BITS   16
 
#define COEFFS_PER_SUBBAND   16
 
#define EXPONENT_NEGATIVE_INFINITY   -17
 
#define EXPONENT_NEGATIVE_16   -16
 
#define EXPONENT_ZERO   0
 
#define EXPONENT_POSITIVE_14   14
 
#define BAND_EXPONENT_NONE   -17
 
#define SUBBANDS_SKIP_EMPTY_BANDS   true
 
#define MACRO_BAND_SIZE   3
 
#define LARGEST_BIASED_SUBBAND   63
 
#define SUBBAND_BIAS_CENTER   12
 
#define NUM_NZ_MODE   4
 
#define NUM_SELECTOR_MODES   (NUM_NZ_MODE+1)
 
#define NUM_NZ_SELECTOR   4
 
#define NUM_NZ_HUFF   6
 
#define MAX_NZ_BLOCKS   12
 
#define CLAMPED_INTEGER_EXPONENT_TO_CODED_EXPONENT(is_neg_inf, n)
 
#define CODED_EXPONENT_TO_INTEGER(n)   (n)
 
#define MAX_ENCODED_BLOCK_BYTES   16383
 
#define RADAUDIO_NUM_RATES   4
 
#define LCG_MUL   2147001325
 
#define LCG_ADD   715136305
 

Enumerations

enum  { false , true }
 
enum  radaudio_samprate_code { RADA_48000 , RADA_44100 , RADA_32000 , RADA_24000 }
 
enum  { RADAUDIO_LONG , RADAUDIO_SHORT }
 

Macro Definition Documentation

◆ BAND_EXPONENT_NONE

#define BAND_EXPONENT_NONE   -17

◆ CLAMPED_INTEGER_EXPONENT_TO_CODED_EXPONENT

#define CLAMPED_INTEGER_EXPONENT_TO_CODED_EXPONENT (   is_neg_inf,
 
)
Value:
: (n))
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define EXPONENT_NEGATIVE_INFINITY
Definition radaudio_common.h:46

◆ COARSE_RUNLEN_THRESHOLD

#define COARSE_RUNLEN_THRESHOLD   60

◆ CODED_EXPONENT_TO_INTEGER

#define CODED_EXPONENT_TO_INTEGER (   n)    (n)

◆ COEFFS_PER_SUBBAND

#define COEFFS_PER_SUBBAND   16

◆ END_OF_ZERORUN

#define END_OF_ZERORUN   255

◆ EXPONENT_NEGATIVE_16

#define EXPONENT_NEGATIVE_16   -16

◆ EXPONENT_NEGATIVE_INFINITY

#define EXPONENT_NEGATIVE_INFINITY   -17

◆ EXPONENT_POSITIVE_14

#define EXPONENT_POSITIVE_14   14

◆ EXPONENT_ZERO

#define EXPONENT_ZERO   0

◆ FFT_ALIGN

#define FFT_ALIGN (   type,
  name 
)    RAD_ALIGN(type, name, 64)

◆ LARGEST_BIASED_SUBBAND

#define LARGEST_BIASED_SUBBAND   63

◆ LCG_ADD

#define LCG_ADD   715136305

◆ LCG_MUL

#define LCG_MUL   2147001325

◆ MACRO_BAND_SIZE

#define MACRO_BAND_SIZE   3

◆ MAX_BANDS

#define MAX_BANDS   24

◆ MAX_COEFF_PER_BAND

#define MAX_COEFF_PER_BAND   512

◆ MAX_COEFF_PER_SUBBAND

#define MAX_COEFF_PER_SUBBAND   32

◆ MAX_COEFFS

#define MAX_COEFFS   1024

◆ MAX_ENCODED_BLOCK_BYTES

#define MAX_ENCODED_BLOCK_BYTES   16383

◆ MAX_FINE_ENERGY_BITS

#define MAX_FINE_ENERGY_BITS   16

◆ MAX_MDCT_SAMPLES

#define MAX_MDCT_SAMPLES   2048

◆ MAX_NZ_BLOCKS

#define MAX_NZ_BLOCKS   12

◆ MAX_RADAUD_CHANNELS

#define MAX_RADAUD_CHANNELS   2

◆ MAX_RUNLEN

#define MAX_RUNLEN   240

◆ MAX_SUBBANDS

#define MAX_SUBBANDS   72

◆ MAX_SUBBANDS_QUANTIZED

#define MAX_SUBBANDS_QUANTIZED   56

◆ MAX_VALID_VERSION

#define MAX_VALID_VERSION   1

◆ NUM_NZ_HUFF

#define NUM_NZ_HUFF   6

◆ NUM_NZ_MODE

#define NUM_NZ_MODE   4

◆ NUM_NZ_SELECTOR

#define NUM_NZ_SELECTOR   4

◆ NUM_SELECTOR_MODES

#define NUM_SELECTOR_MODES   (NUM_NZ_MODE+1)

◆ PREDICT_FIRST_BAND_EXP

#define PREDICT_FIRST_BAND_EXP   0

◆ RADAUDIO_LONG_BLOCK_LEN

#define RADAUDIO_LONG_BLOCK_LEN   1024

◆ RADAUDIO_NUM_RATES

#define RADAUDIO_NUM_RATES   4

◆ RADAUDIO_PI

#define RADAUDIO_PI   3.1415926535897932384626433832795028

◆ RADAUDIO_SHORT_BLOCK_LEN

#define RADAUDIO_SHORT_BLOCK_LEN   128

◆ SUBBAND_BIAS_CENTER

#define SUBBAND_BIAS_CENTER   12

◆ SUBBANDS_SKIP_EMPTY_BANDS

#define SUBBANDS_SKIP_EMPTY_BANDS   true

Enumeration Type Documentation

◆ anonymous enum

Enumerator
false 
true 

◆ anonymous enum

Enumerator
RADAUDIO_LONG 
RADAUDIO_SHORT 

◆ radaudio_samprate_code

Enumerator
RADA_48000 
RADA_44100 
RADA_32000 
RADA_24000