atrac: Move doxygen comments to the header

Also update copyright info and file description.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
Maxim Poliakovski 2013-09-30 23:14:51 +02:00 committed by Diego Biurrun
parent be0b4c70ec
commit 4be292dac7
2 changed files with 20 additions and 21 deletions

View File

@ -1,6 +1,7 @@
/* /*
* ATRAC common functions * common functions for the ATRAC family of decoders
* Copyright (c) 2006-2008 Maxim Poliakovski *
* Copyright (c) 2006-2013 Maxim Poliakovski
* Copyright (c) 2006-2008 Benjamin Larsson * Copyright (c) 2006-2008 Benjamin Larsson
* *
* This file is part of Libav. * This file is part of Libav.
@ -44,10 +45,6 @@ static const float qmf_48tap_half[24] = {
-0.043596379, -0.099384367, 0.13207909, 0.46424159 -0.043596379, -0.099384367, 0.13207909, 0.46424159
}; };
/**
* Generate common tables
*/
void ff_atrac_generate_tables(void) void ff_atrac_generate_tables(void)
{ {
int i; int i;
@ -66,19 +63,6 @@ void ff_atrac_generate_tables(void)
} }
} }
/**
* Quadrature mirror synthesis filter.
*
* @param inlo lower part of spectrum
* @param inhi higher part of spectrum
* @param nIn size of spectrum buffer
* @param pOut out buffer
* @param delayBuf delayBuf buffer
* @param temp temp buffer
*/
void ff_atrac_iqmf (float *inlo, float *inhi, unsigned int nIn, float *pOut, float *delayBuf, float *temp) void ff_atrac_iqmf (float *inlo, float *inhi, unsigned int nIn, float *pOut, float *delayBuf, float *temp)
{ {
int i, j; int i, j;

View File

@ -1,6 +1,7 @@
/* /*
* ATRAC common data * common functions for the ATRAC family of decoders
* Copyright (c) 2009 Maxim Poliakovski *
* Copyright (c) 2009-2013 Maxim Poliakovski
* Copyright (c) 2009 Benjamin Larsson * Copyright (c) 2009 Benjamin Larsson
* *
* This file is part of Libav. * This file is part of Libav.
@ -30,7 +31,21 @@
extern float ff_atrac_sf_table[64]; extern float ff_atrac_sf_table[64];
/**
* Generate common tables.
*/
void ff_atrac_generate_tables(void); void ff_atrac_generate_tables(void);
/**
* Quadrature mirror synthesis filter.
*
* @param inlo lower part of spectrum
* @param inhi higher part of spectrum
* @param nIn size of spectrum buffer
* @param pOut out buffer
* @param delayBuf delayBuf buffer
* @param temp temp buffer
*/
void ff_atrac_iqmf (float *inlo, float *inhi, unsigned int nIn, float *pOut, float *delayBuf, float *temp); void ff_atrac_iqmf (float *inlo, float *inhi, unsigned int nIn, float *pOut, float *delayBuf, float *temp);
#endif /* AVCODEC_ATRAC_H */ #endif /* AVCODEC_ATRAC_H */