FFmpeg
Functions
aptxdec.c File Reference
#include "config_components.h"
#include "libavutil/channel_layout.h"
#include "aptx.h"
#include "codec_internal.h"
#include "decode.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, AVFrame *frame, 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 36 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 60 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 85 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 94 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 104 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 114 of file aptxdec.c.

Referenced by aptx_decode_frame().

◆ aptx_decode_frame()

static int aptx_decode_frame ( AVCodecContext avctx,
AVFrame frame,
int got_frame_ptr,
AVPacket avpkt 
)
static

Definition at line 140 of file aptxdec.c.