diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-08-09 17:47:34 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-08-26 21:13:38 +0200 |
commit | 389cc142fb00c23ac1a8d2ba95a9db5d8be473cd (patch) | |
tree | 52bcdee8e98d51e4e240d883a806fcc8df32f761 /libavcodec/cfhd.h | |
parent | b9ea493afe8576efe3de60f8c6723f9f155de0d8 (diff) | |
download | ffmpeg-389cc142fb00c23ac1a8d2ba95a9db5d8be473cd.tar.gz |
avcodec/cfhd: add x86 SIMD
Overall speed changes for 1920x1080, yuv422p10le, 60fps from: 0.19x to 0.343x
Diffstat (limited to 'libavcodec/cfhd.h')
-rw-r--r-- | libavcodec/cfhd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/cfhd.h b/libavcodec/cfhd.h index dc329b724b..fdc6f1e546 100644 --- a/libavcodec/cfhd.h +++ b/libavcodec/cfhd.h @@ -29,6 +29,7 @@ #include "bytestream.h" #include "get_bits.h" #include "vlc.h" +#include "cfhddsp.h" enum CFHDParam { SampleType = 1, @@ -178,6 +179,8 @@ typedef struct CFHDContext { uint8_t prescale_table[8]; Plane plane[4]; Peak peak; + + CFHDDSPContext dsp; } CFHDContext; int ff_cfhd_init_vlcs(CFHDContext *s); |