FFmpeg
Functions
aptxdec.c File Reference
#include "aptx.h"

Go to the source code of this file.

Functions

static av_always_inline void aptx_qmf_polyphase_synthesis (FilterSignal signal[NB_FILTERS], const int32_t coeffs[NB_FILTERS][FILTER_TAPS], int shift, int32_t low_subband_input, int32_t high_subband_input, int32_t samples[NB_FILTERS])
 
static void aptx_qmf_tree_synthesis (QMFAnalysis *qmf, int32_t subband_samples[4], int32_t samples[4])
 
static void aptx_decode_channel (Channel *channel, int32_t samples[4])
 
static void aptx_unpack_codeword (Channel *channel, uint16_t codeword)
 
static void aptxhd_unpack_codeword (Channel *channel, uint32_t codeword)
 
static int aptx_decode_samples (AptXContext *ctx, const uint8_t *input, int32_t samples[NB_CHANNELS][4])
 
static int aptx_decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
 

Function Documentation

static av_always_inline void aptx_qmf_polyphase_synthesis ( FilterSignal  signal[NB_FILTERS],
const int32_t  coeffs[NB_FILTERS][FILTER_TAPS],
int  shift,
int32_t  low_subband_input,
int32_t  high_subband_input,
int32_t  samples[NB_FILTERS] 
)
static

Definition at line 31 of file aptxdec.c.

Referenced by aptx_qmf_tree_synthesis().

static void aptx_qmf_tree_synthesis ( QMFAnalysis qmf,
int32_t  subband_samples[4],
int32_t  samples[4] 
)
static

Definition at line 55 of file aptxdec.c.

Referenced by aptx_decode_channel().

static void aptx_decode_channel ( Channel channel,
int32_t  samples[4] 
)
static

Definition at line 80 of file aptxdec.c.

Referenced by aptx_decode_samples().

static void aptx_unpack_codeword ( Channel channel,
uint16_t  codeword 
)
static

Definition at line 89 of file aptxdec.c.

Referenced by aptx_decode_samples().

static void aptxhd_unpack_codeword ( Channel channel,
uint32_t  codeword 
)
static

Definition at line 99 of file aptxdec.c.

Referenced by aptx_decode_samples().

static int aptx_decode_samples ( AptXContext ctx,
const uint8_t input,
int32_t  samples[NB_CHANNELS][4] 
)
static

Definition at line 109 of file aptxdec.c.

Referenced by aptx_decode_frame().

static int aptx_decode_frame ( AVCodecContext avctx,
void data,
int got_frame_ptr,
AVPacket avpkt 
)
static

Definition at line 135 of file aptxdec.c.