Revision 84dc2d8a libavcodec/dsputil.h

View differences:

libavcodec/dsputil.h
709 709
    t (*v) __VA_ARGS__ = (void *)FFALIGN((uintptr_t)la_##v, a)
710 710

  
711 711
#if HAVE_LOCAL_ALIGNED_8
712
#   define LOCAL_ALIGNED_8(t, v, s, ...) DECLARE_ALIGNED_8(t, v) s __VA_ARGS__
712
#   define LOCAL_ALIGNED_8(t, v, s, ...) DECLARE_ALIGNED(8, t, v) s __VA_ARGS__
713 713
#else
714 714
#   define LOCAL_ALIGNED_8(t, v, s, ...) LOCAL_ALIGNED(8, t, v, s, __VA_ARGS__)
715 715
#endif
716 716

  
717 717
#if HAVE_LOCAL_ALIGNED_16
718
#   define LOCAL_ALIGNED_16(t, v, s, ...) DECLARE_ALIGNED_16(t, v) s __VA_ARGS__
718
#   define LOCAL_ALIGNED_16(t, v, s, ...) DECLARE_ALIGNED(16, t, v) s __VA_ARGS__
719 719
#else
720 720
#   define LOCAL_ALIGNED_16(t, v, s, ...) LOCAL_ALIGNED(16, t, v, s, __VA_ARGS__)
721 721
#endif
......
769 769
#endif
770 770

  
771 771
#define COSTABLE(size) \
772
    COSTABLE_CONST DECLARE_ALIGNED_16(FFTSample, ff_cos_##size)[size/2]
772
    COSTABLE_CONST DECLARE_ALIGNED(16, FFTSample, ff_cos_##size)[size/2]
773 773
#define SINTABLE(size) \
774
    SINTABLE_CONST DECLARE_ALIGNED_16(FFTSample, ff_sin_##size)[size/2]
774
    SINTABLE_CONST DECLARE_ALIGNED(16, FFTSample, ff_sin_##size)[size/2]
775 775
#define SINETABLE(size) \
776
    SINETABLE_CONST DECLARE_ALIGNED_16(float, ff_sine_##size)[size]
776
    SINETABLE_CONST DECLARE_ALIGNED(16, float, ff_sine_##size)[size]
777 777
extern COSTABLE(16);
778 778
extern COSTABLE(32);
779 779
extern COSTABLE(64);

Also available in: Unified diff