Commit 59f53b19 authored by michael's avatar michael

Alternative and faster (on gcc x86) plane rotation.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12237 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent abb07ae4
......@@ -107,9 +107,14 @@ static av_always_inline void row_fdct(FLOAT temp[64], DCTELEM * data)
tmp5 += tmp6;
tmp6 += tmp7;
#if 0
z5= (tmp4 - tmp6) * A5;
z2= tmp4*A2 + z5;
z4= tmp6*A4 + z5;
#else
z2= tmp4*(A2+A5) - tmp6*A5;
z4= tmp6*(A4-A5) + tmp4*A5;
#endif
tmp5*=A1;
z11= tmp7 + tmp5;
......@@ -161,9 +166,14 @@ void ff_faandct(DCTELEM * data)
tmp5 += tmp6;
tmp6 += tmp7;
#if 0
z5= (tmp4 - tmp6) * A5;
z2= tmp4*A2 + z5;
z4= tmp6*A4 + z5;
#else
z2= tmp4*(A2+A5) - tmp6*A5;
z4= tmp6*(A4-A5) + tmp4*A5;
#endif
tmp5*=A1;
z11= tmp7 + tmp5;
......
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