webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Macros | Functions
opus_decoder.c File Reference
#include <stdarg.h>
#include "celt.h"
#include "opus.h"
#include "entdec.h"
#include "modes.h"
#include "API.h"
#include "stack_alloc.h"
#include "float_cast.h"
#include "opus_private.h"
#include "os_support.h"
#include "structs.h"
#include "define.h"
#include "mathops.h"
#include "cpu_support.h"

Classes

struct  OpusDecoder
 

Macros

#define OPUS_DECODER_RESET_START   stream_channels
 

Functions

int opus_decoder_get_size (int channels)
 
int opus_decoder_init (OpusDecoder *st, opus_int32 Fs, int channels)
 
OpusDecoderopus_decoder_create (opus_int32 Fs, int channels, int *error)
 
int opus_decode_native (OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec, int self_delimited, opus_int32 *packet_offset, int soft_clip)
 
int opus_decode (OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_int16 *pcm, int frame_size, int decode_fec)
 
int opus_decode_float (OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec)
 
int opus_decoder_ctl (OpusDecoder *st, int request,...)
 
void opus_decoder_destroy (OpusDecoder *st)
 
int opus_packet_get_bandwidth (const unsigned char *data)
 
int opus_packet_get_nb_channels (const unsigned char *data)
 
int opus_packet_get_nb_frames (const unsigned char packet[], opus_int32 len)
 
int opus_packet_get_nb_samples (const unsigned char packet[], opus_int32 len, opus_int32 Fs)
 
int opus_decoder_get_nb_samples (const OpusDecoder *dec, const unsigned char packet[], opus_int32 len)
 

Macro Definition Documentation

◆ OPUS_DECODER_RESET_START

#define OPUS_DECODER_RESET_START   stream_channels

Function Documentation

◆ opus_decode_native()

int opus_decode_native ( OpusDecoder st,
const unsigned char *  data,
opus_int32  len,
opus_val16 pcm,
int  frame_size,
int  decode_fec,
int  self_delimited,
opus_int32 packet_offset,
int  soft_clip 
)