[FFmpeg-cvslog] aactab: move ltp_coef[] from aacdectab to aactab

Rostislav Pehlivanov git at videolan.org
Sat Oct 17 03:31:45 CEST 2015


ffmpeg | branch: master | Rostislav Pehlivanov <atomnuker at gmail.com> | Sat Oct 17 02:06:09 2015 +0100| [b9fb1db9b42cfad6b4073daf70ca7b89840a1c15] | committer: Rostislav Pehlivanov

aactab: move ltp_coef[] from aacdectab to aactab

The encoder makes use of it in the following commits.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b9fb1db9b42cfad6b4073daf70ca7b89840a1c15
---

 libavcodec/aacdectab.h |    8 --------
 libavcodec/aactab.h    |    8 ++++++++
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/libavcodec/aacdectab.h b/libavcodec/aacdectab.h
index 5c89a93..baf51a7 100644
--- a/libavcodec/aacdectab.h
+++ b/libavcodec/aacdectab.h
@@ -35,14 +35,6 @@
 
 #include <stdint.h>
 
-/* @name ltp_coef
- * Table of the LTP coefficients
- */
-static const INTFLOAT ltp_coef[8] = {
-    Q30(0.570829f), Q30(0.696616f), Q30(0.813004f), Q30(0.911304f),
-    Q30(0.984900f), Q30(1.067894f), Q30(1.194601f), Q30(1.369533f),
-};
-
 static const int8_t tags_per_config[16] = { 0, 1, 1, 2, 3, 3, 4, 5, 0, 0, 0, 4, 5, 0, 5, 0 };
 
 static const uint8_t aac_channel_layout_map[16][5][3] = {
diff --git a/libavcodec/aactab.h b/libavcodec/aactab.h
index 9f33380..eb91516 100644
--- a/libavcodec/aactab.h
+++ b/libavcodec/aactab.h
@@ -41,6 +41,14 @@
  * encoder.
  */
 
+/* @name ltp_coef
+ * Table of the LTP coefficients
+ */
+static const INTFLOAT ltp_coef[8] = {
+    Q30(0.570829f), Q30(0.696616f), Q30(0.813004f), Q30(0.911304f),
+    Q30(0.984900f), Q30(1.067894f), Q30(1.194601f), Q30(1.369533f),
+};
+
 /* @name tns_tmp2_map
  * Tables of the tmp2[] arrays of LPC coefficients used for TNS.
  * The suffix _M_N[] indicate the values of coef_compress and coef_res



More information about the ffmpeg-cvslog mailing list