#include <stdio.h>
#include <assert.h>
#include "private.h"
#include "gsm.h"
#include "proto.h"
Go to the source code of this file.
◆ P3()
Definition at line 34 of file preprocess.c.
38{
45 register int k = 160;
46
47 (void) utmp;
48
49 while (k--) {
50
51
52
53
54 SO =
SASR( *s, 1 ) & ~3;
55 s++;
56
57 assert (SO >= -0x4000);
58 assert (SO <= 0x3FFC);
59
60
61
62
63
64
65
66
67
68
69
70
71 s1 = SO - z1;
72 z1 = SO;
73
75
76
77
78
79
80
81
82
83 {
85#ifndef __GNUC__
87#endif
90
91 L_s2 = s1;
92 L_s2 <<= 15;
93#ifndef __GNUC__
95 lsp = (
word)(L_z2 & 0x7fff);
96
100
101#else
102 L_z2 = ((long long)L_z2*32735 + 0x4000)>>15;
103
104
105
106
107
108
110#endif
111
112
114
115
116
117
121 }
122 }
123
127}
static word GSM_ADD(longword a, longword b)
References GSM_ADD(), GSM_L_ADD, GSM_MULT_R, MIN_WORD, S, and SASR.