diff options
author | Jerry Jiang <jerryjiang1128@gmail.com> | 2017-02-01 23:23:04 -0800 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-02-08 13:59:53 +0000 |
commit | 884506dfe2e29a5b2bd2905ca4f17e277e32acb1 (patch) | |
tree | efac020fcd29af2670ddbf40faff5edb5ddf718e /libavcodec/mjpegenc_common.h | |
parent | 2d453188c2303da641dafb048dc1806790526dfd (diff) | |
download | ffmpeg-884506dfe2e29a5b2bd2905ca4f17e277e32acb1.tar.gz |
Implement optimal huffman encoding for (M)JPEG.
> seems to break
> make fate-vsynth1-mjpeg-444
Fixed.
Diffstat (limited to 'libavcodec/mjpegenc_common.h')
-rw-r--r-- | libavcodec/mjpegenc_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mjpegenc_common.h b/libavcodec/mjpegenc_common.h index 6e51ca04f8..7d760f8a32 100644 --- a/libavcodec/mjpegenc_common.h +++ b/libavcodec/mjpegenc_common.h @@ -40,4 +40,6 @@ void ff_mjpeg_init_hvsample(AVCodecContext *avctx, int hsample[4], int vsample[4 void ff_mjpeg_encode_dc(PutBitContext *pb, int val, uint8_t *huff_size, uint16_t *huff_code); +av_cold void init_uni_ac_vlc(const uint8_t huff_size_ac[256], uint8_t *uni_ac_vlc_len); + #endif /* AVCODEC_MJPEGENC_COMMON_H */ |