flat assembler
Message board for the users of flat assembler.
Index
> Main > deflate in fasm? |
Author |
|
adnimo 30 Dec 2008, 09:21
did anyone code a deflate routine in fasm or ported from another language?
thanks |
|||
30 Dec 2008, 09:21 |
|
revolution 30 Dec 2008, 09:46
I did a long time ago.
|
|||
30 Dec 2008, 09:46 |
|
bitshifter 30 Dec 2008, 20:17
Do you mean to deflate a RECT?
|
|||
30 Dec 2008, 20:17 |
|
adnimo 30 Dec 2008, 21:26
the deflate algorithm used for PNG decoding, etc.
|
|||
30 Dec 2008, 21:26 |
|
DOS386 30 Dec 2008, 22:48
> anyone code a deflate routine in fasm
MENUetOS guys maybe ? > I did a long time ago. And where do we find it ? |
|||
30 Dec 2008, 22:48 |
|
DOS386 30 Dec 2008, 22:56
Deflate is dying ... LZMA is coming ... recently ported from C++++ to plain C , no FASM yet
|
|||
30 Dec 2008, 22:56 |
|
revolution 31 Dec 2008, 01:47
adnimo wrote: the deflate algorithm used for PNG decoding, etc. LMZA is pretty much the same as deflate, it mostly just extends the distances and lengths of things. Last edited by revolution on 31 Dec 2008, 10:10; edited 1 time in total |
|||
31 Dec 2008, 01:47 |
|
bitRAKE 31 Dec 2008, 02:57
Checkout PNGLib by MadWizard:
http://www.madwizard.org/programming/projects/pnglib ...it's MASM syntax. Might want to search on... http://www.asmcommunity.net/board/index.php?topic=4750.0 ...for the development threads. |
|||
31 Dec 2008, 02:57 |
|
adnimo 31 Dec 2008, 04:17
I think it's deflate actually, at least for PNGs. What makes the difference is the filtering algorithm, one of the easiest ones is called the Paeth predictor.
|
|||
31 Dec 2008, 04:17 |
|
revolution 31 Dec 2008, 04:25
Deflate is the compressor, inflate is the expander. If you want to decode PNG files (for display) then you use inflate. If you want to encode PNG files (to store on disk) then you use deflate.
|
|||
31 Dec 2008, 04:25 |
|
adnimo 31 Dec 2008, 06:57
Right. I do want to png-encode my game screenshots. And I do want to load png assets as well. But this algorithms are useful for other things as well.
|
|||
31 Dec 2008, 06:57 |
|
baldr 31 Dec 2008, 07:05
revolution wrote: LMZA is pretty much the same as LZW, it mostly just extends the distances and lengths of things. _________________ "Don't belong. Never join. Think for yourself. Peace." – Victor Stone. |
|||
31 Dec 2008, 07:05 |
|
revolution 31 Dec 2008, 08:56
Sorry, just LZ, or is it LZ77? I tend to get them mixed up.
Okay, I checked with my website, they are LZ77 derivatives. LZW is a LZ78 derivative. Ah, so confusing. |
|||
31 Dec 2008, 08:56 |
|
DOS386 01 Jan 2009, 12:51
> LMZA is pretty much the same as deflate, it mostly just extends the distances and lengths of things.
Right. Not as LZ, not LZ77, not LZ78, not LZW84. And LZMA is more smart in searching and uses Range instead of Huffman. > Checkout PNGLib by MadWizard COOL. The syntax isn't that ideal, heh, but at least there are binaries included. |
|||
01 Jan 2009, 12:51 |
|
Vasilev Vjacheslav 12 Jan 2009, 05:55
DOS386 wrote: Deflate is dying ... LZMA is coming ... recently ported from C++++ to plain C , no FASM yet can you provide link to plain c version? thanks _________________ [not enough memory] |
|||
12 Jan 2009, 05:55 |
|
DOS386 12 Jan 2009, 08:36
Vasilev Vjacheslav wrote: you provide link to plain c version? thanks Just get Igor's latest LZMA SDK _________________ Bug Nr.: 12345 Title: Hello World program compiles to 100 KB !!! Status: Closed: NOT a Bug |
|||
12 Jan 2009, 08:36 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.