mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
aactab: move ltp_coef[] from aacdectab to aactab
The encoder makes use of it in the following commits.
This commit is contained in:
parent
a878dfa4f5
commit
b9fb1db9b4
@ -35,14 +35,6 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#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 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] = {
|
static const uint8_t aac_channel_layout_map[16][5][3] = {
|
||||||
|
@ -41,6 +41,14 @@
|
|||||||
* encoder.
|
* 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
|
/* @name tns_tmp2_map
|
||||||
* Tables of the tmp2[] arrays of LPC coefficients used for TNS.
|
* Tables of the tmp2[] arrays of LPC coefficients used for TNS.
|
||||||
* The suffix _M_N[] indicate the values of coef_compress and coef_res
|
* The suffix _M_N[] indicate the values of coef_compress and coef_res
|
||||||
|
Loading…
Reference in New Issue
Block a user