Revision 5c319d33

View differences:

libavcodec/dsputil.h
527 527
        emms();\
528 528
}
529 529

  
530
#define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(8, t, v)
531

  
532
#define STRIDE_ALIGN 8
533

  
534 530
void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx);
535 531

  
536 532
#elif defined(ARCH_ARMV4L)
537 533

  
538
/* This is to use 4 bytes read to the IDCT pointers for some 'zero'
539
   line optimizations */
540
#define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(4, t, v)
541
#define STRIDE_ALIGN 4
542

  
543 534
#define MM_IWMMXT    0x0100 /* XScale IWMMXT */
544 535

  
545 536
extern int mm_flags;
546 537

  
547
#elif defined(HAVE_MLIB)
548

  
549
/* SPARC/VIS IDCT needs 8-byte aligned DCT blocks */
550
#define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(8, t, v)
551
#define STRIDE_ALIGN 8
552

  
553
#elif defined(HAVE_VIS)
554

  
555
/* SPARC/VIS IDCT needs 8-byte aligned DCT blocks */
556
#define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(8, t, v)
557
#define STRIDE_ALIGN 8
558

  
559
#elif defined(ARCH_ALPHA)
560

  
561
#define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(8, t, v)
562
#define STRIDE_ALIGN 8
563

  
564 538
#elif defined(ARCH_POWERPC)
565 539

  
566 540
#define MM_ALTIVEC    0x0001 /* standard AltiVec */
......
575 549
#define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(16, t, v)
576 550
#define STRIDE_ALIGN 16
577 551

  
578
#elif defined(ARCH_SH4)
579

  
580
#define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(8, t, v)
581
#define STRIDE_ALIGN 8
582

  
583
#elif defined(ARCH_BFIN)
584

  
585
#define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(8, t, v)
586
#define STRIDE_ALIGN 8
587

  
588
#else
552
#endif
589 553

  
590
#define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(8, t, v)
591
#define STRIDE_ALIGN 8
554
#ifndef DECLARE_ALIGNED_8
555
#   define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(8, t, v)
556
#endif
592 557

  
558
#ifndef STRIDE_ALIGN
559
#   define STRIDE_ALIGN 8
593 560
#endif
594 561

  
595 562
/* PSNR */

Also available in: Unified diff