libavcodec/ac3tab.h File Reference

#include "libavutil/common.h"

Go to the source code of this file.

Enumerations

enum  CustomChannelMapLocation {
  AC3_CHMAP_L = 1<<(15-0), AC3_CHMAP_C = 1<<(15-1), AC3_CHMAP_R = 1<<(15-2), AC3_CHMAP_L_SUR = 1<<(15-3),
  AC3_CHMAP_R_SUR = 1<<(15-4), AC3_CHMAP_C_SUR = 1<<(15-7), AC3_CHMAP_LFE = 1<<(15-15)
}
 Custom channel map locations bitmask Other channels described in documentation: Lc/Rc pair, Lrs/Rrs pair, Ts, Lsd/Rsd pair, Lw/Rw pair, Lvh/Rvh pair, Cvh, Reserved, LFE2. More...

Variables

const uint16_t ff_ac3_frame_size_tab [38][3]
 Possible frame sizes.
const uint8_t ff_ac3_channels_tab [8]
 Maps audio coding mode (acmod) to number of full-bandwidth channels.
const uint16_t ff_ac3_channel_layout_tab [8]
 Maps audio coding mode (acmod) to channel layout mask.
const uint8_t ff_ac3_enc_channel_map [8][2][6]
 Table to remap channels from SMPTE order to AC-3 order.
const uint8_t ff_ac3_dec_channel_map [8][2][6]
 Table to remap channels from from AC-3 order to SMPTE order.
const uint16_t ff_ac3_sample_rate_tab [3]
const uint16_t ff_ac3_bitrate_tab [19]
const int16_t ff_ac3_window [256]
const uint8_t ff_ac3_log_add_tab [260]
const uint16_t ff_ac3_hearing_threshold_tab [50][3]
const uint8_t ff_ac3_bap_tab [64]
const uint8_t ff_ac3_slow_decay_tab [4]
const uint8_t ff_ac3_fast_decay_tab [4]
const uint16_t ff_ac3_slow_gain_tab [4]
const uint16_t ff_ac3_db_per_bit_tab [4]
const int16_t ff_ac3_floor_tab [8]
const uint16_t ff_ac3_fast_gain_tab [8]
const uint8_t ff_ac3_critical_band_size_tab [50]
const uint16_t ff_eac3_default_chmap [8]
 Default channel map for a dependent substream defined by acmod.


Enumeration Type Documentation

Custom channel map locations bitmask Other channels described in documentation: Lc/Rc pair, Lrs/Rrs pair, Ts, Lsd/Rsd pair, Lw/Rw pair, Lvh/Rvh pair, Cvh, Reserved, LFE2.

Enumerator:
AC3_CHMAP_L 
AC3_CHMAP_C 
AC3_CHMAP_R 
AC3_CHMAP_L_SUR 
AC3_CHMAP_R_SUR 
AC3_CHMAP_C_SUR 
AC3_CHMAP_LFE 

Definition at line 52 of file ac3tab.h.


Variable Documentation

const uint8_t ff_ac3_bap_tab[64]

Definition at line 254 of file ac3tab.c.

Referenced by ac3_parametric_bit_allocation(), bit_alloc(), and decode_audio_block().

const uint16_t ff_ac3_bitrate_tab[19]

Definition at line 129 of file ac3tab.c.

Referenced by AC3_encode_init(), and ff_ac3_parse_header().

const uint16_t ff_ac3_channel_layout_tab[8]

Maps audio coding mode (acmod) to channel layout mask.

Definition at line 86 of file ac3tab.c.

Referenced by ac3_decode_frame(), and ff_ac3_parse_header().

const uint8_t ff_ac3_channels_tab[8]

Maps audio coding mode (acmod) to number of full-bandwidth channels.

from ATSC A/52 Table 5.8 Audio Coding Mode

Definition at line 79 of file ac3tab.c.

Referenced by ff_ac3_parse_header().

const uint8_t ff_ac3_critical_band_size_tab[50]

Definition at line 288 of file ac3tab.c.

Referenced by ac3_common_init().

const uint16_t ff_ac3_db_per_bit_tab[4]

Definition at line 276 of file ac3tab.c.

Referenced by compute_bit_allocation(), decode_audio_block(), and ff_eac3_parse_header().

const uint8_t ff_ac3_dec_channel_map[8][2][6]

Table to remap channels from from AC-3 order to SMPTE order.

[channel_mode][lfe][ch]

Definition at line 119 of file ac3tab.c.

Referenced by ac3_decode_frame().

const uint8_t ff_ac3_enc_channel_map[8][2][6]

Table to remap channels from SMPTE order to AC-3 order.

[channel_mode][lfe][ch]

Definition at line 109 of file ac3tab.c.

Referenced by set_channel_info().

const uint8_t ff_ac3_fast_decay_tab[4]

Definition at line 268 of file ac3tab.c.

Referenced by compute_bit_allocation(), decode_audio_block(), and ff_eac3_parse_header().

const uint16_t ff_ac3_fast_gain_tab[8]

Definition at line 284 of file ac3tab.c.

Referenced by bit_alloc_masking(), and decode_audio_block().

const int16_t ff_ac3_floor_tab[8]

Definition at line 280 of file ac3tab.c.

Referenced by compute_bit_allocation(), decode_audio_block(), and ff_eac3_parse_header().

const uint16_t ff_ac3_frame_size_tab[38][3]

Possible frame sizes.

from ATSC A/52 Table 5.18 Frame Size Code Table.

Definition at line 34 of file ac3tab.c.

Referenced by AC3_encode_init(), and ff_ac3_parse_header().

const uint16_t ff_ac3_hearing_threshold_tab[50][3]

Definition at line 201 of file ac3tab.c.

Referenced by ff_ac3_bit_alloc_calc_mask().

const uint8_t ff_ac3_log_add_tab[260]

Definition at line 172 of file ac3tab.c.

Referenced by ff_ac3_bit_alloc_calc_psd().

const uint16_t ff_ac3_sample_rate_tab[3]

Definition at line 126 of file ac3tab.c.

Referenced by AC3_encode_init(), and ff_ac3_parse_header().

const uint8_t ff_ac3_slow_decay_tab[4]

Definition at line 264 of file ac3tab.c.

Referenced by compute_bit_allocation(), decode_audio_block(), and ff_eac3_parse_header().

const uint16_t ff_ac3_slow_gain_tab[4]

Definition at line 272 of file ac3tab.c.

Referenced by compute_bit_allocation(), decode_audio_block(), and ff_eac3_parse_header().

const int16_t ff_ac3_window[256]

Definition at line 137 of file ac3tab.c.

Referenced by AC3_encode_frame().

const uint16_t ff_eac3_default_chmap[8]

Default channel map for a dependent substream defined by acmod.

Definition at line 296 of file ac3tab.c.

Referenced by ff_ac3_parse_header_full().


Generated on Fri Oct 26 02:36:50 2012 for FFmpeg by  doxygen 1.5.8