[svn] / trunk / xvidcore / src / image / qpel.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/image/qpel.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1586, Wed Jan 5 23:02:15 2005 UTC revision 1627, Mon Aug 1 10:53:46 2005 UTC
# Line 19  Line 19 
19   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: qpel.c,v 1.5 2005-01-05 23:02:15 edgomez Exp $   * $Id: qpel.c,v 1.7 2005-08-01 10:53:46 Isibaar Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 397  Line 397 
397  #endif  #endif
398    
399  #ifdef ARCH_IS_X86_64  #ifdef ARCH_IS_X86_64
400  extern uint16_t xvid_Expand_mmx[][]; /* 8b -> 64b expansion table */  extern uint16_t xvid_Expand_mmx[256][4]; /* 8b -> 64b expansion table */
401  #endif  #endif
402    
403  /* Alternate way of filtering (cf. USE_TABLES flag in qpel_mmx.asm)  /* Alternate way of filtering (cf. USE_TABLES flag in qpel_mmx.asm)
# Line 408  Line 408 
408   * Using Symmetries (and bswap) could reduce further   * Using Symmetries (and bswap) could reduce further
409   * the memory to 7 tables (->14K). */   * the memory to 7 tables (->14K). */
410  #ifdef ARCH_IS_X86_64  #ifdef ARCH_IS_X86_64
411  extern int16_t xvid_FIR_1_0_0_0[][];  #define __SCOPE extern
 extern int16_t xvid_FIR_3_1_0_0[][];  
 extern int16_t xvid_FIR_6_3_1_0[][];  
 extern int16_t xvid_FIR_14_3_2_1[][];  
 extern int16_t xvid_FIR_20_6_3_1[][];  
 extern int16_t xvid_FIR_20_20_6_3[][];  
 extern int16_t xvid_FIR_23_19_6_3[][];  
 extern int16_t xvid_FIR_7_20_20_6[][];  
 extern int16_t xvid_FIR_6_20_20_6[][];  
 extern int16_t xvid_FIR_6_20_20_7[][];  
 extern int16_t xvid_FIR_3_6_20_20[][];  
 extern int16_t xvid_FIR_3_6_19_23[][];  
 extern int16_t xvid_FIR_1_3_6_20[][];  
 extern int16_t xvid_FIR_1_2_3_14[][];  
 extern int16_t xvid_FIR_0_1_3_6[][];  
 extern int16_t xvid_FIR_0_0_1_3[][];  
 extern int16_t xvid_FIR_0_0_0_1[][];  
412  #else  #else
413  int16_t xvid_FIR_1_0_0_0[256][4];  #define __SCOPE
 int16_t xvid_FIR_3_1_0_0[256][4];  
 int16_t xvid_FIR_6_3_1_0[256][4];  
 int16_t xvid_FIR_14_3_2_1[256][4];  
 int16_t xvid_FIR_20_6_3_1[256][4];  
 int16_t xvid_FIR_20_20_6_3[256][4];  
 int16_t xvid_FIR_23_19_6_3[256][4];  
 int16_t xvid_FIR_7_20_20_6[256][4];  
 int16_t xvid_FIR_6_20_20_6[256][4];  
 int16_t xvid_FIR_6_20_20_7[256][4];  
 int16_t xvid_FIR_3_6_20_20[256][4];  
 int16_t xvid_FIR_3_6_19_23[256][4];  
 int16_t xvid_FIR_1_3_6_20[256][4];  
 int16_t xvid_FIR_1_2_3_14[256][4];  
 int16_t xvid_FIR_0_1_3_6[256][4];  
 int16_t xvid_FIR_0_0_1_3[256][4];  
 int16_t xvid_FIR_0_0_0_1[256][4];  
414  #endif  #endif
415    
416    __SCOPE int16_t xvid_FIR_1_0_0_0[256][4];
417    __SCOPE int16_t xvid_FIR_3_1_0_0[256][4];
418    __SCOPE int16_t xvid_FIR_6_3_1_0[256][4];
419    __SCOPE int16_t xvid_FIR_14_3_2_1[256][4];
420    __SCOPE int16_t xvid_FIR_20_6_3_1[256][4];
421    __SCOPE int16_t xvid_FIR_20_20_6_3[256][4];
422    __SCOPE int16_t xvid_FIR_23_19_6_3[256][4];
423    __SCOPE int16_t xvid_FIR_7_20_20_6[256][4];
424    __SCOPE int16_t xvid_FIR_6_20_20_6[256][4];
425    __SCOPE int16_t xvid_FIR_6_20_20_7[256][4];
426    __SCOPE int16_t xvid_FIR_3_6_20_20[256][4];
427    __SCOPE int16_t xvid_FIR_3_6_19_23[256][4];
428    __SCOPE int16_t xvid_FIR_1_3_6_20[256][4];
429    __SCOPE int16_t xvid_FIR_1_2_3_14[256][4];
430    __SCOPE int16_t xvid_FIR_0_1_3_6[256][4];
431    __SCOPE int16_t xvid_FIR_0_0_1_3[256][4];
432    __SCOPE int16_t xvid_FIR_0_0_0_1[256][4];
433    
434  static void Init_FIR_Table(int16_t Tab[][4],  static void Init_FIR_Table(int16_t Tab[][4],
435                             int A, int B, int C, int D)                             int A, int B, int C, int D)
436  {  {

Legend:
Removed from v.1586  
changed lines
  Added in v.1627

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4