FFmpeg
Macros | Functions
silk.h File Reference
#include "opus.h"
#include "rc.h"

Go to the source code of this file.

Macros

#define SILK_HISTORY   322
 
#define SILK_MAX_LPC   16
 

Functions

int ff_silk_init (void *logctx, SilkContext **ps, int output_channels)
 
void ff_silk_free (SilkContext **ps)
 
void ff_silk_flush (SilkContext *s)
 
int ff_silk_decode_superframe (SilkContext *s, OpusRangeCoder *rc, float *output[2], enum OpusBandwidth bandwidth, int coded_channels, int duration_ms)
 Decode the LP layer of one Opus frame (which may correspond to several SILK frames). More...
 

Macro Definition Documentation

◆ SILK_HISTORY

#define SILK_HISTORY   322

Definition at line 29 of file silk.h.

◆ SILK_MAX_LPC

#define SILK_MAX_LPC   16

Definition at line 30 of file silk.h.

Function Documentation

◆ ff_silk_init()

int ff_silk_init ( void *  logctx,
SilkContext **  ps,
int  output_channels 
)

Definition at line 883 of file silk.c.

Referenced by opus_decode_init().

◆ ff_silk_free()

void ff_silk_free ( SilkContext **  ps)

Definition at line 870 of file silk.c.

Referenced by opus_decode_close().

◆ ff_silk_flush()

void ff_silk_flush ( SilkContext s)

Definition at line 875 of file silk.c.

Referenced by ff_silk_init(), opus_decode_flush(), and opus_decode_frame().

◆ ff_silk_decode_superframe()

int ff_silk_decode_superframe ( SilkContext s,
OpusRangeCoder rc,
float output[2],
enum OpusBandwidth  bandwidth,
int  coded_channels,
int  duration_ms 
)

Decode the LP layer of one Opus frame (which may correspond to several SILK frames).

Definition at line 792 of file silk.c.

Referenced by opus_decode_frame().