FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
nellymoser.h File Reference

The 3 alphanumeric copyright notices are md5summed they are from the original implementors. More...

#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

#define NELLY_BANDS   23
#define NELLY_BLOCK_LEN   64

Definition at line 40 of file nellymoser.h.

Referenced by decode_tag(), and encode_frame().

#define NELLY_HEADER_BITS   116

Definition at line 41 of file nellymoser.h.

Referenced by encode_block(), and nelly_decode_block().

#define NELLY_DETAIL_BITS   198

Definition at line 42 of file nellymoser.h.

Referenced by encode_block(), ff_nelly_get_sample_bits(), and nelly_decode_block().

#define NELLY_BUF_LEN   128

Definition at line 43 of file nellymoser.h.

Referenced by apply_mdct(), encode_block(), encode_frame(), encode_init(), and nelly_decode_block().

#define NELLY_FILL_LEN   124

Definition at line 44 of file nellymoser.h.

Referenced by encode_block(), ff_nelly_get_sample_bits(), nelly_decode_block(), and sum_bits().

#define NELLY_BIT_CAP   6

Definition at line 45 of file nellymoser.h.

Referenced by ff_nelly_get_sample_bits(), and sum_bits().

#define NELLY_BASE_OFF   4228

Definition at line 46 of file nellymoser.h.

Referenced by ff_nelly_get_sample_bits().

#define NELLY_BASE_SHIFT   19

Definition at line 47 of file nellymoser.h.

Referenced by ff_nelly_get_sample_bits().

#define NELLY_SAMPLES   (2 * NELLY_BUF_LEN)

Definition at line 48 of file nellymoser.h.

Referenced by decode_tag(), encode_frame(), and encode_init().

Function Documentation

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

const float ff_nelly_dequantization_table[127]

Definition at line 39 of file nellymoser.c.

Referenced by encode_block(), and nelly_decode_block().

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().

const uint16_t ff_nelly_init_table[64]
const int16_t ff_nelly_delta_table[32]