AC-3 encoder float/fixed template. More...
#include <stdint.h>Go to the source code of this file.
Functions | |
| static void | scale_coefficients (AC3EncodeContext *s) |
| static void | apply_window (DSPContext *dsp, SampleType *output, const SampleType *input, const SampleType *window, unsigned int len) |
| static int | normalize_samples (AC3EncodeContext *s) |
| static void | clip_coefficients (DSPContext *dsp, CoefType *coef, unsigned int len) |
| static CoefType | calc_cpl_coord (CoefSumType energy_ch, CoefSumType energy_cpl) |
| int AC3_NAME() | allocate_sample_buffers (AC3EncodeContext *s) |
| static void | deinterleave_input_samples (AC3EncodeContext *s, const SampleType *samples) |
| static void | apply_mdct (AC3EncodeContext *s) |
| static void | apply_channel_coupling (AC3EncodeContext *s) |
| static void | compute_rematrixing_strategy (AC3EncodeContext *s) |
| int AC3_NAME() | encode_frame (AVCodecContext *avctx, unsigned char *frame, int buf_size, void *data) |
AC-3 encoder float/fixed template.
Definition in file ac3enc_template.c.
| int AC3_NAME() allocate_sample_buffers | ( | AC3EncodeContext * | s | ) |
Definition at line 47 of file ac3enc_template.c.
| static void apply_channel_coupling | ( | AC3EncodeContext * | s | ) | [static] |
Definition at line 126 of file ac3enc_template.c.
Referenced by encode_frame().
| static void apply_mdct | ( | AC3EncodeContext * | s | ) | [static] |
Definition at line 101 of file ac3enc_template.c.
Referenced by encode_frame().
| static void apply_window | ( | DSPContext * | dsp, | |
| SampleType * | output, | |||
| const SampleType * | input, | |||
| const SampleType * | window, | |||
| unsigned int | len | |||
| ) | [static] |
Referenced by apply_mdct().
| static CoefType calc_cpl_coord | ( | CoefSumType | energy_ch, | |
| CoefSumType | energy_cpl | |||
| ) | [static] |
Referenced by apply_channel_coupling().
| static void clip_coefficients | ( | DSPContext * | dsp, | |
| CoefType * | coef, | |||
| unsigned int | len | |||
| ) | [static] |
Referenced by apply_channel_coupling(), and encode_frame().
| static void compute_rematrixing_strategy | ( | AC3EncodeContext * | s | ) | [static] |
Definition at line 334 of file ac3enc_template.c.
Referenced by encode_frame().
| static void deinterleave_input_samples | ( | AC3EncodeContext * | s, | |
| const SampleType * | samples | |||
| ) | [static] |
Definition at line 71 of file ac3enc_template.c.
Referenced by encode_frame().
| int AC3_NAME() encode_frame | ( | AVCodecContext * | avctx, | |
| unsigned char * | frame, | |||
| int | buf_size, | |||
| void * | data | |||
| ) |
Definition at line 394 of file ac3enc_template.c.
Referenced by encode_superframe(), flac_encode_frame(), MPA_encode_frame(), and qtrle_encode_frame().
| static int normalize_samples | ( | AC3EncodeContext * | s | ) | [static] |
Referenced by apply_mdct().
| static void scale_coefficients | ( | AC3EncodeContext * | s | ) | [static] |
Referenced by encode_frame().