#include "libavutil/lfg.h"
#include "ac3.h"
#include "get_bits.h"
#include "dsputil.h"
#include "fft.h"
Go to the source code of this file.
Data Structures | |
struct | AC3DecodeContext |
Defines | |
#define | AC3_MAX_CHANNELS 7 |
#define | CPL_CH 0 |
#define | AC3_OUTPUT_LFEON 8 |
#define | AC3_MAX_COEFS 256 |
#define | AC3_BLOCK_SIZE 256 |
#define | MAX_BLOCKS 6 |
#define | SPX_MAX_BANDS 17 |
Functions | |
int | ff_eac3_parse_header (AC3DecodeContext *s) |
Parse the E-AC-3 frame header. | |
void | ff_eac3_decode_transform_coeffs_aht_ch (AC3DecodeContext *s, int ch) |
Decode mantissas in a single channel for the entire frame. | |
void | ff_ac3_downmix_c (float(*samples)[256], float(*matrix)[2], int out_ch, int in_ch, int len) |
Downmix the output to mono or stereo. | |
void | ff_eac3_apply_spectral_extension (AC3DecodeContext *s) |
Apply spectral extension to each channel by copying lower frequency coefficients to higher frequency bins and applying side information to approximate the original high frequency signal. |
#define AC3_MAX_COEFS 256 |
#define AC3_OUTPUT_LFEON 8 |
#define CPL_CH 0 |
Definition at line 62 of file ac3dec.h.
Referenced by ac3_decode_transform_coeffs_ch(), calc_transform_coeffs_cpl(), decode_audio_block(), decode_transform_coeffs(), ff_eac3_parse_header(), and remove_dithering().
#define MAX_BLOCKS 6 |
#define SPX_MAX_BANDS 17 |
void ff_ac3_downmix_c | ( | float(*) | samples[256], | |
float(*) | matrix[2], | |||
int | out_ch, | |||
int | in_ch, | |||
int | len | |||
) |
Downmix the output to mono or stereo.
Definition at line 655 of file ac3dec.c.
Referenced by dsputil_init().
void ff_eac3_apply_spectral_extension | ( | AC3DecodeContext * | s | ) |
Apply spectral extension to each channel by copying lower frequency coefficients to higher frequency bins and applying side information to approximate the original high frequency signal.
Definition at line 66 of file eac3dec.c.
Referenced by decode_audio_block().
void ff_eac3_decode_transform_coeffs_aht_ch | ( | AC3DecodeContext * | s, | |
int | ch | |||
) |
Decode mantissas in a single channel for the entire frame.
This is used when AHT mode is enabled.
Definition at line 198 of file eac3dec.c.
Referenced by decode_transform_coeffs_ch().
int ff_eac3_parse_header | ( | AC3DecodeContext * | s | ) |
Parse the E-AC-3 frame header.
This parses both the bit stream info and audio frame header.
Definition at line 291 of file eac3dec.c.
Referenced by parse_frame_header().