UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
binkacd.cpp File Reference
#include "rrCore.h"
#include <string.h>
#include <stdint.h>
#include "radmath.h"
#include "binkacd.h"
#include "cpu.h"
#include "radfft.h"
#include "undeci.inc"
#include "crsfade.inl"
#include "binkbits.h"

Classes

struct  BINKAUDIODECOMP
 

Macros

#define MAX_TRANSFORM   2048
 
#define MAXCHANNELS   2
 
#define WINDOWRATIO   16
 
#define TOTBANDS   25
 
#define FXPBITS   29
 
#define VQLENGTH   8
 
#define RLEBITS   4
 
#define MAXRLE   ( 1 << RLEBITS )
 
#define rrmemsetzero(d, c)   memset(d,0,c)
 
#define ourmemsetzero   rrmemsetzero
 
#define rrmemmovebig   memmove
 
#define ourmemcpy   rrmemmovebig
 
#define roundup(val)   ( ( ( val ) + 15 ) & ~15 )
 
#define SQRT2   1.41421356237309504880f
 

Typedefs

typedef struct BINKAUDIODECOMP BINKAUDIODECOMP
 

Functions

RADDEFFUNC U32 RADLINK BinkAudioDecompressMemory (U32 rate, U32 chans, U32 flags)
 
RADDEFFUNC void RADLINK BinkAudioDecompressResetStartFrame (void *mem)
 
RADDEFFUNC U32 RADLINK BinkAudioDecompressOpen (void *mem, U32 rate, U32 chans, U32 flags)
 
RADDEFFUNC void RADLINK BinkAudioDecompress (void *mem, BINKAC_OUT_RINGBUF *output, BINKAC_IN *input)
 
RADDEFFUNC U32 RADLINK BinkAudioDecompressOutputSize (void *mem)
 

Macro Definition Documentation

◆ FXPBITS

#define FXPBITS   29

◆ MAX_TRANSFORM

#define MAX_TRANSFORM   2048

◆ MAXCHANNELS

#define MAXCHANNELS   2

◆ MAXRLE

#define MAXRLE   ( 1 << RLEBITS )

◆ ourmemcpy

#define ourmemcpy   rrmemmovebig

◆ ourmemsetzero

#define ourmemsetzero   rrmemsetzero

◆ RLEBITS

#define RLEBITS   4

◆ roundup

#define roundup (   val)    ( ( ( val ) + 15 ) & ~15 )

◆ rrmemmovebig

#define rrmemmovebig   memmove

◆ rrmemsetzero

#define rrmemsetzero (   d,
 
)    memset(d,0,c)

◆ SQRT2

#define SQRT2   1.41421356237309504880f

◆ TOTBANDS

#define TOTBANDS   25

◆ VQLENGTH

#define VQLENGTH   8

◆ WINDOWRATIO

#define WINDOWRATIO   16

Typedef Documentation

◆ BINKAUDIODECOMP

Function Documentation

◆ BinkAudioDecompress()

RADDEFFUNC void RADLINK BinkAudioDecompress ( void mem,
BINKAC_OUT_RINGBUF output,
BINKAC_IN input 
)

◆ BinkAudioDecompressMemory()

RADDEFFUNC U32 RADLINK BinkAudioDecompressMemory ( U32  rate,
U32  chans,
U32  flags 
)

◆ BinkAudioDecompressOpen()

RADDEFFUNC U32 RADLINK BinkAudioDecompressOpen ( void mem,
U32  rate,
U32  chans,
U32  flags 
)

◆ BinkAudioDecompressOutputSize()

RADDEFFUNC U32 RADLINK BinkAudioDecompressOutputSize ( void mem)

◆ BinkAudioDecompressResetStartFrame()

RADDEFFUNC void RADLINK BinkAudioDecompressResetStartFrame ( void mem)