FFmpeg
Functions
aptxdec.c File Reference
#include "libavutil/channel_layout.h"
#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

◆ aptx_qmf_polyphase_synthesis()

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 32 of file aptxdec.c.

Referenced by aptx_qmf_tree_synthesis().

◆ 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 56 of file aptxdec.c.

Referenced by aptx_decode_channel().

◆ aptx_decode_channel()

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

Definition at line 81 of file aptxdec.c.

Referenced by aptx_decode_samples().

◆ aptx_unpack_codeword()

static void aptx_unpack_codeword ( Channel channel,
uint16_t  codeword 
)
static

Definition at line 90 of file aptxdec.c.

Referenced by aptx_decode_samples().

◆ aptxhd_unpack_codeword()

static void aptxhd_unpack_codeword ( Channel channel,
uint32_t  codeword 
)
static

Definition at line 100 of file aptxdec.c.

Referenced by aptx_decode_samples().

◆ aptx_decode_samples()

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

Definition at line 110 of file aptxdec.c.

Referenced by aptx_decode_frame().

◆ aptx_decode_frame()

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

Definition at line 136 of file aptxdec.c.