From 3ba410eb4b67310c0cbe347382eb1279cf66083a Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 29 Nov 2005 01:06:51 +0000 Subject: [PATCH] remove unimplemented scaling methods Original commit message from CVS: remove unimplemented scaling methods --- gst/videoscale/gstvideoscale.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gst/videoscale/gstvideoscale.c b/gst/videoscale/gstvideoscale.c index bb0ba48e20..15ac10e706 100644 --- a/gst/videoscale/gstvideoscale.c +++ b/gst/videoscale/gstvideoscale.c @@ -91,11 +91,8 @@ gst_videoscale_method_get_type (void) { static GType videoscale_method_type = 0; static GEnumValue videoscale_methods[] = { - {GST_VIDEOSCALE_POINT_SAMPLE, "Point Sample (not implemented)", - "point-sample"}, {GST_VIDEOSCALE_NEAREST, "Nearest Neighbour", "nearest-neighbour"}, {GST_VIDEOSCALE_BILINEAR, "Bilinear", "bilinear"}, - {GST_VIDEOSCALE_BICUBIC, "Bicubic (not implemented)", "bicubic"}, {0, NULL, NULL}, }; @@ -241,7 +238,6 @@ gst_videoscale_init (GstVideoscale * videoscale) videoscale->tmp_buf = NULL; videoscale->method = GST_VIDEOSCALE_NEAREST; /*videoscale->method = GST_VIDEOSCALE_BILINEAR; */ - /*videoscale->method = GST_VIDEOSCALE_POINT_SAMPLE; */ } @@ -646,7 +642,6 @@ gst_videoscale_transform (GstBaseTransform * trans, GstBuffer * in, } break; case GST_VIDEOSCALE_BILINEAR: - case GST_VIDEOSCALE_BICUBIC: switch (videoscale->format) { case GST_VIDEOSCALE_RGBx: case GST_VIDEOSCALE_xRGB: