From: Enlightenment S. <no-...@en...> - 2011-04-28 10:07:33
|
Log: more tests - use text as mask.. no go. Author: raster Date: 2011-04-28 03:07:25 -0700 (Thu, 28 Apr 2011) New Revision: 58997 Trac: http://trac.enlightenment.org/e/changeset/58997 Added: trunk/expedite/src/bin/image_mask_12.c trunk/expedite/src/bin/image_mask_13.c Modified: trunk/expedite/src/bin/Makefile.am trunk/expedite/src/bin/tests.h trunk/expedite/src/bin/ui.c Modified: trunk/expedite/src/bin/Makefile.am =================================================================== --- trunk/expedite/src/bin/Makefile.am 2011-04-28 10:03:43 UTC (rev 58996) +++ trunk/expedite/src/bin/Makefile.am 2011-04-28 10:07:25 UTC (rev 58997) @@ -124,6 +124,8 @@ image_mask_9.c \ image_mask_10.c \ image_mask_11.c \ +image_mask_12.c \ +image_mask_13.c \ filter_object_colors.c \ filter_object_colors_solid.c \ filter_object_sepia.c \ Modified: trunk/expedite/src/bin/tests.h =================================================================== --- trunk/expedite/src/bin/tests.h 2011-04-28 10:03:43 UTC (rev 58996) +++ trunk/expedite/src/bin/tests.h 2011-04-28 10:07:25 UTC (rev 58997) @@ -100,6 +100,8 @@ #include "image_mask_9.c" #include "image_mask_10.c" #include "image_mask_11.c" +#include "image_mask_12.c" +#include "image_mask_13.c" #include "filter_object_colors.c" #include "filter_object_colors_solid.c" #include "filter_object_invert.c" Modified: trunk/expedite/src/bin/ui.c =================================================================== --- trunk/expedite/src/bin/ui.c 2011-04-28 10:03:43 UTC (rev 58996) +++ trunk/expedite/src/bin/ui.c 2011-04-28 10:07:25 UTC (rev 58997) @@ -174,17 +174,19 @@ 20.000, // test 101 MASK 10 20.000, // MASK 11 + 20.000, // MASK 12 + 20.000, // MASK 13 1.000, - 2.000, - 1.000, 2.000, // test 106 1.000, - 2.000, + 2.000, 1.000, 2.000, - 10.000, // test 111 + 1.000, // test 111 + 2.000, + 10.000, 10.000, 0.0, // Exit |
From: Enlightenment S. <no-...@en...> - 2011-04-28 10:46:51
|
Log: more tests that fail. woot. Author: raster Date: 2011-04-28 03:46:41 -0700 (Thu, 28 Apr 2011) New Revision: 58999 Trac: http://trac.enlightenment.org/e/changeset/58999 Added: trunk/expedite/src/bin/image_mask_14.c trunk/expedite/src/bin/image_mask_15.c Modified: trunk/expedite/src/bin/Makefile.am trunk/expedite/src/bin/tests.h trunk/expedite/src/bin/ui.c Modified: trunk/expedite/src/bin/Makefile.am =================================================================== --- trunk/expedite/src/bin/Makefile.am 2011-04-28 10:10:17 UTC (rev 58998) +++ trunk/expedite/src/bin/Makefile.am 2011-04-28 10:46:41 UTC (rev 58999) @@ -126,6 +126,8 @@ image_mask_11.c \ image_mask_12.c \ image_mask_13.c \ +image_mask_14.c \ +image_mask_15.c \ filter_object_colors.c \ filter_object_colors_solid.c \ filter_object_sepia.c \ Modified: trunk/expedite/src/bin/tests.h =================================================================== --- trunk/expedite/src/bin/tests.h 2011-04-28 10:10:17 UTC (rev 58998) +++ trunk/expedite/src/bin/tests.h 2011-04-28 10:46:41 UTC (rev 58999) @@ -102,6 +102,8 @@ #include "image_mask_11.c" #include "image_mask_12.c" #include "image_mask_13.c" +#include "image_mask_14.c" +#include "image_mask_15.c" #include "filter_object_colors.c" #include "filter_object_colors_solid.c" #include "filter_object_invert.c" Modified: trunk/expedite/src/bin/ui.c =================================================================== --- trunk/expedite/src/bin/ui.c 2011-04-28 10:10:17 UTC (rev 58998) +++ trunk/expedite/src/bin/ui.c 2011-04-28 10:46:41 UTC (rev 58999) @@ -172,23 +172,26 @@ 20.000, // MASK 8 20.000, // MASK 9 - 20.000, // test 101 MASK 10 + 20.000, // test 101 20.000, // MASK 11 20.000, // MASK 12 20.000, // MASK 13 - 1.000, + 20.000, // MASK 14 - 2.000, // test 106 + 20.000, // test 106 MASK 15 1.000, + 2.000, + 1.000, 2.000, - 1.000, - 2.000, 1.000, // test 111 2.000, + 1.000, + 2.000, 10.000, - 10.000, + 10.000, // test 116 + 0.0, // Exit 0.0, // no final test - add a 0 at the end anyway to pad |
From: Enlightenment S. <no-...@en...> - 2011-06-02 10:40:06
|
Log: disable filter tests. Author: raster Date: 2011-06-02 03:39:56 -0700 (Thu, 02 Jun 2011) New Revision: 59897 Trac: http://trac.enlightenment.org/e/changeset/59897 Modified: trunk/expedite/src/bin/Makefile.am trunk/expedite/src/bin/tests.h Modified: trunk/expedite/src/bin/Makefile.am =================================================================== --- trunk/expedite/src/bin/Makefile.am 2011-06-02 10:00:05 UTC (rev 59896) +++ trunk/expedite/src/bin/Makefile.am 2011-06-02 10:39:56 UTC (rev 59897) @@ -112,35 +112,36 @@ poly_blend.c \ proxy_image.c \ proxy_text_fixed.c \ -proxy_text_random.c \ -image_mask.c \ -image_mask_2.c \ -image_mask_3.c \ -image_mask_4.c \ -image_mask_5.c \ -image_mask_6.c \ -image_mask_7.c \ -image_mask_8.c \ -image_mask_9.c \ -image_mask_10.c \ -image_mask_11.c \ -image_mask_12.c \ -image_mask_13.c \ -image_mask_14.c \ -image_mask_15.c \ -filter_object_colors.c \ -filter_object_colors_solid.c \ -filter_object_sepia.c \ -filter_object_sepia_solid.c \ -filter_object_greyscale.c \ -filter_object_greyscale_solid.c \ -filter_object_invert.c \ -filter_object_invert_solid.c \ -filter_object_brightness.c \ -filter_object_brightness_solid.c \ -filter_object_blur.c \ -filter_object_blur_solid.c +proxy_text_random.c +#image_mask.c \ +#image_mask_2.c \ +#image_mask_3.c \ +#image_mask_4.c \ +#image_mask_5.c \ +#image_mask_6.c \ +#image_mask_7.c \ +#image_mask_8.c \ +#image_mask_9.c \ +#image_mask_10.c \ +#image_mask_11.c \ +#image_mask_12.c \ +#image_mask_13.c \ +#image_mask_14.c \ +#image_mask_15.c \ +#filter_object_colors.c \ +#filter_object_colors_solid.c \ +#filter_object_sepia.c \ +#filter_object_sepia_solid.c \ +#filter_object_greyscale.c \ +#filter_object_greyscale_solid.c \ +#filter_object_invert.c \ +#filter_object_invert_solid.c \ +#filter_object_brightness.c \ +#filter_object_brightness_solid.c \ +#filter_object_blur.c \ +#filter_object_blur_solid.c + expedite_CFLAGS = @WIN32_CFLAGS@ expedite_CXXFLAGS = @EXPEDITE_CXXFLAGS@ expedite_LDADD = @SDL_LIBS@ @x_libs@ @gdi_libs@ @ddraw_libs@ @ddraw_16_libs@ @d3d_libs@ @wince_16_libs@ @DIRECTFB_LIBS@ @XCB_LIBS@ @EVAS_LIBS@ @EINA_LIBS@ @EVIL_LIBS@ -lm Modified: trunk/expedite/src/bin/tests.h =================================================================== --- trunk/expedite/src/bin/tests.h 2011-06-02 10:00:05 UTC (rev 59896) +++ trunk/expedite/src/bin/tests.h 2011-06-02 10:39:56 UTC (rev 59897) @@ -89,6 +89,7 @@ #include "proxy_image.c" #include "proxy_text_fixed.c" #include "proxy_text_random.c" +#if 0 // test disabled - evas having code disabled #include "image_mask.c" #include "image_mask_2.c" #include "image_mask_3.c" @@ -116,3 +117,4 @@ #include "filter_object_sepia_solid.c" #include "filter_object_blur.c" #include "filter_object_blur_solid.c" +#endif |
From: Enlightenment S. <no-...@en...> - 2011-09-01 12:36:29
|
Log: fix weighting calc for expedite Author: raster Date: 2011-09-01 05:36:19 -0700 (Thu, 01 Sep 2011) New Revision: 63055 Trac: http://trac.enlightenment.org/e/changeset/63055 Modified: trunk/expedite/src/bin/ui.c Modified: trunk/expedite/src/bin/ui.c =================================================================== --- trunk/expedite/src/bin/ui.c 2011-09-01 12:11:24 UTC (rev 63054) +++ trunk/expedite/src/bin/ui.c 2011-09-01 12:36:19 UTC (rev 63055) @@ -269,7 +269,7 @@ key_func("Escape"); } for (i = 1; - (i < ((sizeof(weights) / sizeof(double)) - 1)) && + (i < (1 + t_count)) && (weights[i] > 0.0); i++) avgw += weights[i]; |
From: Enlightenment S. <no-...@en...> - 2013-02-26 09:54:29
|
Log: add new test to expedite. Author: raster Date: 2013-02-26 01:53:51 -0800 (Tue, 26 Feb 2013) New Revision: 84374 Trac: http://trac.enlightenment.org/e/changeset/84374 Added: trunk/expedite/src/bin/image_blend_many_smooth_same_scaled.c Modified: trunk/expedite/src/bin/Makefile.am trunk/expedite/src/bin/tests.h trunk/expedite/src/bin/ui.c Modified: trunk/expedite/src/bin/Makefile.am =================================================================== --- trunk/expedite/src/bin/Makefile.am 2013-02-26 06:29:30 UTC (rev 84373) +++ trunk/expedite/src/bin/Makefile.am 2013-02-26 09:53:51 UTC (rev 84374) @@ -113,7 +113,8 @@ proxy_image.c \ proxy_text_fixed.c \ proxy_text_random.c \ -line_blend.c +line_blend.c \ +image_blend_many_smooth_same_scaled.c # \ # image_mask.c \ # image_mask_2.c \ Added: trunk/expedite/src/bin/image_blend_many_smooth_same_scaled.c =================================================================== --- trunk/expedite/src/bin/image_blend_many_smooth_same_scaled.c (rev 0) +++ trunk/expedite/src/bin/image_blend_many_smooth_same_scaled.c 2013-02-26 09:53:51 UTC (rev 84374) @@ -0,0 +1,109 @@ +#undef FNAME +#undef NAME +#undef ICON + +/* metadata */ +#define FNAME image_blend_many_smooth_down_scaled_start +#define NAME "Image Blend Many Smooth Down Scaled" +#define ICON "blend.png" + +#ifndef PROTO +# ifndef UI +# include "main.h" + +#define MANYNUM 8192 + +/* standard var */ +static int done = 0; +/* private data */ +static Evas_Object *o_images[MANYNUM]; + +/* setup */ +static void _setup(void) +{ + int i, w, h, n; + Evas_Object *o; + for (i = 0; i < MANYNUM; i++) + { + o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas); + o_images[i] = o; + n = rnd() % 100; + w = 3 + ((n * (60 - 3)) / 100); + h = 4 + ((n * (80 - 4)) / 100); + if (o) + eo_do(o, + evas_obj_image_file_set(build_path("logo.png"), NULL), + evas_obj_image_smooth_scale_set(1), + evas_obj_size_set(w, h), + evas_obj_image_fill_set(0, 0, w, h), + evas_obj_visibility_set(EINA_TRUE)); + } + done = 0; +} + +/* cleanup */ +static void _cleanup(void) +{ + int i; + for (i = 0; i < MANYNUM; i++) eo_del(o_images[i]); +} + +/* loop - do things */ +static void _loop(double t, int f) +{ + int i; + Evas_Coord x, y, w, h; + for (i = 0; i < MANYNUM; i++) + { + eo_do(o_images[i], evas_obj_size_get(&w, &h)); + x = (win_w / 2) - (w / 2); + x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (win_w / 2); + y = (win_h / 2) - (h / 2); + y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (win_h / 2); + if (o_images[i]) + eo_do(o_images[i], evas_obj_position_set(x, y)); + } + FPS_STD(NAME); +} + +/* prepend special key handlers if interactive (before STD) */ +static void _key(char *key) +{ + KEY_STD; +} + + + + + + + + + + + + +/* template stuff - ignore */ +# endif +#endif + +#ifdef UI +_ui_menu_item_add(ICON, NAME, FNAME); +#endif + +#ifdef PROTO +void FNAME(void); +#endif + +#ifndef PROTO +# ifndef UI +void FNAME(void) +{ + ui_func_set(_key, _loop); + _setup(); +} +# endif +#endif +#undef FNAME +#undef NAME +#undef ICON Modified: trunk/expedite/src/bin/tests.h =================================================================== --- trunk/expedite/src/bin/tests.h 2013-02-26 06:29:30 UTC (rev 84373) +++ trunk/expedite/src/bin/tests.h 2013-02-26 09:53:51 UTC (rev 84374) @@ -90,6 +90,7 @@ #include "proxy_text_fixed.c" #include "proxy_text_random.c" #include "line_blend.c" +#include "image_blend_many_smooth_same_scaled.c" #if 0 // test disabled - evas having code disabled #include "image_mask.c" #include "image_mask_2.c" Modified: trunk/expedite/src/bin/ui.c =================================================================== --- trunk/expedite/src/bin/ui.c 2013-02-26 06:29:30 UTC (rev 84373) +++ trunk/expedite/src/bin/ui.c 2013-02-26 09:53:51 UTC (rev 84374) @@ -163,6 +163,9 @@ 10.000, 5.000, // test 91 + 1.000, // test 92 (line) + 10.000, // test 93 Image Blend Many Smooth Down Scaled + 20.000, // MASK 20.000, // MASK 2 20.000, // MASK 3 |