[E-devel] [PATCH] evas: compile out unused dither tables

2010-02-17 Thread Marc Andre Tanner
Don't include the rather large dither tables if small dithering code
is enabled during ./configure stage.

function old new   delta
_evas_dither_12812816384   -  -16384
--
(add/remove: 0/1 grow/shrink: 0/0 up/down: 0/-16384)   Total: -16384 bytes

Signed-off-by: Marc Andre Tanner m...@brain-dump.org
---
 src/lib/engines/common/evas_convert_main.c |8 
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/lib/engines/common/evas_convert_main.c 
b/src/lib/engines/common/evas_convert_main.c
index 73790fd..b364651 100644
--- a/src/lib/engines/common/evas_convert_main.c
+++ b/src/lib/engines/common/evas_convert_main.c
@@ -11,6 +11,8 @@
 #include evas_convert_gry_8.h
 #include evas_convert_yuv.h
 
+#ifdef USE_DITHER_44
+
 const DATA8 _evas_dither_44[4][4] =
 {
  { 0,  8,  2, 10},
@@ -19,6 +21,10 @@ const DATA8 _evas_dither_44[4][4] =
  {15,  7, 13,  5}
 };
 
+#endif
+
+#ifdef USE_DITHER_128128
+
 const DATA8 _evas_dither_128128[128][128] =
 {
  { 0, 41, 23, 5, 17, 39, 7, 15, 62, 23, 40, 51, 31, 47, 9, 32, 52, 27, 57, 
25, 6, 61, 27, 52, 37, 7, 40, 63, 18, 36, 10, 42, 25, 62, 45, 34, 20, 42, 37, 
14, 35, 29, 50, 10, 61, 2, 40, 8, 37, 12, 58, 22, 5, 41, 10, 39, 0, 60, 11, 46, 
2, 55, 38, 17, 36, 59, 13, 54, 37, 56, 8, 29, 16, 13, 63, 22, 41, 55, 7, 20, 
49, 14, 23, 55, 37, 23, 19, 36, 15, 49, 23, 63, 30, 14, 38, 27, 53, 13, 22, 41, 
19, 31, 7, 19, 50, 30, 49, 16, 3, 32, 56, 40, 29, 34, 8, 48, 19, 45, 4, 51, 12, 
46, 35, 49, 16, 42, 12, 62 },
@@ -151,6 +157,8 @@ const DATA8 _evas_dither_128128[128][128] =
  { 51, 14, 61, 29, 59, 20, 55, 31, 0, 49, 11, 60, 3, 26, 22, 56, 0, 40, 
12, 43, 41, 8, 36, 0, 17, 57, 24, 2, 46, 26, 61, 18, 0, 38, 12, 59, 6, 49, 3, 
57, 19, 63, 5, 33, 18, 54, 28, 56, 0, 43, 26, 46, 63, 27, 56, 22, 27, 54, 38, 
28, 63, 24, 10, 45, 0, 31, 42, 21, 12, 25, 44, 49, 59, 6, 26, 50, 3, 34, 27, 
59, 0, 35, 62, 16, 4, 58, 47, 0, 43, 24, 37, 2, 54, 20, 46, 31, 0, 56, 34, 5, 
55, 45, 60, 37, 0, 40, 10, 38, 63, 46, 15, 20, 0, 53, 21, 62, 30, 11, 24, 27, 
40, 0, 57, 26, 3, 45, 27, 35 }
 };
 
+#endif /* USE_DITHER_128128 */
+
 EAPI void
 evas_common_convert_init(void)
 {
-- 
1.6.5


--
Download Intelreg; Parallel Studio Eval
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: dieb IN trunk/PROTO/eupnp: . m4 src/lib src/lib/eupnp_av src/tests

2010-02-17 Thread André Dieb
This first demo (attached screenshots) browses media servers but doesn't
play files yet. This may be easy as eupnp_av already parses the URI of the
media items, so it will be just calling play_uri(URI) on some renderer
(emotion, elm_slideshow).

Tips on improving the app layout are very welcome!

On Mon, Feb 15, 2010 at 8:43 AM, Gustavo Sverzut Barbieri 
barbi...@profusion.mobi wrote:

 On Mon, Feb 15, 2010 at 4:36 AM, Enlightenment SVN
 no-re...@enlightenment.org wrote:
  Log:
   eupnp: introduce libeupnp-av, library for easily browsing UPnP AV
 devices.
 
   * initial version of libeupnp-av
   * removed old broken test

 bit late, since this was supposed to be in last GSoC... but better
 than never! :-)

 How about a nice elm demo app that let people browse their
 music/videos/pictures over upnp, then maybe play using elm_slideshow
 and emotion?

 BR,

 --
 Gustavo Sverzut Barbieri
 http://profusion.mobi embedded systems
 --
 MSN: barbi...@gmail.com
 Skype: gsbarbieri
 Mobile: +55 (19) 9225-2202


 --
 SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
 Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
 http://p.sf.net/sfu/solaris-dev2dev
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Download Intelreg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: dieb IN trunk/PROTO/eupnp: . m4 src/lib src/lib/eupnp_av src/tests

2010-02-17 Thread Christopher Michael
Nothing attached :(

dh

On 02/17/2010 06:27 PM, André Dieb wrote:
 This first demo (attached screenshots) browses media servers but doesn't
 play files yet. This may be easy as eupnp_av already parses the URI of the
 media items, so it will be just calling play_uri(URI) on some renderer
 (emotion, elm_slideshow).

 Tips on improving the app layout are very welcome!

 On Mon, Feb 15, 2010 at 8:43 AM, Gustavo Sverzut Barbieri
 barbi...@profusion.mobi  wrote:

 On Mon, Feb 15, 2010 at 4:36 AM, Enlightenment SVN
 no-re...@enlightenment.org  wrote:
 Log:
   eupnp: introduce libeupnp-av, library for easily browsing UPnP AV
 devices.

   * initial version of libeupnp-av
   * removed old broken test

 bit late, since this was supposed to be in last GSoC... but better
 than never! :-)

 How about a nice elm demo app that let people browse their
 music/videos/pictures over upnp, then maybe play using elm_slideshow
 and emotion?

 BR,

 --
 Gustavo Sverzut Barbieri
 http://profusion.mobi embedded systems
 --
 MSN: barbi...@gmail.com
 Skype: gsbarbieri
 Mobile: +55 (19) 9225-2202




--
Download Intelreg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: dieb IN trunk/PROTO/eupnp: . m4 src/lib src/lib/eupnp_av src/tests

2010-02-17 Thread Gustavo Sverzut Barbieri
On Wed, Feb 17, 2010 at 9:27 PM, André Dieb andre.d...@gmail.com wrote:
 This first demo (attached screenshots) browses media servers but doesn't
 play files yet. This may be easy as eupnp_av already parses the URI of the
 media items, so it will be just calling play_uri(URI) on some renderer
 (emotion, elm_slideshow).
 Tips on improving the app layout are very welcome!

Excellent screenshots! Worth a blog post to showcase it.

As for UI, as I said at IRC, I'd replace genlist with nested levels
with a paged (elm_pager) interface much like apple's finder (file
manager). When you click one folder, you change to next page and show
the internal list. Of couse at the top you keep the current folder
(maybe server name?) as title, with a Back button.

Even before these changes, this is excellent. Thanks!

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

--
Download Intelreg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel