richgel999 / jpeg-compressor

C++ JPEG compression/fuzzed low-RAM JPEG decompression codec with Public Domain or Apache 2.0 license
210 stars 57 forks source link

patch to reduce dynamic memory allocations: #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Here is a patch to reduce dynamic memory allocations:
http://pastebin.com/hvDpcKn4

It is described here:
http://altdevblogaday.org/2011/04/06/a-smaller-jpg-encoder/

Not very well tested, but it might be useful.

Original issue reported on code.google.com by erwin.coumans on 6 Apr 2011 at 7:23

GoogleCodeExporter commented 9 years ago
Sweet - I'll check this out and merge your changes into the next release 
(hopefully this weekend unless something at work comes up).

Thanks a lot,
Rich

Original comment by richge...@gmail.com on 7 Apr 2011 at 7:58

GoogleCodeExporter commented 9 years ago

Original comment by richge...@gmail.com on 19 Apr 2011 at 7:08