Evas filters: Remove (never implemented) motion blur
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 8 Jan 2014 02:12:03 +0000 (11:12 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 7 Feb 2014 08:33:17 +0000 (17:33 +0900)
src/lib/evas/filters/evas_filter.c
src/lib/evas/filters/evas_filter_parser.c
src/lib/evas/include/evas_filter.h

index 0f86852a5d6232d39b90d3ca77073a77b5c17c76..8b2481c8829b71c36204cec8207924ee0a6286e8 100644 (file)
@@ -608,7 +608,6 @@ evas_filter_command_blur_add(Evas_Filter_Context *ctx, void *drawctx,
         if (dy < 0) dy = 0;
         if (!dx && !dy) goto fail;
         break;
-      case EVAS_FILTER_BLUR_MOTION:
       default:
         CRI("Not implemented yet!");
         goto fail;
index d936abef776c710f6d2242c398be11177bb0eaad..cdec16e3a0e8330c6bd9d29f5cd5ee7e53359ac2 100644 (file)
@@ -1490,8 +1490,6 @@ _instr2cmd_blur(Evas_Filter_Context *ctx, Evas_Filter_Program *pgm,
           type = EVAS_FILTER_BLUR_GAUSSIAN;
         else if (!strcasecmp(typestr, "box"))
           type = EVAS_FILTER_BLUR_BOX;
-        else if (!strcasecmp(typestr, "motion"))
-          type = EVAS_FILTER_BLUR_MOTION;
         else if (!strcasecmp(typestr, "default"))
           type = EVAS_FILTER_BLUR_DEFAULT;
         else
index 28623ee8d84fb1af13e5cc25576b5d4721cac5bf..6c39e0e72d798a1b23eac16fef5ea0cd6aae4945 100644 (file)
@@ -38,8 +38,7 @@ enum _Evas_Filter_Mode
 enum _Evas_Filter_Blur_Type
 {
    EVAS_FILTER_BLUR_GAUSSIAN = 0x0, // Gaussian or sine curve. O(nm)
-   EVAS_FILTER_BLUR_BOX      = 0x1, // Optimizable. But, UGLY. O(n)
-   EVAS_FILTER_BLUR_MOTION   = 0x2, // Not implemented
+   EVAS_FILTER_BLUR_BOX      = 0x1, // Optimizable on CPU. But, UGLY. O(n)
    EVAS_FILTER_BLUR_LAST,
    EVAS_FILTER_BLUR_DEFAULT  = EVAS_FILTER_BLUR_GAUSSIAN
 };