gstreamer/ext/jpeg
Stefan Kost a9f5bbe1ff jpeg: don't directly access message, some message have args
This caused bogus messages, such as reported in bug #607471.
2010-02-02 17:23:49 +02:00
..
gstjpeg.c jpeg: code cleanups for encoder 2009-07-21 10:04:36 +03:00
gstjpegdec.c jpeg: don't directly access message, some message have args 2010-02-02 17:23:49 +02:00
gstjpegdec.h jpegdec: only allocate as much temporary memory as needed for indirect decoding 2009-11-09 15:18:58 +00:00
gstjpegenc.c Revert "v4l2src: don't deref NULL" 2010-01-25 17:21:13 +02:00
gstjpegenc.h jpegenc: enlarge buffer if libjpeg tells us it's out of space. Fixes buffer 2010-01-21 17:26:23 -08:00
gstsmokedec.c
gstsmokedec.h
gstsmokeenc.c
gstsmokeenc.h
Makefile.am
README
smokecodec.c smokeenc: don't crash when compiled against libjpeg7 2009-08-17 17:08:45 +01:00
smokecodec.h
smokeformat.h

The Smoke Codec
---------------

This is a very simple compression algorithm I was toying with when doing a
Java based player. Decoding a JPEG in Java has acceptable speed so this codec
tries to exploit that feature. The algorithm first compares the last and the 
new image and finds all 16x16 blocks that have a squared difference bigger than
a configurable threshold. Then all these blocks are compressed into an NxM JPEG.
The quality of the JPEG is inversely proportional to the number of blocks, this
way, the picture quality degrades with heavy motion scenes but the bitrate stays
more or less constant.
Decoding decompresses the JPEG and then updates the old picture with the new
blocks.


TODO:
----
- make format extensible
- motion vectors
- do some real bitrate control