~ubuntu-branches/debian/sid/mplayer/sid

« back to all changes in this revision

Viewing changes to libavcodec/vorbis_data.c

  • Committer: Bazaar Package Importer
  • Author(s): A Mennucc1
  • Date: 2009-03-23 10:05:45 UTC
  • mfrom: (4.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090323100545-x8h79obawnnte7kk
Tags: 1.0~rc2+svn20090303-5
debian/control : move docbook-xml,docbook-xsl,xsltproc from 
Build-Depends-Indep to Build-Depends, since they are needed to run
configure

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
19
 */
20
20
 
 
21
#include "dsputil.h"
21
22
#include "vorbis.h"
22
23
 
23
 
static const float vwin64[32] = {
 
24
DECLARE_ALIGNED_16(static const float, vwin64[32]) = {
24
25
  0.0009460463F, 0.0085006468F, 0.0235352254F, 0.0458950567F,
25
26
  0.0753351908F, 0.1115073077F, 0.1539457973F, 0.2020557475F,
26
27
  0.2551056759F, 0.3122276645F, 0.3724270287F, 0.4346027792F,
31
32
  0.9989462667F, 0.9997230082F, 0.9999638688F, 0.9999995525F,
32
33
};
33
34
 
34
 
static const float vwin128[64] = {
 
35
DECLARE_ALIGNED_16(static const float, vwin128[64]) = {
35
36
  0.0002365472F, 0.0021280687F, 0.0059065254F, 0.0115626550F,
36
37
  0.0190823442F, 0.0284463735F, 0.0396300935F, 0.0526030430F,
37
38
  0.0673285281F, 0.0837631763F, 0.1018564887F, 0.1215504095F,
50
51
  0.9999331503F, 0.9999825563F, 0.9999977357F, 0.9999999720F,
51
52
};
52
53
 
53
 
static const float vwin256[128] = {
 
54
DECLARE_ALIGNED_16(static const float, vwin256[128]) = {
54
55
  0.0000591390F, 0.0005321979F, 0.0014780301F, 0.0028960636F,
55
56
  0.0047854363F, 0.0071449926F, 0.0099732775F, 0.0132685298F,
56
57
  0.0170286741F, 0.0212513119F, 0.0259337111F, 0.0310727950F,
85
86
  0.9999958064F, 0.9999989077F, 0.9999998584F, 0.9999999983F,
86
87
};
87
88
 
88
 
static const float vwin512[256] = {
 
89
DECLARE_ALIGNED_16(static const float, vwin512[256]) = {
89
90
  0.0000147849F, 0.0001330607F, 0.0003695946F, 0.0007243509F,
90
91
  0.0011972759F, 0.0017882983F, 0.0024973285F, 0.0033242588F,
91
92
  0.0042689632F, 0.0053312973F, 0.0065110982F, 0.0078081841F,
152
153
  0.9999997377F, 0.9999999317F, 0.9999999911F, 0.9999999999F,
153
154
};
154
155
 
155
 
static const float vwin1024[512] = {
 
156
DECLARE_ALIGNED_16(static const float, vwin1024[512]) = {
156
157
  0.0000036962F, 0.0000332659F, 0.0000924041F, 0.0001811086F,
157
158
  0.0002993761F, 0.0004472021F, 0.0006245811F, 0.0008315063F,
158
159
  0.0010679699F, 0.0013339631F, 0.0016294757F, 0.0019544965F,
283
284
  0.9999999836F, 0.9999999957F, 0.9999999994F, 1.0000000000F,
284
285
};
285
286
 
286
 
static const float vwin2048[1024] = {
 
287
DECLARE_ALIGNED_16(static const float, vwin2048[1024]) = {
287
288
  0.0000009241F, 0.0000083165F, 0.0000231014F, 0.0000452785F,
288
289
  0.0000748476F, 0.0001118085F, 0.0001561608F, 0.0002079041F,
289
290
  0.0002670379F, 0.0003335617F, 0.0004074748F, 0.0004887765F,
542
543
  0.9999999990F, 0.9999999997F, 1.0000000000F, 1.0000000000F,
543
544
};
544
545
 
545
 
static const float vwin4096[2048] = {
 
546
DECLARE_ALIGNED_16(static const float, vwin4096[2048]) = {
546
547
  0.0000002310F, 0.0000020791F, 0.0000057754F, 0.0000113197F,
547
548
  0.0000187121F, 0.0000279526F, 0.0000390412F, 0.0000519777F,
548
549
  0.0000667623F, 0.0000833949F, 0.0001018753F, 0.0001222036F,
1057
1058
  0.9999999999F, 1.0000000000F, 1.0000000000F, 1.0000000000F,
1058
1059
};
1059
1060
 
1060
 
static const float vwin8192[4096] = {
 
1061
DECLARE_ALIGNED_16(static const float, vwin8192[4096]) = {
1061
1062
  0.0000000578F, 0.0000005198F, 0.0000014438F, 0.0000028299F,
1062
1063
  0.0000046780F, 0.0000069882F, 0.0000097604F, 0.0000129945F,
1063
1064
  0.0000166908F, 0.0000208490F, 0.0000254692F, 0.0000305515F,
2151
2152
  0.82788260F, 0.88168307F, 0.9389798F, 1.F,
2152
2153
};
2153
2154
 
2154
 
const float * ff_vorbis_vwin[8] = { vwin64, vwin128, vwin256, vwin512, vwin1024, vwin2048, vwin4096, vwin8192 };
 
2155
const float * const ff_vorbis_vwin[8] = { vwin64, vwin128, vwin256, vwin512, vwin1024, vwin2048, vwin4096, vwin8192 };
2155
2156