Commit bac2956d authored by michael's avatar michael

add a 8 taps filter for testing


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10394 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d6f8db68
...@@ -2159,7 +2159,11 @@ START_TIMER ...@@ -2159,7 +2159,11 @@ START_TIMER
int a6= src[x + HTAPS/2+3]; int a6= src[x + HTAPS/2+3];
int a7= src[x + HTAPS/2+4]; int a7= src[x + HTAPS/2+4];
// int am= 9*(a1+a2) - (a0+a3); // int am= 9*(a1+a2) - (a0+a3);
#if HTAPS==6
int am= 20*(a2+a3) - 5*(a1+a4) + (a0+a5); int am= 20*(a2+a3) - 5*(a1+a4) + (a0+a5);
#else
int am= 21*(a2+a3) - 7*(a1+a4) + 3*(a0+a5) - (a_1+a6);
#endif
// int am= 18*(a2+a3) - 2*(a1+a4); // int am= 18*(a2+a3) - 2*(a1+a4);
// int aL= (-7*a0 + 105*a1 + 35*a2 - 5*a3)>>3; // int aL= (-7*a0 + 105*a1 + 35*a2 - 5*a3)>>3;
// int aR= (-7*a3 + 105*a2 + 35*a1 - 5*a0)>>3; // int aR= (-7*a3 + 105*a2 + 35*a1 - 5*a0)>>3;
...@@ -2196,7 +2200,11 @@ START_TIMER ...@@ -2196,7 +2200,11 @@ START_TIMER
int a5= tmp[x + (HTAPS/2+2)*stride]; int a5= tmp[x + (HTAPS/2+2)*stride];
int a6= tmp[x + (HTAPS/2+3)*stride]; int a6= tmp[x + (HTAPS/2+3)*stride];
int a7= tmp[x + (HTAPS/2+4)*stride]; int a7= tmp[x + (HTAPS/2+4)*stride];
#if HTAPS==6
int am= 20*(a2+a3) - 5*(a1+a4) + (a0+a5); int am= 20*(a2+a3) - 5*(a1+a4) + (a0+a5);
#else
int am= 21*(a2+a3) - 7*(a1+a4) + 3*(a0+a5) - (a_1+a6);
#endif
// int am= 18*(a2+a3) - 2*(a1+a4); // int am= 18*(a2+a3) - 2*(a1+a4);
/* int aL= (-7*a0 + 105*a1 + 35*a2 - 5*a3)>>3; /* int aL= (-7*a0 + 105*a1 + 35*a2 - 5*a3)>>3;
int aR= (-7*a3 + 105*a2 + 35*a1 - 5*a0)>>3;*/ int aR= (-7*a3 + 105*a2 + 35*a1 - 5*a0)>>3;*/
......
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