diff options
author | Martin Vignali <martin.vignali@gmail.com> | 2018-01-14 14:23:05 +0100 |
---|---|---|
committer | Martin Vignali <martin.vignali@gmail.com> | 2018-01-28 20:23:11 +0100 |
commit | 8f9c38b19629838066def1207703cfcdc19fcbc9 (patch) | |
tree | 014bb7a09a155e2227e35c2a20ade7b566ec054a /libavcodec/lossless_videoencdsp.h | |
parent | 3a230ce5fa10b21312236b362df9eeddd99e7ac2 (diff) | |
download | ffmpeg-8f9c38b19629838066def1207703cfcdc19fcbc9.tar.gz |
avcodec/utvideoenc : add SIMD (avx) for sub_left_prediction
asm code by Henrik Gramner
Diffstat (limited to 'libavcodec/lossless_videoencdsp.h')
-rw-r--r-- | libavcodec/lossless_videoencdsp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/lossless_videoencdsp.h b/libavcodec/lossless_videoencdsp.h index 3d645b159a..faa6c32551 100644 --- a/libavcodec/lossless_videoencdsp.h +++ b/libavcodec/lossless_videoencdsp.h @@ -21,6 +21,8 @@ #include <stdint.h> +#include "avcodec.h" + typedef struct LLVidEncDSPContext { void (*diff_bytes)(uint8_t *dst /* align 16 */, const uint8_t *src1 /* align 16 */, @@ -33,6 +35,9 @@ typedef struct LLVidEncDSPContext { void (*sub_median_pred)(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, intptr_t w, int *left, int *left_top); + + void (*sub_left_predict)(uint8_t *dst, uint8_t *src, + ptrdiff_t stride, ptrdiff_t width, int height); } LLVidEncDSPContext; void ff_llvidencdsp_init(LLVidEncDSPContext *c); |