FFmpeg
libavcodec
aacsbr_tablegen_common.h
Go to the documentation of this file.
1
/*
2
* Header file for hardcoded AAC SBR windows
3
*
4
* Copyright (c) 2014 Reimar Döffinger <Reimar.Doeffinger@gmx.de>
5
*
6
* This file is part of FFmpeg.
7
*
8
* FFmpeg is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 2.1 of the License, or (at your option) any later version.
12
*
13
* FFmpeg is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with FFmpeg; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
*/
22
23
#ifndef AVCODEC_AACSBR_TABLEGEN_COMMON_H
24
#define AVCODEC_AACSBR_TABLEGEN_COMMON_H
25
#include "
aac_defines.h
"
26
#include "
libavutil/mem.h
"
27
28
///< window coefficients for analysis/synthesis QMF banks
29
static
DECLARE_ALIGNED
(32,
INTFLOAT
,
sbr_qmf_window_ds
)[320];
30
static
DECLARE_ALIGNED
(32,
INTFLOAT
,
sbr_qmf_window_us
)[640] = {
31
Q31
( 0.0000000000
f
),
Q31
(-0.0005525286
f
),
Q31
(-0.0005617692
f
),
Q31
(-0.0004947518
f
),
32
Q31
(-0.0004875227
f
),
Q31
(-0.0004893791
f
),
Q31
(-0.0005040714
f
),
Q31
(-0.0005226564
f
),
33
Q31
(-0.0005466565
f
),
Q31
(-0.0005677802
f
),
Q31
(-0.0005870930
f
),
Q31
(-0.0006132747
f
),
34
Q31
(-0.0006312493
f
),
Q31
(-0.0006540333
f
),
Q31
(-0.0006777690
f
),
Q31
(-0.0006941614
f
),
35
Q31
(-0.0007157736
f
),
Q31
(-0.0007255043
f
),
Q31
(-0.0007440941
f
),
Q31
(-0.0007490598
f
),
36
Q31
(-0.0007681371
f
),
Q31
(-0.0007724848
f
),
Q31
(-0.0007834332
f
),
Q31
(-0.0007779869
f
),
37
Q31
(-0.0007803664
f
),
Q31
(-0.0007801449
f
),
Q31
(-0.0007757977
f
),
Q31
(-0.0007630793
f
),
38
Q31
(-0.0007530001
f
),
Q31
(-0.0007319357
f
),
Q31
(-0.0007215391
f
),
Q31
(-0.0006917937
f
),
39
Q31
(-0.0006650415
f
),
Q31
(-0.0006341594
f
),
Q31
(-0.0005946118
f
),
Q31
(-0.0005564576
f
),
40
Q31
(-0.0005145572
f
),
Q31
(-0.0004606325
f
),
Q31
(-0.0004095121
f
),
Q31
(-0.0003501175
f
),
41
Q31
(-0.0002896981
f
),
Q31
(-0.0002098337
f
),
Q31
(-0.0001446380
f
),
Q31
(-0.0000617334
f
),
42
Q31
( 0.0000134949
f
),
Q31
( 0.0001094383
f
),
Q31
( 0.0002043017
f
),
Q31
( 0.0002949531
f
),
43
Q31
( 0.0004026540
f
),
Q31
( 0.0005107388
f
),
Q31
( 0.0006239376
f
),
Q31
( 0.0007458025
f
),
44
Q31
( 0.0008608443
f
),
Q31
( 0.0009885988
f
),
Q31
( 0.0011250155
f
),
Q31
( 0.0012577884
f
),
45
Q31
( 0.0013902494
f
),
Q31
( 0.0015443219
f
),
Q31
( 0.0016868083
f
),
Q31
( 0.0018348265
f
),
46
Q31
( 0.0019841140
f
),
Q31
( 0.0021461583
f
),
Q31
( 0.0023017254
f
),
Q31
( 0.0024625616
f
),
47
Q31
( 0.0026201758
f
),
Q31
( 0.0027870464
f
),
Q31
( 0.0029469447
f
),
Q31
( 0.0031125420
f
),
48
Q31
( 0.0032739613
f
),
Q31
( 0.0034418874
f
),
Q31
( 0.0036008268
f
),
Q31
( 0.0037603922
f
),
49
Q31
( 0.0039207432
f
),
Q31
( 0.0040819753
f
),
Q31
( 0.0042264269
f
),
Q31
( 0.0043730719
f
),
50
Q31
( 0.0045209852
f
),
Q31
( 0.0046606460
f
),
Q31
( 0.0047932560
f
),
Q31
( 0.0049137603
f
),
51
Q31
( 0.0050393022
f
),
Q31
( 0.0051407353
f
),
Q31
( 0.0052461166
f
),
Q31
( 0.0053471681
f
),
52
Q31
( 0.0054196775
f
),
Q31
( 0.0054876040
f
),
Q31
( 0.0055475714
f
),
Q31
( 0.0055938023
f
),
53
Q31
( 0.0056220643
f
),
Q31
( 0.0056455196
f
),
Q31
( 0.0056389199
f
),
Q31
( 0.0056266114
f
),
54
Q31
( 0.0055917128
f
),
Q31
( 0.0055404363
f
),
Q31
( 0.0054753783
f
),
Q31
( 0.0053838975
f
),
55
Q31
( 0.0052715758
f
),
Q31
( 0.0051382275
f
),
Q31
( 0.0049839687
f
),
Q31
( 0.0048109469
f
),
56
Q31
( 0.0046039530
f
),
Q31
( 0.0043801861
f
),
Q31
( 0.0041251642
f
),
Q31
( 0.0038456408
f
),
57
Q31
( 0.0035401246
f
),
Q31
( 0.0032091885
f
),
Q31
( 0.0028446757
f
),
Q31
( 0.0024508540
f
),
58
Q31
( 0.0020274176
f
),
Q31
( 0.0015784682
f
),
Q31
( 0.0010902329
f
),
Q31
( 0.0005832264
f
),
59
Q31
( 0.0000276045
f
),
Q31
(-0.0005464280
f
),
Q31
(-0.0011568135
f
),
Q31
(-0.0018039472
f
),
60
Q31
(-0.0024826723
f
),
Q31
(-0.0031933778
f
),
Q31
(-0.0039401124
f
),
Q31
(-0.0047222596
f
),
61
Q31
(-0.0055337211
f
),
Q31
(-0.0063792293
f
),
Q31
(-0.0072615816
f
),
Q31
(-0.0081798233
f
),
62
Q31
(-0.0091325329
f
),
Q31
(-0.0101150215
f
),
Q31
(-0.0111315548
f
),
Q31
(-0.0121849995
f
),
63
Q31
( 0.0132718220
f
),
Q31
( 0.0143904666
f
),
Q31
( 0.0155405553
f
),
Q31
( 0.0167324712
f
),
64
Q31
( 0.0179433381
f
),
Q31
( 0.0191872431
f
),
Q31
( 0.0204531793
f
),
Q31
( 0.0217467550
f
),
65
Q31
( 0.0230680169
f
),
Q31
( 0.0244160992
f
),
Q31
( 0.0257875847
f
),
Q31
( 0.0271859429
f
),
66
Q31
( 0.0286072173
f
),
Q31
( 0.0300502657
f
),
Q31
( 0.0315017608
f
),
Q31
( 0.0329754081
f
),
67
Q31
( 0.0344620948
f
),
Q31
( 0.0359697560
f
),
Q31
( 0.0374812850
f
),
Q31
( 0.0390053679
f
),
68
Q31
( 0.0405349170
f
),
Q31
( 0.0420649094
f
),
Q31
( 0.0436097542
f
),
Q31
( 0.0451488405
f
),
69
Q31
( 0.0466843027
f
),
Q31
( 0.0482165720
f
),
Q31
( 0.0497385755
f
),
Q31
( 0.0512556155
f
),
70
Q31
( 0.0527630746
f
),
Q31
( 0.0542452768
f
),
Q31
( 0.0557173648
f
),
Q31
( 0.0571616450
f
),
71
Q31
( 0.0585915683
f
),
Q31
( 0.0599837480
f
),
Q31
( 0.0613455171
f
),
Q31
( 0.0626857808
f
),
72
Q31
( 0.0639715898
f
),
Q31
( 0.0652247106
f
),
Q31
( 0.0664367512
f
),
Q31
( 0.0676075985
f
),
73
Q31
( 0.0687043828
f
),
Q31
( 0.0697630244
f
),
Q31
( 0.0707628710
f
),
Q31
( 0.0717002673
f
),
74
Q31
( 0.0725682583
f
),
Q31
( 0.0733620255
f
),
Q31
( 0.0741003642
f
),
Q31
( 0.0747452558
f
),
75
Q31
( 0.0753137336
f
),
Q31
( 0.0758008358
f
),
Q31
( 0.0761992479
f
),
Q31
( 0.0764992170
f
),
76
Q31
( 0.0767093490
f
),
Q31
( 0.0768173975
f
),
Q31
( 0.0768230011
f
),
Q31
( 0.0767204924
f
),
77
Q31
( 0.0765050718
f
),
Q31
( 0.0761748321
f
),
Q31
( 0.0757305756
f
),
Q31
( 0.0751576255
f
),
78
Q31
( 0.0744664394
f
),
Q31
( 0.0736406005
f
),
Q31
( 0.0726774642
f
),
Q31
( 0.0715826364
f
),
79
Q31
( 0.0703533073
f
),
Q31
( 0.0689664013
f
),
Q31
( 0.0674525021
f
),
Q31
( 0.0657690668
f
),
80
Q31
( 0.0639444805
f
),
Q31
( 0.0619602779
f
),
Q31
( 0.0598166570
f
),
Q31
( 0.0575152691
f
),
81
Q31
( 0.0550460034
f
),
Q31
( 0.0524093821
f
),
Q31
( 0.0495978676
f
),
Q31
( 0.0466303305
f
),
82
Q31
( 0.0434768782
f
),
Q31
( 0.0401458278
f
),
Q31
( 0.0366418116
f
),
Q31
( 0.0329583930
f
),
83
Q31
( 0.0290824006
f
),
Q31
( 0.0250307561
f
),
Q31
( 0.0207997072
f
),
Q31
( 0.0163701258
f
),
84
Q31
( 0.0117623832
f
),
Q31
( 0.0069636862
f
),
Q31
( 0.0019765601
f
),
Q31
(-0.0032086896
f
),
85
Q31
(-0.0085711749
f
),
Q31
(-0.0141288827
f
),
Q31
(-0.0198834129
f
),
Q31
(-0.0258227288
f
),
86
Q31
(-0.0319531274
f
),
Q31
(-0.0382776572
f
),
Q31
(-0.0447806821
f
),
Q31
(-0.0514804176
f
),
87
Q31
(-0.0583705326
f
),
Q31
(-0.0654409853
f
),
Q31
(-0.0726943300
f
),
Q31
(-0.0801372934
f
),
88
Q31
(-0.0877547536
f
),
Q31
(-0.0955533352
f
),
Q31
(-0.1035329531
f
),
Q31
(-0.1116826931
f
),
89
Q31
(-0.1200077984
f
),
Q31
(-0.1285002850
f
),
Q31
(-0.1371551761
f
),
Q31
(-0.1459766491
f
),
90
Q31
(-0.1549607071
f
),
Q31
(-0.1640958855
f
),
Q31
(-0.1733808172
f
),
Q31
(-0.1828172548
f
),
91
Q31
(-0.1923966745
f
),
Q31
(-0.2021250176
f
),
Q31
(-0.2119735853
f
),
Q31
(-0.2219652696
f
),
92
Q31
(-0.2320690870
f
),
Q31
(-0.2423016884
f
),
Q31
(-0.2526480309
f
),
Q31
(-0.2631053299
f
),
93
Q31
(-0.2736634040
f
),
Q31
(-0.2843214189
f
),
Q31
(-0.2950716717
f
),
Q31
(-0.3059098575
f
),
94
Q31
(-0.3168278913
f
),
Q31
(-0.3278113727
f
),
Q31
(-0.3388722693
f
),
Q31
(-0.3499914122
f
),
95
Q31
( 0.3611589903
f
),
Q31
( 0.3723795546
f
),
Q31
( 0.3836350013
f
),
Q31
( 0.3949211761
f
),
96
Q31
( 0.4062317676
f
),
Q31
( 0.4175696896
f
),
Q31
( 0.4289119920
f
),
Q31
( 0.4402553754
f
),
97
Q31
( 0.4515996535
f
),
Q31
( 0.4629308085
f
),
Q31
( 0.4742453214
f
),
Q31
( 0.4855253091
f
),
98
Q31
( 0.4967708254
f
),
Q31
( 0.5079817500
f
),
Q31
( 0.5191234970
f
),
Q31
( 0.5302240895
f
),
99
Q31
( 0.5412553448
f
),
Q31
( 0.5522051258
f
),
Q31
( 0.5630789140
f
),
Q31
( 0.5738524131
f
),
100
Q31
( 0.5845403235
f
),
Q31
( 0.5951123086
f
),
Q31
( 0.6055783538
f
),
Q31
( 0.6159109932
f
),
101
Q31
( 0.6261242695
f
),
Q31
( 0.6361980107
f
),
Q31
( 0.6461269695
f
),
Q31
( 0.6559016302
f
),
102
Q31
( 0.6655139880
f
),
Q31
( 0.6749663190
f
),
Q31
( 0.6842353293
f
),
Q31
( 0.6933282376
f
),
103
Q31
( 0.7022388719
f
),
Q31
( 0.7109410426
f
),
Q31
( 0.7194462634
f
),
Q31
( 0.7277448900
f
),
104
Q31
( 0.7358211758
f
),
Q31
( 0.7436827863
f
),
Q31
( 0.7513137456
f
),
Q31
( 0.7587080760
f
),
105
Q31
( 0.7658674865
f
),
Q31
( 0.7727780881
f
),
Q31
( 0.7794287519
f
),
Q31
( 0.7858353120
f
),
106
Q31
( 0.7919735841
f
),
Q31
( 0.7978466413
f
),
Q31
( 0.8034485751
f
),
Q31
( 0.8087695004
f
),
107
Q31
( 0.8138191270
f
),
Q31
( 0.8185776004
f
),
Q31
( 0.8230419890
f
),
Q31
( 0.8272275347
f
),
108
Q31
( 0.8311038457
f
),
Q31
( 0.8346937361
f
),
Q31
( 0.8379717337
f
),
Q31
( 0.8409541392
f
),
109
Q31
( 0.8436238281
f
),
Q31
( 0.8459818469
f
),
Q31
( 0.8480315777
f
),
Q31
( 0.8497805198
f
),
110
Q31
( 0.8511971524
f
),
Q31
( 0.8523047035
f
),
Q31
( 0.8531020949
f
),
Q31
( 0.8535720573
f
),
111
Q31
( 0.8537385600
f
),
112
};
113
114
#endif
/* AVCODEC_AACSBR_TABLEGEN_COMMON_H */
f
#define f(width, name)
Definition:
cbs_vp9.c:255
sbr_qmf_window_ds
static INTFLOAT sbr_qmf_window_ds[320]
< window coefficients for analysis/synthesis QMF banks
Definition:
aacsbr_tablegen_common.h:29
DECLARE_ALIGNED
#define DECLARE_ALIGNED(n, t, v)
Definition:
mem.h:112
Q31
#define Q31(x)
Definition:
aac_defines.h:96
sbr_qmf_window_us
static INTFLOAT sbr_qmf_window_us[640]
Definition:
aacsbr_tablegen_common.h:30
mem.h
aac_defines.h
INTFLOAT
float INTFLOAT
Definition:
aac_defines.h:86
Generated on Wed Aug 24 2022 21:31:06 for FFmpeg by
1.8.17