aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Poliakovski <max_pole@gmx.de>2013-09-30 23:14:51 +0200
committerDiego Biurrun <diego@biurrun.de>2013-10-03 17:53:51 +0200
commit4be292dac7e7f0586053fcced8d530ccf4ebef29 (patch)
tree3f7cc1394bfd2aeddafd0298969e0e5b4843aa8d
parentbe0b4c70ec40d7f9ac8e416a4379d4a387421184 (diff)
downloadffmpeg-4be292dac7e7f0586053fcced8d530ccf4ebef29.tar.gz
atrac: Move doxygen comments to the header
Also update copyright info and file description. Signed-off-by: Diego Biurrun <diego@biurrun.de>
-rw-r--r--libavcodec/atrac.c22
-rw-r--r--libavcodec/atrac.h19
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 */