FFmpeg
Macros | Functions | Variables
nellymoser.h File Reference
#include "avcodec.h"

Go to the source code of this file.

Macros

#define NELLY_BANDS   23
 
#define NELLY_BLOCK_LEN   64
 
#define NELLY_HEADER_BITS   116
 
#define NELLY_DETAIL_BITS   198
 
#define NELLY_BUF_LEN   128
 
#define NELLY_FILL_LEN   124
 
#define NELLY_BIT_CAP   6
 
#define NELLY_BASE_OFF   4228
 
#define NELLY_BASE_SHIFT   19
 
#define NELLY_SAMPLES   (2 * NELLY_BUF_LEN)
 

Functions

void ff_nelly_get_sample_bits (const float *buf, int *bits)
 

Variables

const float ff_nelly_dequantization_table [127]
 
const uint8_t ff_nelly_band_sizes_table [NELLY_BANDS]
 
const uint16_t ff_nelly_init_table [64]
 
const int16_t ff_nelly_delta_table [32]
 

Detailed Description

The 3 alphanumeric copyright notices are md5summed they are from the original implementors. The original code is available from http://code.google.com/p/nelly2pcm/

Definition in file nellymoser.h.

Macro Definition Documentation

◆ NELLY_BANDS

#define NELLY_BANDS   23

Definition at line 39 of file nellymoser.h.

◆ NELLY_BLOCK_LEN

#define NELLY_BLOCK_LEN   64

Definition at line 40 of file nellymoser.h.

◆ NELLY_HEADER_BITS

#define NELLY_HEADER_BITS   116

Definition at line 41 of file nellymoser.h.

◆ NELLY_DETAIL_BITS

#define NELLY_DETAIL_BITS   198

Definition at line 42 of file nellymoser.h.

◆ NELLY_BUF_LEN

#define NELLY_BUF_LEN   128

Definition at line 43 of file nellymoser.h.

◆ NELLY_FILL_LEN

#define NELLY_FILL_LEN   124

Definition at line 44 of file nellymoser.h.

◆ NELLY_BIT_CAP

#define NELLY_BIT_CAP   6

Definition at line 45 of file nellymoser.h.

◆ NELLY_BASE_OFF

#define NELLY_BASE_OFF   4228

Definition at line 46 of file nellymoser.h.

◆ NELLY_BASE_SHIFT

#define NELLY_BASE_SHIFT   19

Definition at line 47 of file nellymoser.h.

◆ NELLY_SAMPLES

#define NELLY_SAMPLES   (2 * NELLY_BUF_LEN)

Definition at line 48 of file nellymoser.h.

Function Documentation

◆ ff_nelly_get_sample_bits()

void ff_nelly_get_sample_bits ( const float *  buf,
int bits 
)

Definition at line 116 of file nellymoser.c.

Referenced by encode_block(), and nelly_decode_block().

Variable Documentation

◆ ff_nelly_dequantization_table

const float ff_nelly_dequantization_table[127]

Definition at line 39 of file nellymoser.c.

Referenced by encode_block(), and nelly_decode_block().

◆ ff_nelly_band_sizes_table

const uint8_t ff_nelly_band_sizes_table[NELLY_BANDS]

Definition at line 66 of file nellymoser.c.

Referenced by encode_block(), and nelly_decode_block().

◆ ff_nelly_init_table

const uint16_t ff_nelly_init_table[64]

◆ ff_nelly_delta_table

const int16_t ff_nelly_delta_table[32]