• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Makefile.amH A D19-Apr-2019547 1812

Makefile.inH A D03-May-202233.7 KiB991893

READMEH A D19-Apr-2019780 2117

gstjpeg.cH A D19-Apr-20192.2 KiB8251

gstjpeg.hH A D19-Apr-20191 KiB368

gstjpegdec.cH A D02-Dec-201947.3 KiB1,5701,205

gstjpegdec.hH A D02-Dec-20193 KiB11158

gstjpegenc.cH A D19-Apr-201919.7 KiB660478

gstjpegenc.hH A D19-Apr-20192.7 KiB10461

meson.buildH A D19-Apr-2019536 2118

README

1The Smoke Codec
2---------------
3
4This is a very simple compression algorithm I was toying with when doing a
5Java based player. Decoding a JPEG in Java has acceptable speed so this codec
6tries to exploit that feature. The algorithm first compares the last and the
7new image and finds all 16x16 blocks that have a squared difference bigger than
8a configurable threshold. Then all these blocks are compressed into an NxM JPEG.
9The quality of the JPEG is inversely proportional to the number of blocks, this
10way, the picture quality degrades with heavy motion scenes but the bitrate stays
11more or less constant.
12Decoding decompresses the JPEG and then updates the old picture with the new
13blocks.
14
15
16TODO:
17----
18- make format extensible
19- motion vectors
20- do some real bitrate control
21