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.6 2005-07-11 22:10:24 Skal Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
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) |
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[][]; |
extern int16_t xvid_FIR_1_0_0_0[256][4]; |
412 |
extern int16_t xvid_FIR_3_1_0_0[][]; |
extern int16_t xvid_FIR_3_1_0_0[256][4]; |
413 |
extern int16_t xvid_FIR_6_3_1_0[][]; |
extern int16_t xvid_FIR_6_3_1_0[256][4]; |
414 |
extern int16_t xvid_FIR_14_3_2_1[][]; |
extern int16_t xvid_FIR_14_3_2_1[256][4]; |
415 |
extern int16_t xvid_FIR_20_6_3_1[][]; |
extern int16_t xvid_FIR_20_6_3_1[256][4]; |
416 |
extern int16_t xvid_FIR_20_20_6_3[][]; |
extern int16_t xvid_FIR_20_20_6_3[256][4]; |
417 |
extern int16_t xvid_FIR_23_19_6_3[][]; |
extern int16_t xvid_FIR_23_19_6_3[256][4]; |
418 |
extern int16_t xvid_FIR_7_20_20_6[][]; |
extern int16_t xvid_FIR_7_20_20_6[256][4]; |
419 |
extern int16_t xvid_FIR_6_20_20_6[][]; |
extern int16_t xvid_FIR_6_20_20_6[256][4]; |
420 |
extern int16_t xvid_FIR_6_20_20_7[][]; |
extern int16_t xvid_FIR_6_20_20_7[256][4]; |
421 |
extern int16_t xvid_FIR_3_6_20_20[][]; |
extern int16_t xvid_FIR_3_6_20_20[256][4]; |
422 |
extern int16_t xvid_FIR_3_6_19_23[][]; |
extern int16_t xvid_FIR_3_6_19_23[256][4]; |
423 |
extern int16_t xvid_FIR_1_3_6_20[][]; |
extern int16_t xvid_FIR_1_3_6_20[256][4]; |
424 |
extern int16_t xvid_FIR_1_2_3_14[][]; |
extern int16_t xvid_FIR_1_2_3_14[256][4]; |
425 |
extern int16_t xvid_FIR_0_1_3_6[][]; |
extern int16_t xvid_FIR_0_1_3_6[256][4]; |
426 |
extern int16_t xvid_FIR_0_0_1_3[][]; |
extern int16_t xvid_FIR_0_0_1_3[256][4]; |
427 |
extern int16_t xvid_FIR_0_0_0_1[][]; |
extern int16_t xvid_FIR_0_0_0_1[256][4]; |
428 |
#else |
#else |
429 |
int16_t xvid_FIR_1_0_0_0[256][4]; |
int16_t xvid_FIR_1_0_0_0[256][4]; |
430 |
int16_t xvid_FIR_3_1_0_0[256][4]; |
int16_t xvid_FIR_3_1_0_0[256][4]; |