Example compression result (only showing alpha channel):
16K x 16K image benchmark:
ETC1: 113 ms (only RGB part)
ETC2 RGB: 213 ms (only RGB part)
ETC2 RGBA: 404 ms
![]() |
| Left: PVRTexTool, Right: etcpak |
![]() |
| Left: no dithering, Right: dithering enabled |
$ x64/Release/etcpak.exe 8192.png -bAnd this is the run with dithering enabled:
Image load time: 1352.646 ms
Mean compression time for 50 runs: 630.855 ms
$ x64/Release/etcpak.exe 8192.png -b -dDownload: https://bitbucket.org/wolfpld/etcpak/downloads
Image load time: 1312.084 ms
Mean compression time for 50 runs: 744.394 ms
$ time etcpak.exe 8192.pngAnd here's the new benchmark mode:
real 0m1.471s
user 0m0.000s
sys 0m0.030s
$ etcpak.exe 8192.png -b
Image load time: 1330.949 ms
Mean compression time for 50 runs: 631.308 ms
| Test | Time (full) | Time (minus PNG load) |
|---|---|---|
| etcpak 0.1 RGB | 1.12 s | 0.45 s |
| etcpak 0.1 RGB + alpha | 1.36 s | 0.69 s |
| etcpak 0.2 RGB | 0.83 s | 0.16 s |
| etcpak 0.2 RGB + alpha | 1.00 s | 0.33 s |
| Tool | Command line | Time |
|---|---|---|
| PVRTexToolCL 3.40 | PVRTexTool.exe -i atlas-base1.png -o pvr.pvr -f ETC1 -q etcfast | 24.71 s |
| ericsson ETCPACK 1.06 | etcpack.exe -s fast -e nonperceptual atlas-base1.ppm etc.ktx | 23.86 s |
| mali etcpack 4.0.1 | etcpack.exe atlas-base1.ppm . -s fast -e nonperceptual -c etc1 | 19.20 s |
| crunch (rg-etc1) 1.04 | crunch_x64 -ETC1 -fileformat KTX -mipMode none -uniformMetrics -dxtQuality superfast -file atlas-base1.png | 4.41 s |
Dump FTP Server is now available on the N900. It uses QT 4.6, which currently is only available in extras-devel, so beware.
A quick research revealed the following (source):Before a 32-bit process is created, the following attributes are checked to determine whether it is an installer:
The executable of course is not an installer of any kind and does not require any extra privileges. It just reads two files and creates a third one. Furthermore, it's a third-party application and I can't just change its file name without breaking things for everyone else. There seems to be some kind of white list of trusted applications, but nobody other than Microsoft can modify it.Audio buffer size is there to allow a balancing act between smooth sound playback (ie. big buffer) and low latency times (ie. small buffer). The original author clearly didn't understood this concept, as the buffer size here always was 256 bytes, which resulted in playback system that had all the minuses of the two approaches but no pluses.With one problem handled, the next one was just around the corner. The cracks and pops may not be easy to hear, but you'll for sure get a feeling that something's wrong. I even have a waveform plot with the gaps in audio data shown:
The solution of that problem was to remove some never-correct delay time calculations and use a mutex-like mechanism to handle internal SDL audio wait. With that done the sound is now flawless.
![]() | ![]() |
"Oh, display is not distorted, I can rotate the phone and play, how nice" he thinks. And most of the time he's correct. But when he has that new and shiny N95 this happens:
The phone has switched orientation to landscape, the application didn't follow. MAJOR FAIL! My SDL version correctly handles such situations: