Here is another version of the codec. I've just added a test program that gives some numbers, according to the type of encoding that is done. Run:
./test_encode filename Example of output: ./test_encode ../sm_start_eintro_001.png * ../sm_start_eintro_001.png : - size (byte).....: 39749 - wxh.............: 213x206 (175512) - basic...........: 43227 (108.749906 %) - planar..........: 37575 (94.530680 %) - tiled (4x4).....: 44679 (112.402828 %) - tiled (8x8).....: 44106 (110.961282 %) - tiled (16x16)...: 43511 (109.464389 %) - tiled (32x32)...: 43077 (108.372538 %) - tiled (64x64)...: 43156 (108.571285 %)the % is the one obtained from the compressed data size compared to the png file size.
It seems that encoding in planar gives the best resultI'll try to add a compression that transform to planar first, then use tile encoding on each planes.
Vincent
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel