FFmpeg
|
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/avassert.h"
#include "avcodec.h"
#include "internal.h"
#include "put_bits.h"
#include "dcaenc.h"
#include "dcadata.h"
#include "dca.h"
Go to the source code of this file.
Data Structures | |
struct | DCAContext |
Macros | |
#define | MAX_CHANNELS 6 |
#define | DCA_SUBBANDS_32 32 |
#define | DCA_MAX_FRAME_SIZE 16383 |
#define | DCA_HEADER_SIZE 13 |
#define | DCA_SUBBANDS 32 |
Subband activity count. More... | |
#define | QUANTIZER_BITS 16 |
#define | SUBFRAMES 1 |
#define | SUBSUBFRAMES 4 |
#define | PCM_SAMPLES (SUBFRAMES*SUBSUBFRAMES*8) |
#define | LFE_BITS 8 |
#define | LFE_INTERPOLATION 64 |
#define | LFE_PRESENT 2 |
#define | LFE_MISSING 0 |
Variables | |
static const int8_t | dca_lfe_index [] |
static const int8_t | dca_channel_reorder_lfe [][9] |
static const int8_t | dca_channel_reorder_nolfe [][9] |
static int32_t | cos_table [128] |
static int32_t | lfe_fir_64i [512] |
AVCodec | ff_dca_encoder |
Macro Definition Documentation
#define DCA_HEADER_SIZE 13 |
Definition at line 39 of file dcaenc.c.
Referenced by encode_frame(), and put_frame().
#define DCA_MAX_FRAME_SIZE 16383 |
Definition at line 38 of file dcaenc.c.
Referenced by encode_frame(), and put_frame().
#define DCA_SUBBANDS 32 |
Subband activity count.
Definition at line 41 of file dcaenc.c.
Referenced by put_primary_audio_header(), and put_subframe().
#define DCA_SUBBANDS_32 32 |
Definition at line 37 of file dcaenc.c.
Referenced by qmf_decompose().
#define LFE_BITS 8 |
Definition at line 46 of file dcaenc.c.
Referenced by put_subframe().
#define LFE_INTERPOLATION 64 |
Definition at line 47 of file dcaenc.c.
Referenced by encode_frame().
#define LFE_MISSING 0 |
Definition at line 49 of file dcaenc.c.
Referenced by encode_init().
#define LFE_PRESENT 2 |
Definition at line 48 of file dcaenc.c.
Referenced by encode_init().
#define PCM_SAMPLES (SUBFRAMES*SUBSUBFRAMES*8) |
Definition at line 45 of file dcaenc.c.
Referenced by encode_frame(), encode_init(), and put_frame_header().
#define QUANTIZER_BITS 16 |
Definition at line 42 of file dcaenc.c.
Referenced by put_subframe().
#define SUBFRAMES 1 |
Definition at line 43 of file dcaenc.c.
Referenced by formant_postfilter(), g723_1_decode_frame(), generate_noise(), lsp_interpolate(), put_frame(), put_primary_audio_header(), and unpack_bitstream().
#define SUBSUBFRAMES 4 |
Definition at line 44 of file dcaenc.c.
Referenced by put_frame(), and put_subframe().
Function Documentation
|
static |
Definition at line 159 of file dcaenc.c.
Referenced by lfe_downsample(), and qmf_decompose().
|
static |
Definition at line 150 of file dcaenc.c.
Referenced by qmf_decompose().
|
static |
|
static |
|
inlinestatic |
Definition at line 372 of file dcaenc.c.
Referenced by put_subframe().
Definition at line 219 of file dcaenc.c.
Referenced by encode_init().
|
static |
Definition at line 205 of file dcaenc.c.
Referenced by encode_frame().
Definition at line 117 of file dcaenc.c.
Referenced by lfe_downsample(), qmf_decompose(), and qmf_init().
|
static |
Definition at line 473 of file dcaenc.c.
Referenced by encode_frame().
|
static |
Definition at line 231 of file dcaenc.c.
Referenced by put_frame().
|
static |
Definition at line 314 of file dcaenc.c.
Referenced by put_frame().
|
inlinestatic |
Definition at line 387 of file dcaenc.c.
Referenced by put_subframe().
|
static |
Definition at line 394 of file dcaenc.c.
Referenced by put_frame().
|
static |
Definition at line 175 of file dcaenc.c.
Referenced by encode_frame().
Definition at line 126 of file dcaenc.c.
Referenced by encode_init().
|
inlinestatic |
8-23 bits quantization
- Parameters
-
sample bits
Definition at line 365 of file dcaenc.c.
Referenced by put_sample7().
Variable Documentation
|
static |
Definition at line 115 of file dcaenc.c.
Referenced by band_delta_factor(), encode_init(), and qmf_init().
|
static |
Definition at line 55 of file dcaenc.c.
Referenced by encode_init().
|
static |
Definition at line 74 of file dcaenc.c.
Referenced by encode_init().
|
static |
Definition at line 51 of file dcaenc.c.
Referenced by encode_init().
AVCodec ff_dca_encoder |
|
static |
Definition at line 204 of file dcaenc.c.
Referenced by init_lfe_fir(), and lfe_downsample().
Generated on Fri Dec 20 2024 06:56:11 for FFmpeg by 1.8.11