FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Variables
dcaenc.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  softfloat
 

Variables

static const int sample_rates []
 
static const uint8_t bitstream_sfreq [] = { 1, 2, 3, 6, 7, 8, 11, 12, 13 }
 
static uint16_t fc []
 
static uint16_t erb []
 
static const softfloat stepsize_inv [27]
 
static const softfloat scalefactor_inv [128]
 
static const int bit_consumption [27]
 
static const int quant_levels [27]
 

Variable Documentation

const int sample_rates[]
static
Initial value:
= {
8000, 16000, 32000, 11025, 22050, 44100, 12000, 24000, 48000, 0,
}

Definition at line 32 of file dcaenc.h.

Referenced by asink_query_formats(), configure_output_audio_filter(), encode_init(), and query_formats().

const uint8_t bitstream_sfreq[] = { 1, 2, 3, 6, 7, 8, 11, 12, 13 }
static

Definition at line 36 of file dcaenc.h.

Referenced by put_frame_header().

uint16_t fc[]
static
Initial value:
= {
50, 150, 250, 350, 450, 570, 700, 840, 1000, 1170, 1370, 1600, 1850, 2150,
2500, 2900, 3400, 4000, 4800, 5800, 7000, 8500, 10500, 13500, 17000
}

Definition at line 41 of file dcaenc.h.

Referenced by create_vorbis_context(), decode_frame(), ff_lzw_decode(), format_to_name(), gammafilter(), imlt_window_float(), nut_write_packet(), opt_default(), and vorbis_encode_frame().

uint16_t erb[]
static
Initial value:
= {
80, 100, 100, 100, 110, 120, 140, 150, 160, 190, 210, 240, 280,
320, 380, 450, 550, 700, 900, 1100, 1300, 1800, 2500, 3500, 4500
}

Definition at line 46 of file dcaenc.h.

Referenced by gammafilter().

const softfloat stepsize_inv[27]
static
Initial value:
= {
{0, 0}, {1342177360, 21}, {2147483647, 21}, {1342177360, 20},
{1819901661, 20}, {2147483647, 20}, {1278263843, 19}, {1579032492, 19},
{1412817763, 18}, {1220162327, 17}, {1118482133, 16}, {1917391412, 16},
{1766017772, 15}, {1525212826, 14}, {1290553940, 13}, {2097179000, 13},
{1677683200, 12}, {1497972244, 11}, {1310893147, 10}, {1165354136, 9},
{1748031204, 9}, {1542092044, 8}, {1636178017, 7}, {1636178017, 6},
{1636178017, 5}, {1636178017, 4}, {1636178017, 3},
}

Definition at line 51 of file dcaenc.h.

Referenced by calc_one_scale().

const softfloat scalefactor_inv[128]
static

Definition at line 61 of file dcaenc.h.

Referenced by calc_one_scale().

const int bit_consumption[27]
static
Initial value:
= {
-8, 28, 40, 48, 52, 60, 68, 76, 80, 96,
112, 128, 144, 160, 176, 192, 208, 224, 240, 256,
272, 288, 304, 320, 336, 352, 368,
}

Definition at line 100 of file dcaenc.h.

Referenced by init_quantization_noise(), and put_subframe_samples().

const int quant_levels[27]
static
Initial value:
= {
1, 3, 5, 7, 9, 13, 17, 25, 32, 64,
128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536,
131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608,
}

Definition at line 107 of file dcaenc.h.

Referenced by calc_one_scale(), and put_subframe_samples().