FFmpeg  4.0
Data Structures | Macros | Functions
dca_xll.h File Reference
#include "libavutil/common.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "internal.h"
#include "get_bits.h"
#include "dca.h"
#include "dcadsp.h"
#include "dca_exss.h"

Go to the source code of this file.

Data Structures

struct  DCAXllBand
 
struct  DCAXllChSet
 
struct  DCAXllDecoder
 

Macros

#define DCA_XLL_CHSETS_MAX   3
 
#define DCA_XLL_CHANNELS_MAX   8
 
#define DCA_XLL_BANDS_MAX   2
 
#define DCA_XLL_ADAPT_PRED_ORDER_MAX   16
 
#define DCA_XLL_DECI_HISTORY_MAX   8
 
#define DCA_XLL_DMIX_SCALES_MAX   ((DCA_XLL_CHSETS_MAX - 1) * DCA_XLL_CHANNELS_MAX)
 
#define DCA_XLL_DMIX_COEFFS_MAX   (DCA_XLL_DMIX_SCALES_MAX * DCA_XLL_CHANNELS_MAX)
 
#define DCA_XLL_PBR_BUFFER_MAX   (240 << 10)
 
#define DCA_XLL_SAMPLE_BUFFERS_MAX   3
 

Functions

int ff_dca_xll_parse (DCAXllDecoder *s, uint8_t *data, DCAExssAsset *asset)
 
int ff_dca_xll_filter_frame (DCAXllDecoder *s, AVFrame *frame)
 
av_cold void ff_dca_xll_flush (DCAXllDecoder *s)
 
av_cold void ff_dca_xll_close (DCAXllDecoder *s)
 

Macro Definition Documentation

◆ DCA_XLL_CHSETS_MAX

#define DCA_XLL_CHSETS_MAX   3

Definition at line 34 of file dca_xll.h.

Referenced by ff_dca_xll_close(), and parse_common_header().

◆ DCA_XLL_CHANNELS_MAX

#define DCA_XLL_CHANNELS_MAX   8

Definition at line 35 of file dca_xll.h.

Referenced by chs_filter_band_data(), and chs_parse_header().

◆ DCA_XLL_BANDS_MAX

#define DCA_XLL_BANDS_MAX   2

Definition at line 36 of file dca_xll.h.

◆ DCA_XLL_ADAPT_PRED_ORDER_MAX

#define DCA_XLL_ADAPT_PRED_ORDER_MAX   16

Definition at line 37 of file dca_xll.h.

Referenced by chs_filter_band_data().

◆ DCA_XLL_DECI_HISTORY_MAX

#define DCA_XLL_DECI_HISTORY_MAX   8

◆ DCA_XLL_DMIX_SCALES_MAX

#define DCA_XLL_DMIX_SCALES_MAX   ((DCA_XLL_CHSETS_MAX - 1) * DCA_XLL_CHANNELS_MAX)

Definition at line 39 of file dca_xll.h.

◆ DCA_XLL_DMIX_COEFFS_MAX

#define DCA_XLL_DMIX_COEFFS_MAX   (DCA_XLL_DMIX_SCALES_MAX * DCA_XLL_CHANNELS_MAX)

Definition at line 40 of file dca_xll.h.

◆ DCA_XLL_PBR_BUFFER_MAX

#define DCA_XLL_PBR_BUFFER_MAX   (240 << 10)

Definition at line 41 of file dca_xll.h.

Referenced by copy_to_pbr(), parse_common_header(), and parse_frame_pbr().

◆ DCA_XLL_SAMPLE_BUFFERS_MAX

#define DCA_XLL_SAMPLE_BUFFERS_MAX   3

Definition at line 42 of file dca_xll.h.

Referenced by ff_dca_xll_close().

Function Documentation

◆ ff_dca_xll_parse()

int ff_dca_xll_parse ( DCAXllDecoder s,
uint8_t data,
DCAExssAsset asset 
)

Definition at line 1161 of file dca_xll.c.

Referenced by dcadec_decode_frame().

◆ ff_dca_xll_filter_frame()

int ff_dca_xll_filter_frame ( DCAXllDecoder s,
AVFrame frame 
)

Definition at line 1322 of file dca_xll.c.

Referenced by dcadec_decode_frame().

◆ ff_dca_xll_flush()

av_cold void ff_dca_xll_flush ( DCAXllDecoder s)

Definition at line 1471 of file dca_xll.c.

Referenced by dcadec_flush().

◆ ff_dca_xll_close()

av_cold void ff_dca_xll_close ( DCAXllDecoder s)

Definition at line 1476 of file dca_xll.c.

Referenced by dcadec_close().