diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-12-23 15:41:51 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-12-23 17:44:01 +0100 |
commit | ea93052db3594f93f2d10be085a770184da0513d (patch) | |
tree | 6128b1b696d84e4cd78f260b34ecbe4a32e372f8 /libavcodec/utvideoenc.c | |
parent | 373f21a91126d052cd310d675f43f548a407649e (diff) | |
download | ffmpeg-ea93052db3594f93f2d10be085a770184da0513d.tar.gz |
avcodec/utvideodec: add SIMD support for median prediction for planar formats
~10% faster overall.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/utvideoenc.c')
-rw-r--r-- | libavcodec/utvideoenc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/utvideoenc.c b/libavcodec/utvideoenc.c index 6082943764..fd27a15fd8 100644 --- a/libavcodec/utvideoenc.c +++ b/libavcodec/utvideoenc.c @@ -293,6 +293,9 @@ static void left_predict(uint8_t *src, uint8_t *dst, int stride, } } +#undef A +#undef B + /* Write data to a plane with median prediction */ static void median_predict(UtvideoContext *c, uint8_t *src, uint8_t *dst, int stride, int width, int height) |