Implement optimal huffman encoding for (M)JPEG.
authorJerry Jiang <jerryjiang1128@gmail.com>
Thu, 2 Feb 2017 07:23:04 +0000 (23:23 -0800)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Wed, 8 Feb 2017 13:59:53 +0000 (13:59 +0000)
commit884506dfe2e29a5b2bd2905ca4f17e277e32acb1
treeefac020fcd29af2670ddbf40faff5edb5ddf718e
parent2d453188c2303da641dafb048dc1806790526dfd
Implement optimal huffman encoding for (M)JPEG.

> seems to break
> make fate-vsynth1-mjpeg-444

Fixed.
23 files changed:
Changelog
doc/encoders.texi
libavcodec/Makefile
libavcodec/mjpegenc.c
libavcodec/mjpegenc.h
libavcodec/mjpegenc_common.c
libavcodec/mjpegenc_common.h
libavcodec/mjpegenc_huffman.c [new file with mode: 0644]
libavcodec/mjpegenc_huffman.h [new file with mode: 0644]
libavcodec/mpegvideo.h
libavcodec/mpegvideo_enc.c
libavcodec/tests/.gitignore
libavcodec/tests/mjpegenc_huffman.c [new file with mode: 0644]
tests/fate/libavcodec.mak
tests/fate/vcodec.mak
tests/ref/vsynth/vsynth1-mjpeg-huffman [new file with mode: 0644]
tests/ref/vsynth/vsynth1-mjpeg-trell-huffman [new file with mode: 0644]
tests/ref/vsynth/vsynth2-mjpeg-huffman [new file with mode: 0644]
tests/ref/vsynth/vsynth2-mjpeg-trell-huffman [new file with mode: 0644]
tests/ref/vsynth/vsynth3-mjpeg-huffman [new file with mode: 0644]
tests/ref/vsynth/vsynth3-mjpeg-trell-huffman [new file with mode: 0644]
tests/ref/vsynth/vsynth_lena-mjpeg-huffman [new file with mode: 0644]
tests/ref/vsynth/vsynth_lena-mjpeg-trell-huffman [new file with mode: 0644]