FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
dca_exss.c File Reference
#include "libavutil/common.h"
#include "libavutil/log.h"
#include "dca.h"
#include "get_bits.h"

Go to the source code of this file.

Macros

#define DCA_CORE_EXTS   (DCA_EXT_XCH | DCA_EXT_XXCH | DCA_EXT_X96)
 

Enumerations

enum  DCAExSSSpeakerMask {
  DCA_EXSS_FRONT_CENTER = 0x0001, DCA_EXSS_FRONT_LEFT_RIGHT = 0x0002, DCA_EXSS_SIDE_REAR_LEFT_RIGHT = 0x0004, DCA_EXSS_LFE = 0x0008,
  DCA_EXSS_REAR_CENTER = 0x0010, DCA_EXSS_FRONT_HIGH_LEFT_RIGHT = 0x0020, DCA_EXSS_REAR_LEFT_RIGHT = 0x0040, DCA_EXSS_FRONT_HIGH_CENTER = 0x0080,
  DCA_EXSS_OVERHEAD = 0x0100, DCA_EXSS_CENTER_LEFT_RIGHT = 0x0200, DCA_EXSS_WIDE_LEFT_RIGHT = 0x0400, DCA_EXSS_SIDE_LEFT_RIGHT = 0x0800,
  DCA_EXSS_LFE2 = 0x1000, DCA_EXSS_SIDE_HIGH_LEFT_RIGHT = 0x2000, DCA_EXSS_REAR_HIGH_CENTER = 0x4000, DCA_EXSS_REAR_HIGH_LEFT_RIGHT = 0x8000
}
 

Functions

static int dca_exss_mask2count (int mask)
 Return the number of channels in an ExSS speaker mask (HD)
 
static void dca_exss_skip_mix_coeffs (GetBitContext *gb, int channels, int out_ch)
 Skip mixing coefficients of a single mix out configuration (HD)
 
static int dca_exss_parse_asset_header (DCAContext *s)
 Parse extension substream asset header (HD)
 
void ff_dca_exss_parse_header (DCAContext *s)
 Parse extension substream header (HD)
 

Macro Definition Documentation

#define DCA_CORE_EXTS   (DCA_EXT_XCH | DCA_EXT_XXCH | DCA_EXT_X96)

Definition at line 28 of file dca_exss.c.

Referenced by dca_exss_parse_asset_header().

Enumeration Type Documentation

Enumerator:
DCA_EXSS_FRONT_CENTER 
DCA_EXSS_FRONT_LEFT_RIGHT 
DCA_EXSS_SIDE_REAR_LEFT_RIGHT 
DCA_EXSS_LFE 
DCA_EXSS_REAR_CENTER 
DCA_EXSS_FRONT_HIGH_LEFT_RIGHT 
DCA_EXSS_REAR_LEFT_RIGHT 
DCA_EXSS_FRONT_HIGH_CENTER 
DCA_EXSS_OVERHEAD 
DCA_EXSS_CENTER_LEFT_RIGHT 
DCA_EXSS_WIDE_LEFT_RIGHT 
DCA_EXSS_SIDE_LEFT_RIGHT 
DCA_EXSS_LFE2 
DCA_EXSS_SIDE_HIGH_LEFT_RIGHT 
DCA_EXSS_REAR_HIGH_CENTER 
DCA_EXSS_REAR_HIGH_LEFT_RIGHT 

Definition at line 31 of file dca_exss.c.

Function Documentation

static int dca_exss_mask2count ( int  mask)
static

Return the number of channels in an ExSS speaker mask (HD)

Definition at line 53 of file dca_exss.c.

Referenced by dca_exss_parse_asset_header(), and ff_dca_exss_parse_header().

static void dca_exss_skip_mix_coeffs ( GetBitContext gb,
int  channels,
int  out_ch 
)
static

Skip mixing coefficients of a single mix out configuration (HD)

Definition at line 71 of file dca_exss.c.

Referenced by dca_exss_parse_asset_header().

static int dca_exss_parse_asset_header ( DCAContext s)
static

Parse extension substream asset header (HD)

Definition at line 85 of file dca_exss.c.

Referenced by ff_dca_exss_parse_header().

void ff_dca_exss_parse_header ( DCAContext s)

Parse extension substream header (HD)

Definition at line 243 of file dca_exss.c.

Referenced by dca_decode_frame().