On Fri, 12 Sep 2008 15:48:58 +0200 "Hendrik Siedelmann" <[EMAIL PROTECTED]> babbled:
ok basically scrolling. not likely to happen. the problem with the test code is - it may have the ability to detect "motion vectors" but it also adds constant overhead. in the end i am doubtful if it would be that useful in the long-run. right now as we are basically awaiting a lot of re-do in the engine-space i dont think i'll be touching this as it would directly fiddle with the engines and their api. really you suffer from the hardware platform being 1. very slow with the cpu and 2. with a really slow video bus. gtk apps only are smooth as scrolling is one of the few things accelerated and thus they use it. the problem is scrolling in a more general setup with alpha blending etc. ends up being a redraw - and evas just always does it this way. as for epsilon, it does the "fdo standard", and this requires thumbnails to be png. yes - writing jpeg thumbnasils is faster, uses less space etc. - it'd be possible to extend espilon to write .eet thumbs using jpeg lossy encoding (and thus also have an alpha channel available), but then you'd have thumbnails "not according to the spec". so it'd be possible to do this, just the png writing code in epsilon needs a little abstraction - patches accepted! (sorry - this isn't on my focus right now so will have to just wait for patches):) as for evas loaders, documentation - no, except samples - many of them. they are very simple though. look at the ppm ones (pmaps). they are simple file formats. doesnt include a saver there. but.. for the jpeg loader using embedded thumbnails - no support (would need to know about all the exif tags and extension data), BUT you can use the more generic load options which can play a trick of pre-scaling on load ANY jpeg image (embedded thumbnail or not) and it basically just loads and decodes only part of the jpeg data. you can get up to a 1/8th scale "for free" (in fact it loads much faster than a full load). e17's e_thumb uses this (evas_object_image_load_size_set for example). it requests the image to be loaded at that size (scaling done on load). :) > Hi, > > I'm writing an image viewer for the freerunner > (http://projects.openmoko.org/projects/omview/) and I'm using evas, > ewl and epsilon to do this work. And I have to say that it is easy to > work with them and the result is pretty fast. But... > > Accelerated scrolling in Evas: I know this was dicussed before, so how > is the state of this? I think raster mentioned some time that he had > some code doing that, is there any way I can use some acceleration? > (code?) I tried to do something with evore_x, but with no result. Its > really sad to see the slow and unresponsive gtk apps have smooth > scrolling, but with evas I get around 3 fps. > > epsilon thumbnails: epsilon works great, but Is there a possibility to > create jpg thumbnails? Or is there more interest in having this, then > I might start adding it to epsilon (seems to be doable). Large png > thumbnails are ~100KB, this is too much on an embedded device, and > writing them is very slow. It would be very nice If I could create > 640x640 thumbnails in jpg (~50KB). Not to mentions png writing is 3 > times slower than jpg. > > is there any documentation on the evas loaders? I'd love to do a raw > image loader, to add the possiblity to the jpg loader to use embedded > thumbnail/preview images. > > > Ok enough questions for now > > hendrik > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel