FFmpeg  4.0
Functions
ac3enc_template.c File Reference

AC-3 encoder float/fixed template. More...

#include <stdint.h>
#include "libavutil/attributes.h"
#include "libavutil/internal.h"
#include "audiodsp.h"
#include "internal.h"
#include "ac3enc.h"
#include "eac3enc.h"

Go to the source code of this file.

Functions

int AC3_NAME() allocate_sample_buffers (AC3EncodeContext *s)
 
static void copy_input_samples (AC3EncodeContext *s, 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, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
 

Detailed Description

AC-3 encoder float/fixed template.

Definition in file ac3enc_template.c.

Function Documentation

◆ allocate_sample_buffers()

int AC3_NAME() allocate_sample_buffers ( AC3EncodeContext s)

Definition at line 40 of file ac3enc_template.c.

◆ copy_input_samples()

static void copy_input_samples ( AC3EncodeContext s,
SampleType **  samples 
)
static

Definition at line 64 of file ac3enc_template.c.

Referenced by encode_frame().

◆ apply_mdct()

static void apply_mdct ( AC3EncodeContext s)
static

Definition at line 87 of file ac3enc_template.c.

Referenced by encode_frame().

◆ apply_channel_coupling()

static void apply_channel_coupling ( AC3EncodeContext s)
static

Definition at line 117 of file ac3enc_template.c.

Referenced by encode_frame().

◆ compute_rematrixing_strategy()

static void compute_rematrixing_strategy ( AC3EncodeContext s)
static

Definition at line 325 of file ac3enc_template.c.

Referenced by encode_frame().

◆ encode_frame()

int AC3_NAME() encode_frame ( AVCodecContext avctx,
AVPacket avpkt,
const AVFrame frame,
int got_packet_ptr 
)

Definition at line 377 of file ac3enc_template.c.