Revision c3a3d344 libavcodec/faandct.c

View differences:

libavcodec/faandct.c
107 107
        tmp5 += tmp6;
108 108
        tmp6 += tmp7;
109 109

  
110
#if 0
110 111
        z5= (tmp4 - tmp6) * A5;
111 112
        z2= tmp4*A2 + z5;
112 113
        z4= tmp6*A4 + z5;
114
#else
115
        z2= tmp4*(A2+A5) - tmp6*A5;
116
        z4= tmp6*(A4-A5) + tmp4*A5;
117
#endif
113 118
        tmp5*=A1;
114 119

  
115 120
        z11= tmp7 + tmp5;
......
161 166
        tmp5 += tmp6;
162 167
        tmp6 += tmp7;
163 168

  
169
#if 0
164 170
        z5= (tmp4 - tmp6) * A5;
165 171
        z2= tmp4*A2 + z5;
166 172
        z4= tmp6*A4 + z5;
173
#else
174
        z2= tmp4*(A2+A5) - tmp6*A5;
175
        z4= tmp6*(A4-A5) + tmp4*A5;
176
#endif
167 177
        tmp5*=A1;
168 178

  
169 179
        z11= tmp7 + tmp5;

Also available in: Unified diff