FFmpeg
|
floating-point AC-3 encoder. More...
#include "internal.h"
#include "audiodsp.h"
#include "ac3enc.h"
#include "eac3enc.h"
#include "kbdwin.h"
#include "ac3enc_opts_template.c"
#include "ac3enc_template.c"
Go to the source code of this file.
Macros | |
#define | CONFIG_AC3ENC_FLOAT 1 |
#define | AC3ENC_TYPE AC3ENC_TYPE_AC3 |
Functions | |
static void | scale_coefficients (AC3EncodeContext *s) |
static void | clip_coefficients (AudioDSPContext *adsp, float *coef, unsigned int len) |
static CoefType | calc_cpl_coord (CoefSumType energy_ch, CoefSumType energy_cpl) |
static void | sum_square_butterfly (AC3EncodeContext *s, float sum[4], const float *coef0, const float *coef1, int len) |
av_cold void | ff_ac3_float_mdct_end (AC3EncodeContext *s) |
Finalize MDCT and free allocated memory. More... | |
av_cold int | ff_ac3_float_mdct_init (AC3EncodeContext *s) |
Initialize MDCT tables. More... | |
av_cold int | ff_ac3_float_encode_init (AVCodecContext *avctx) |
Variables | |
static const AVClass | ac3enc_class |
AVCodec | ff_ac3_encoder |
floating-point AC-3 encoder.
Definition in file ac3enc_float.c.
#define CONFIG_AC3ENC_FLOAT 1 |
Definition at line 29 of file ac3enc_float.c.
#define AC3ENC_TYPE AC3ENC_TYPE_AC3 |
Definition at line 37 of file ac3enc_float.c.
|
static |
Definition at line 50 of file ac3enc_float.c.
|
static |
Definition at line 63 of file ac3enc_float.c.
|
static |
Definition at line 73 of file ac3enc_float.c.
|
static |
Definition at line 81 of file ac3enc_float.c.
av_cold void ff_ac3_float_mdct_end | ( | AC3EncodeContext * | s | ) |
Finalize MDCT and free allocated memory.
s | AC-3 encoder private context |
Definition at line 97 of file ac3enc_float.c.
Referenced by ff_ac3_encode_init().
av_cold int ff_ac3_float_mdct_init | ( | AC3EncodeContext * | s | ) |
Initialize MDCT tables.
s | AC-3 encoder private context |
Definition at line 110 of file ac3enc_float.c.
Referenced by ff_ac3_encode_init().
av_cold int ff_ac3_float_encode_init | ( | AVCodecContext * | avctx | ) |
Definition at line 132 of file ac3enc_float.c.
|
static |
Definition at line 39 of file ac3enc_float.c.
AVCodec ff_ac3_encoder |
Definition at line 141 of file ac3enc_float.c.