GstCaps * outcaps)
{
GstFFMpegScale *scale = GST_FFMPEGSCALE (trans);
+#ifdef HAVE_ORC
guint mmx_flags, altivec_flags;
+#endif
gint swsflags;
GstVideoFormat in_format, out_format;
gboolean ok;
| (mmx_flags & ORC_TARGET_MMX_3DNOW ? SWS_CPU_CAPS_3DNOW : 0)
| (altivec_flags & ORC_TARGET_ALTIVEC_ALTIVEC ? SWS_CPU_CAPS_ALTIVEC : 0);
#else
- mmx_flags = 0;
- altivec_flags = 0;
swsflags = 0;
#endif
-
scale->ctx = sws_getContext (scale->in_width, scale->in_height,
scale->in_pixfmt, scale->out_width, scale->out_height, scale->out_pixfmt,
swsflags | gst_ffmpegscale_method_flags[scale->method], NULL, NULL, NULL);
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"ffvideoscale",
- "videoscaling element (" FFMPEG_SOURCE ")",
- plugin_init,
- PACKAGE_VERSION,
+ "videoscaling element (" FFMPEG_SOURCE ")", plugin_init, PACKAGE_VERSION,
#ifdef GST_FFMPEG_ENABLE_LGPL
"LGPL",
#else