#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_filter.h>
-#include <vlc_cpu.h>
#if defined (MODULE_NAME_IS_i420_yuy2_altivec) && defined(HAVE_ALTIVEC_H)
# include <altivec.h>
set_description(
_("AltiVec conversions from " SRC_FOURCC " to " DEST_FOURCC) );
set_capability( "video filter2", 250 )
- add_requirement( ALTIVEC )
#endif
set_callbacks( Activate, NULL )
vlc_module_end ()
}
}
}
+#warning FIXME: converting widths % 16 but !widths % 32 is broken on altivec
+#if 0
else if( !( ( p_filter->fmt_in.video.i_width % 16 ) |
( p_filter->fmt_in.video.i_height % 4 ) ) )
{
}
}
}
+#endif
else
{
/* Crap, use the C version */