FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dcadec.h File Reference
#include "libavutil/common.h"
#include "libavutil/float_dsp.h"
#include "avcodec.h"
#include "get_bits.h"
#include "dca.h"
#include "dcadsp.h"
#include "dca_core.h"
#include "dca_exss.h"
#include "dca_xll.h"

Go to the source code of this file.

Data Structures

struct  DCAContext
 

Macros

#define DCA_BUFFER_PADDING_SIZE   1024
 
#define DCA_PACKET_CORE   0x01
 
#define DCA_PACKET_EXSS   0x02
 
#define DCA_PACKET_XLL   0x04
 
#define DCA_PACKET_RECOVERY   0x08
 

Functions

int ff_dca_set_channel_layout (AVCodecContext *avctx, int *ch_remap, int dca_mask)
 
int ff_dca_check_crc (GetBitContext *s, int p1, int p2)
 
void ff_dca_downmix_to_stereo_fixed (DCADSPContext *dcadsp, int32_t **samples, int *coeff_l, int nsamples, int ch_mask)
 
void ff_dca_downmix_to_stereo_float (AVFloatDSPContext *fdsp, float **samples, int *coeff_l, int nsamples, int ch_mask)
 
static int ff_dca_seek_bits (GetBitContext *s, int p)
 

Macro Definition Documentation

#define DCA_BUFFER_PADDING_SIZE   1024

Definition at line 35 of file dcadec.h.

Referenced by copy_to_pbr(), and dcadec_decode_frame().

#define DCA_PACKET_CORE   0x01

Definition at line 37 of file dcadec.h.

Referenced by combine_residual_frame(), and dcadec_decode_frame().

#define DCA_PACKET_EXSS   0x02

Definition at line 38 of file dcadec.h.

Referenced by dcadec_decode_frame(), and ff_dca_core_filter_frame().

#define DCA_PACKET_XLL   0x04

Definition at line 39 of file dcadec.h.

Referenced by dcadec_decode_frame(), ff_dca_core_parse_exss(), and filter_frame_fixed().

#define DCA_PACKET_RECOVERY   0x08

Definition at line 40 of file dcadec.h.

Referenced by dcadec_decode_frame(), and ff_dca_xll_filter_frame().

Function Documentation

int ff_dca_set_channel_layout ( AVCodecContext avctx,
int *  ch_remap,
int  dca_mask 
)

Definition at line 32 of file dcadec.c.

Referenced by ff_dca_core_filter_frame(), and ff_dca_xll_filter_frame().

int ff_dca_check_crc ( GetBitContext s,
int  p1,
int  p2 
)
void ff_dca_downmix_to_stereo_fixed ( DCADSPContext dcadsp,
int32_t **  samples,
int *  coeff_l,
int  nsamples,
int  ch_mask 
)

Definition at line 106 of file dcadec.c.

Referenced by ff_dca_xll_filter_frame(), and filter_frame_fixed().

void ff_dca_downmix_to_stereo_float ( AVFloatDSPContext fdsp,
float **  samples,
int *  coeff_l,
int  nsamples,
int  ch_mask 
)

Definition at line 137 of file dcadec.c.

Referenced by filter_frame_float().

static int ff_dca_seek_bits ( GetBitContext s,
int  p 
)
inlinestatic