annotate libmpcodecs/native/decode288.h @ 11866:bfc01249a7bc

support for latest CVS, patch by Ville Syrjala
author alex
date Wed, 28 Jan 2004 10:19:49 +0000
parents 597ad4eb02fc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10260
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
1 #ifndef DECODE288_H
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
2 #define DECODE288_H
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
3
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
4 /* internal globals */
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
5 typedef struct {
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
6 float history[8];
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
7 float output[40];
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
8 float pr1[36];
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
9 float pr2[10];
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
10 int phase, phasep;
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
11
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
12 float st1a[111],st1b[37],st1[37];
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
13 float st2a[38],st2b[11],st2[11];
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
14 float sb[41];
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
15 float lhist[10];
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
16 } Real_internal;
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
17
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
18 /* prototypes */
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
19 static void unpack (unsigned short *tgt, unsigned char *src, int len);
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
20 static void decode (Real_internal *internal, unsigned int input);
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
21 static void update (Real_internal *internal);
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
22 static void colmult (float *tgt, float *m1, const float *m2, int n);
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
23 static int pred (float *in, float *tgt, int n);
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
24 static void co (int n, int i, int j, float *in, float *out, float *st1, float *st2, const float *table);
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
25 static void prodsum (float *tgt, float *src, int len, int n);
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
26
597ad4eb02fc RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
diff changeset
27 #endif /* !DECODE288_H */