libavcodec/atrac.c File Reference

#include <math.h>
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include "avcodec.h"
#include "dsputil.h"
#include "atrac.h"

Go to the source code of this file.


void ff_atrac_generate_tables (void)
 Generate common tables.
void ff_atrac_iqmf (float *inlo, float *inhi, unsigned int nIn, float *pOut, float *delayBuf, float *temp)
 Quadrature mirror synthesis filter.


float ff_atrac_sf_table [64]
static float qmf_window [48]
static const float qmf_48tap_half [24]

Detailed Description

Definition in file atrac.c.

Function Documentation

void ff_atrac_generate_tables ( void   ) 

Generate common tables.

Definition at line 52 of file atrac.c.

Referenced by atrac1_decode_init(), and atrac3_decode_init().

void ff_atrac_iqmf ( float *  inlo,
float *  inhi,
unsigned int  nIn,
float *  pOut,
float *  delayBuf,
float *  temp 

Quadrature mirror synthesis filter.

inlo lower part of spectrum
inhi higher part of spectrum
nIn size of spectrum buffer
pOut out buffer
delayBuf delayBuf buffer
temp temp buffer

Definition at line 83 of file atrac.c.

Referenced by at1_subband_synthesis(), and decodeFrame().

Variable Documentation

float ff_atrac_sf_table[64]

const float qmf_48tap_half[24] [static]

Initial value:

   -0.00001461907, -0.00009205479,-0.000056157569,0.00030117269,
    0.0002422519,  -0.00085293897,-0.0005205574,  0.0020340169,
    0.00078333891, -0.0042153862, -0.00075614988, 0.0078402944,
   -0.000061169922,-0.01344162,    0.0024626821,  0.021736089,
   -0.007801671,   -0.034090221,   0.01880949,    0.054326009,
   -0.043596379,   -0.099384367,   0.13207909,    0.46424159

Definition at line 39 of file atrac.c.

Referenced by ff_atrac_generate_tables().

float qmf_window[48] [static]

Definition at line 37 of file atrac.c.

Referenced by ff_atrac_generate_tables(), and ff_atrac_iqmf().

Generated on Fri Oct 26 02:50:04 2012 for FFmpeg by  doxygen 1.5.8