FFmpeg
Data Structures | Macros | Enumerations | Functions
dca_lbr.h File Reference
#include "libavutil/float_dsp.h"
#include "libavutil/mem_internal.h"
#include "libavutil/tx.h"
#include "avcodec.h"
#include "get_bits.h"
#include "dca.h"
#include "dca_exss.h"
#include "dcadsp.h"

Go to the source code of this file.

Data Structures

struct  DCALbrTone
 
struct  DCALbrDecoder
 

Macros

#define DCA_LBR_CHANNELS   6
 
#define DCA_LBR_CHANNELS_TOTAL   32
 
#define DCA_LBR_SUBBANDS   32
 
#define DCA_LBR_TONES   512
 
#define DCA_LBR_TIME_SAMPLES   128
 
#define DCA_LBR_TIME_HISTORY   8
 

Enumerations

enum  DCALBRHeader { DCA_LBR_HEADER_SYNC_ONLY = 1, DCA_LBR_HEADER_DECODER_INIT = 2 }
 

Functions

int ff_dca_lbr_parse (DCALbrDecoder *s, const uint8_t *data, DCAExssAsset *asset)
 
int ff_dca_lbr_filter_frame (DCALbrDecoder *s, AVFrame *frame)
 
av_cold void ff_dca_lbr_flush (DCALbrDecoder *s)
 
av_cold void ff_dca_lbr_init_tables (void)
 
av_cold int ff_dca_lbr_init (DCALbrDecoder *s)
 
av_cold void ff_dca_lbr_close (DCALbrDecoder *s)
 

Macro Definition Documentation

◆ DCA_LBR_CHANNELS

#define DCA_LBR_CHANNELS   6

Definition at line 34 of file dca_lbr.h.

◆ DCA_LBR_CHANNELS_TOTAL

#define DCA_LBR_CHANNELS_TOTAL   32

Definition at line 35 of file dca_lbr.h.

◆ DCA_LBR_SUBBANDS

#define DCA_LBR_SUBBANDS   32

Definition at line 36 of file dca_lbr.h.

◆ DCA_LBR_TONES

#define DCA_LBR_TONES   512

Definition at line 37 of file dca_lbr.h.

◆ DCA_LBR_TIME_SAMPLES

#define DCA_LBR_TIME_SAMPLES   128

Definition at line 39 of file dca_lbr.h.

◆ DCA_LBR_TIME_HISTORY

#define DCA_LBR_TIME_HISTORY   8

Definition at line 40 of file dca_lbr.h.

Enumeration Type Documentation

◆ DCALBRHeader

Enumerator
DCA_LBR_HEADER_SYNC_ONLY 
DCA_LBR_HEADER_DECODER_INIT 

Definition at line 42 of file dca_lbr.h.

Function Documentation

◆ ff_dca_lbr_parse()

int ff_dca_lbr_parse ( DCALbrDecoder s,
const uint8_t *  data,
DCAExssAsset asset 
)

Definition at line 1169 of file dca_lbr.c.

Referenced by dcadec_decode_frame().

◆ ff_dca_lbr_filter_frame()

int ff_dca_lbr_filter_frame ( DCALbrDecoder s,
AVFrame frame 
)

Definition at line 1736 of file dca_lbr.c.

Referenced by dcadec_decode_frame().

◆ ff_dca_lbr_flush()

av_cold void ff_dca_lbr_flush ( DCALbrDecoder s)

Definition at line 1798 of file dca_lbr.c.

Referenced by dcadec_flush(), and parse_decoder_init().

◆ ff_dca_lbr_init_tables()

av_cold void ff_dca_lbr_init_tables ( void  )

Definition at line 134 of file dca_lbr.c.

Referenced by dcadec_init_static().

◆ ff_dca_lbr_init()

av_cold int ff_dca_lbr_init ( DCALbrDecoder s)

Definition at line 1822 of file dca_lbr.c.

Referenced by dcadec_init().

◆ ff_dca_lbr_close()

av_cold void ff_dca_lbr_close ( DCALbrDecoder s)

Definition at line 1831 of file dca_lbr.c.

Referenced by dcadec_close().