FFmpeg
|
#include "libavutil/attributes.h"
#include "libavutil/thread.h"
#include "ac3enc.h"
#include "codec_internal.h"
#include "eac3enc.h"
#include "eac3_data.h"
#include "put_bits.h"
Go to the source code of this file.
Macros | |
#define | AC3ENC_FLOAT 1 |
Functions | |
static av_cold void | eac3_exponent_init (void) |
Initialize E-AC-3 exponent tables. More... | |
void | ff_eac3_get_frame_exp_strategy (AC3EncodeContext *s) |
Determine frame exponent strategy use and indices. More... | |
void | ff_eac3_set_cpl_states (AC3EncodeContext *s) |
Set coupling states. More... | |
static void | eac3_output_frame_header (AC3EncodeContext *s, PutBitContext *pb) |
Write the E-AC-3 frame header to the output bitstream. More... | |
static av_cold int | eac3_encode_init (AVCodecContext *avctx) |
Variables | |
static const AVClass | eac3enc_class |
static int8_t | eac3_frame_expstr_index_tab [3][4][4][4][4][4] |
LUT for finding a matching frame exponent strategy index from a set of exponent strategies for a single channel across all 6 blocks. More... | |
const FFCodec | ff_eac3_encoder |
E-AC-3 encoder
Definition in file eac3enc.c.
|
static |
Initialize E-AC-3 exponent tables.
Definition at line 55 of file eac3enc.c.
Referenced by eac3_encode_init().
void ff_eac3_get_frame_exp_strategy | ( | AC3EncodeContext * | s | ) |
Determine frame exponent strategy use and indices.
Definition at line 71 of file eac3enc.c.
Referenced by compute_exp_strategy().
void ff_eac3_set_cpl_states | ( | AC3EncodeContext * | s | ) |
Set coupling states.
This determines whether certain flags must be written to the bitstream or whether they will be implicitly already known by the decoder.
Definition at line 98 of file eac3enc.c.
Referenced by apply_channel_coupling().
|
static |
Write the E-AC-3 frame header to the output bitstream.
Definition at line 133 of file eac3enc.c.
Referenced by eac3_encode_init().
|
static |
|
static |
|
static |
LUT for finding a matching frame exponent strategy index from a set of exponent strategies for a single channel across all 6 blocks.
Definition at line 49 of file eac3enc.c.
Referenced by eac3_exponent_init(), and ff_eac3_get_frame_exp_strategy().
const FFCodec ff_eac3_encoder |