Commit 5be30c59 authored by Vitor Sessak's avatar Vitor Sessak

Simplify: glob->phase is always == 3

Originally committed as revision 14094 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f27f0fc3
...@@ -181,22 +181,19 @@ static void co(int n, int i, int j, float *in, float *out, float *st1, ...@@ -181,22 +181,19 @@ static void co(int n, int i, int j, float *in, float *out, float *st1,
static void update(Real288_internal *glob) static void update(Real288_internal *glob)
{ {
int x,y;
float buffer1[40], temp1[37]; float buffer1[40], temp1[37];
float buffer2[8], temp2[11]; float buffer2[8], temp2[11];
y = glob->phase*5+5; memcpy(buffer1 , glob->output + 20, 20*sizeof(*buffer1));
for (x=0; x < 40; x++) memcpy(buffer1 + 20, glob->output , 20*sizeof(*buffer1));
buffer1[x] = glob->output[(y++)%40];
co(36, 40, 35, buffer1, temp1, glob->st1a, glob->st1b, table1); co(36, 40, 35, buffer1, temp1, glob->st1a, glob->st1b, table1);
if (pred(temp1, glob->st1, 36)) if (pred(temp1, glob->st1, 36))
colmult(glob->pr1, glob->st1, table1a, 36); colmult(glob->pr1, glob->st1, table1a, 36);
y = glob->phase + 1; memcpy(buffer2 , glob->history + 4, 4*sizeof(*buffer2));
for (x=0; x < 8; x++) memcpy(buffer2 + 4, glob->history , 4*sizeof(*buffer2));
buffer2[x] = glob->history[(y++) & 7];
co(10, 8, 20, buffer2, temp2, glob->st2a, glob->st2b, table2); co(10, 8, 20, buffer2, temp2, glob->st2a, glob->st2b, table2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment