comparison i386/idct_mmx.c @ 436:35de17dd6ed8 libavcodec

* undefine local defines when they are no longer needed
author kabi
date Mon, 27 May 2002 08:37:13 +0000
parents 0b09bd08ef4b
children f65d87bfdd5a
comparison
equal deleted inserted replaced
435:9247ad420889 436:35de17dd6ed8
526 movq_r2m (mm7, *(col+offset+7*8)); // save y7 526 movq_r2m (mm7, *(col+offset+7*8)); // save y7
527 527
528 movq_r2m (mm3, *(col+offset+4*8)); // save y4 528 movq_r2m (mm3, *(col+offset+4*8)); // save y4
529 529
530 movq_r2m (mm4, *(col+offset+3*8)); // save y3 530 movq_r2m (mm4, *(col+offset+3*8)); // save y3
531 } 531
532 532 #undef T1
533 #undef T2
534 #undef T3
535 #undef C4
536 }
533 537
534 static int32_t rounder0[] ATTR_ALIGN(8) = 538 static int32_t rounder0[] ATTR_ALIGN(8) =
535 rounder ((1 << (COL_SHIFT - 1)) - 0.5); 539 rounder ((1 << (COL_SHIFT - 1)) - 0.5);
536 static int32_t rounder4[] ATTR_ALIGN(8) = rounder (0); 540 static int32_t rounder4[] ATTR_ALIGN(8) = rounder (0);
537 static int32_t rounder1[] ATTR_ALIGN(8) = 541 static int32_t rounder1[] ATTR_ALIGN(8) =
545 static int32_t rounder3[] ATTR_ALIGN(8) = 549 static int32_t rounder3[] ATTR_ALIGN(8) =
546 rounder (0.087788325588); /* C3*(-C3/C4+C3+C5)/2 */ 550 rounder (0.087788325588); /* C3*(-C3/C4+C3+C5)/2 */
547 static int32_t rounder5[] ATTR_ALIGN(8) = 551 static int32_t rounder5[] ATTR_ALIGN(8) =
548 rounder (-0.441341716183); /* C3*(-C5/C4+C5-C3)/2 */ 552 rounder (-0.441341716183); /* C3*(-C5/C4+C5-C3)/2 */
549 553
554 #undef COL_SHIFT
555 #undef ROW_SHIFT
550 556
551 #define declare_idct(idct,table,idct_row_head,idct_row,idct_row_tail,idct_row_mid) \ 557 #define declare_idct(idct,table,idct_row_head,idct_row,idct_row_tail,idct_row_mid) \
552 void idct (int16_t * block) \ 558 void idct (int16_t * block) \
553 { \ 559 { \
554 static int16_t table04[] ATTR_ALIGN(16) = \ 560 static int16_t table04[] ATTR_ALIGN(16) = \