On Tue, 23 Oct 2007 20:08:32 +0200 (CEST) Vincent Torri <[EMAIL PROTECTED]>
babbled:

finally got to play with it. quite interesting. i tried it on some images i
have (animated):

[  1:56PM ~/C/data/demo/e_anim_reflection ] du -sh .
1.9M    .
[  1:55PM ~/e_codec ] ./encode out.erv
'/home/raster/C/data/demo/e_anim_reflection_big/e_%04d.png' 120 0
 * file : /home/raster/C/data/demo/e_anim_reflection_big/e_0001.png
 * file : /home/raster/C/data/demo/e_anim_reflection_big/e_0002.png
...
[  1:56PM ~/e_codec ] ls out.erv 
4.4M out.erv

double the size :/ :(

we've talked on irc - we can continue there. i think this is great work btw.
one problem in this is you compress a whole plane at a time. it woudl be easier
to compress 1 tile at a time (eg a 16x16 tile of the image - split into 4
planes of 16x16) then you will tend to keep pixles of similar vlaue together
allowing for the compressor to create better dictionaries. i would compress 1
tile at a time, not a who,e series of them - as this will allow for "random
access" later more easily on decode.

> Hey,
> 
> you can find some work about the lossless codec i've written here:
> 
> http://www.maths.univ-evry.fr/pages_perso/vtorri/files/e_codec.tar.bz2
> 
> It will maybe be used in edje to play videos, instead of a bunch of png.
> 
> just run make
> 
> to test it :
> 
> encode some png. for example :
> 
> ./encode
> video.erv /home/torri/tmp/cvsroot/e17/apps/e/data/init/images/sm_start_eintro_
> %03d.png 50 1
> 
> then decode thevideo in an ecore_evas:
> 
> ./decode video.erv
> 
> 
> It currently transform the interleaved argb data to a planar argb. Then 
> just compress with zlib for the spatial compression. It uses I-frames and 
> P-frames for the temporal compression.I usually gives good results (~20% 
> of gain compared to the png). I have other ideas to improve it (lossless 
> and lossy ones).
> 
> I'll add the ability to seek later.
> 
> comments, remarks, ideas are welcome
> 
> regards
> 
> Vincent
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> 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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to