From 4be292dac7e7f0586053fcced8d530ccf4ebef29 Mon Sep 17 00:00:00 2001 From: Maxim Poliakovski Date: Mon, 30 Sep 2013 23:14:51 +0200 Subject: [PATCH] atrac: Move doxygen comments to the header Also update copyright info and file description. Signed-off-by: Diego Biurrun --- libavcodec/atrac.c | 22 +++------------------- libavcodec/atrac.h | 19 +++++++++++++++++-- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/libavcodec/atrac.c b/libavcodec/atrac.c index 6041a12b42..b34bff3489 100644 --- a/libavcodec/atrac.c +++ b/libavcodec/atrac.c @@ -1,6 +1,7 @@ /* - * ATRAC common functions - * Copyright (c) 2006-2008 Maxim Poliakovski + * common functions for the ATRAC family of decoders + * + * Copyright (c) 2006-2013 Maxim Poliakovski * Copyright (c) 2006-2008 Benjamin Larsson * * 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 }; -/** - * Generate common tables - */ - void ff_atrac_generate_tables(void) { 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) { int i, j; diff --git a/libavcodec/atrac.h b/libavcodec/atrac.h index 8e9ba594a7..4923caa78a 100644 --- a/libavcodec/atrac.h +++ b/libavcodec/atrac.h @@ -1,6 +1,7 @@ /* - * ATRAC common data - * Copyright (c) 2009 Maxim Poliakovski + * common functions for the ATRAC family of decoders + * + * Copyright (c) 2009-2013 Maxim Poliakovski * Copyright (c) 2009 Benjamin Larsson * * This file is part of Libav. @@ -30,7 +31,21 @@ extern float ff_atrac_sf_table[64]; +/** + * Generate common tables. + */ 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); #endif /* AVCODEC_ATRAC_H */