FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
dca_lbr.h File Reference
#include "libavutil/common.h"
#include "libavutil/float_dsp.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "internal.h"
#include "get_bits.h"
#include "dca.h"
#include "dca_exss.h"
#include "dcadsp.h"
#include "fft.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, 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 int ff_dca_lbr_init (DCALbrDecoder *s)
 
av_cold void ff_dca_lbr_close (DCALbrDecoder *s)
 

Macro Definition Documentation

#define DCA_LBR_CHANNELS   6

Definition at line 36 of file dca_lbr.h.

Referenced by ff_dca_lbr_parse(), and parse_decoder_init().

#define DCA_LBR_CHANNELS_TOTAL   32

Definition at line 37 of file dca_lbr.h.

Referenced by parse_decoder_init(), and parse_tonal().

#define DCA_LBR_SUBBANDS   32

Definition at line 38 of file dca_lbr.h.

Referenced by parse_high_res_grid(), and transform_channel().

#define DCA_LBR_TONES   512

Definition at line 39 of file dca_lbr.h.

Referenced by parse_tonal(), and synth_tones().

#define DCA_LBR_TIME_SAMPLES   128

Definition at line 41 of file dca_lbr.h.

Referenced by alloc_sample_buffer(), filter_ts(), parse_ch(), random_ts(), and transform_channel().

#define DCA_LBR_TIME_HISTORY   8

Definition at line 42 of file dca_lbr.h.

Referenced by alloc_sample_buffer(), ff_dca_lbr_flush(), and transform_channel().

Enumeration Type Documentation

Enumerator
DCA_LBR_HEADER_SYNC_ONLY 
DCA_LBR_HEADER_DECODER_INIT 

Definition at line 44 of file dca_lbr.h.

Function Documentation

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

Definition at line 1143 of file dca_lbr.c.

Referenced by dcadec_decode_frame().

int ff_dca_lbr_filter_frame ( DCALbrDecoder s,
AVFrame frame 
)

Definition at line 1710 of file dca_lbr.c.

Referenced by dcadec_decode_frame().

av_cold void ff_dca_lbr_flush ( DCALbrDecoder s)

Definition at line 1770 of file dca_lbr.c.

Referenced by dcadec_flush(), and parse_decoder_init().

av_cold int ff_dca_lbr_init ( DCALbrDecoder s)

Definition at line 1794 of file dca_lbr.c.

Referenced by dcadec_init().

av_cold void ff_dca_lbr_close ( DCALbrDecoder s)

Definition at line 1805 of file dca_lbr.c.

Referenced by dcadec_close().