FFmpeg
|
fixed-point AC-3 encoder. More...
#include "internal.h"
#include "ac3enc.h"
#include "eac3enc.h"
#include "ac3enc_opts_template.c"
#include "ac3enc_template.c"
Go to the source code of this file.
Macros | |
#define | CONFIG_FFT_FLOAT 0 |
#define | AC3ENC_TYPE AC3ENC_TYPE_AC3_FIXED |
Functions | |
av_cold void AC3_NAME() | mdct_end (AC3EncodeContext *s) |
Finalize MDCT and free allocated memory. More... | |
av_cold int AC3_NAME() | mdct_init (AC3EncodeContext *s) |
Initialize MDCT tables. More... | |
static void | apply_window (void *dsp, int16_t *output, const int16_t *input, const int16_t *window, unsigned int len) |
static int | normalize_samples (AC3EncodeContext *s) |
static void | scale_coefficients (AC3EncodeContext *s) |
static void | sum_square_butterfly (AC3EncodeContext *s, int64_t sum[4], const int32_t *coef0, const int32_t *coef1, int len) |
static void | clip_coefficients (DSPContext *dsp, int32_t *coef, unsigned int len) |
static CoefType | calc_cpl_coord (CoefSumType energy_ch, CoefSumType energy_cpl) |
static av_cold int | ac3_fixed_encode_init (AVCodecContext *avctx) |
Variables | |
static const AVClass | ac3enc_class |
AVCodec | ff_ac3_fixed_encoder |
Detailed Description
fixed-point AC-3 encoder.
Definition in file ac3enc_fixed.c.
Macro Definition Documentation
#define AC3ENC_TYPE AC3ENC_TYPE_AC3_FIXED |
Definition at line 35 of file ac3enc_fixed.c.
#define CONFIG_FFT_FLOAT 0 |
Definition at line 29 of file ac3enc_fixed.c.
Function Documentation
|
static |
Definition at line 147 of file ac3enc_fixed.c.
|
static |
Definition at line 76 of file ac3enc_fixed.c.
|
static |
Definition at line 134 of file ac3enc_fixed.c.
|
static |
Definition at line 125 of file ac3enc_fixed.c.
av_cold void AC3_NAME() mdct_end | ( | AC3EncodeContext * | s | ) |
Finalize MDCT and free allocated memory.
- Parameters
-
s AC-3 encoder private context
Definition at line 53 of file ac3enc_fixed.c.
av_cold int AC3_NAME() mdct_init | ( | AC3EncodeContext * | s | ) |
Initialize MDCT tables.
- Parameters
-
s AC-3 encoder private context
- Returns
- 0 on success, negative error code on failure
Definition at line 65 of file ac3enc_fixed.c.
|
static |
Definition at line 88 of file ac3enc_fixed.c.
|
static |
Definition at line 102 of file ac3enc_fixed.c.
|
static |
Definition at line 115 of file ac3enc_fixed.c.
Variable Documentation
|
static |
Definition at line 38 of file ac3enc_fixed.c.
Referenced by calc_cpl_coord().
AVCodec ff_ac3_fixed_encoder |
Definition at line 155 of file ac3enc_fixed.c.
Generated on Mon Nov 18 2024 06:52:04 for FFmpeg by 1.8.11