diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-12-23 15:41:51 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2017-04-15 15:37:18 +0200 |
commit | 9227bd8ac2f22cfad2ee5bc3122d407196a0ba15 (patch) | |
tree | 94187ca75ab58dc9d5db1edfc7f3cffa1fa3597b /libavcodec/utvideo.h | |
parent | 4f33d9d41a03981adff0a9a95ef034fd14625e95 (diff) | |
download | ffmpeg-streaming-9227bd8ac2f22cfad2ee5bc3122d407196a0ba15.zip ffmpeg-streaming-9227bd8ac2f22cfad2ee5bc3122d407196a0ba15.tar.gz |
utvideodec: Reuse the huffyuv add_left
~10% faster when simd is available.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/utvideo.h')
-rw-r--r-- | libavcodec/utvideo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/utvideo.h b/libavcodec/utvideo.h index bc83a28..2fa2b7c 100644 --- a/libavcodec/utvideo.h +++ b/libavcodec/utvideo.h @@ -30,6 +30,7 @@ #include "libavutil/common.h" #include "avcodec.h" #include "bswapdsp.h" +#include "huffyuvdsp.h" #include "huffyuvencdsp.h" enum { @@ -68,6 +69,7 @@ typedef struct UtvideoContext { const AVClass *class; AVCodecContext *avctx; BswapDSPContext bdsp; + HuffYUVDSPContext hdspdec; HuffYUVEncDSPContext hdsp; uint32_t frame_info_size, flags, frame_info; |