libavcodec/eac3enc.c File Reference

E-AC-3 encoder. More...

#include "ac3enc.h"
#include "eac3enc.h"
#include "eac3_data.h"
#include "ac3enc_opts_template.c"

Go to the source code of this file.

Defines

#define CONFIG_AC3ENC_FLOAT   1
#define AC3ENC_TYPE   AC3ENC_TYPE_EAC3

Functions

void ff_eac3_exponent_init (void)
 Initialize E-AC-3 exponent tables.
void ff_eac3_get_frame_exp_strategy (AC3EncodeContext *s)
 Determine frame exponent strategy use and indices.
void ff_eac3_set_cpl_states (AC3EncodeContext *s)
 Set coupling states.
void ff_eac3_output_frame_header (AC3EncodeContext *s)
 Write the E-AC-3 frame header to the output bitstream.

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.


Detailed Description

E-AC-3 encoder.

Definition in file eac3enc.c.


Define Documentation

#define AC3ENC_TYPE   AC3ENC_TYPE_EAC3

Definition at line 33 of file eac3enc.c.

#define CONFIG_AC3ENC_FLOAT   1

Definition at line 27 of file eac3enc.c.


Function Documentation

void ff_eac3_exponent_init ( void   ) 

Initialize E-AC-3 exponent tables.

Definition at line 46 of file eac3enc.c.

Referenced by exponent_init().

void ff_eac3_get_frame_exp_strategy ( AC3EncodeContext s  ) 

Determine frame exponent strategy use and indices.

Definition at line 62 of file eac3enc.c.

Referenced by compute_exp_strategy().

void ff_eac3_output_frame_header ( AC3EncodeContext s  ) 

Write the E-AC-3 frame header to the output bitstream.

Definition at line 122 of file eac3enc.c.

Referenced by ff_ac3_encode_init().

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 89 of file eac3enc.c.

Referenced by apply_channel_coupling().


Variable Documentation

int8_t eac3_frame_expstr_index_tab[3][4][4][4][4][4] [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 43 of file eac3enc.c.

Referenced by ff_eac3_exponent_init(), and ff_eac3_get_frame_exp_strategy().

const AVClass eac3enc_class [static]

Initial value:

 { "E-AC-3 Encoder", av_default_item_name,
                                       eac3_options, LIBAVUTIL_VERSION_INT }

Definition at line 35 of file eac3enc.c.


Generated on Fri Oct 26 02:46:08 2012 for FFmpeg by  doxygen 1.5.8